Wykres commitów

355 Commity (master)

Autor SHA1 Wiadomość Data
Mateusz Lubecki 83526ea506 - Move push button handling to seaparate *.c and *.h files
- Store SIM card and gsm network registration status in dedicated enums
- Power cycle and reset GPRS modem if there is SIM card failure or its not able to register to network
- Put aprsis connect function in a one second pooler
- Optionally power cycle and reset GPRS modem if there is a timeout while TCP connection to APRS-IS is established.
2023-06-10 17:51:41 +02:00
Mateusz Lubecki 6b9f965466 bugfix: wrong sizeof argument leading to damaging modbus rtu config 2023-06-02 22:40:03 +02:00
Mateusz Lubecki da3dd53302 switchin vbatt_m on and off 2023-06-02 22:40:03 +02:00
Mateusz Lubecki 7498ba2538 make master time volatile 2023-04-14 21:45:00 +02:00
Mateusz Lubecki 6a4d8343b3 curent version of configuration for sr9wxz 2023-04-11 21:28:05 +02:00
Mateusz Lubecki e69802292d timeout while waiting for channel to free 2023-04-10 21:12:21 +02:00
Mateusz Lubecki 3c44e7e0d1 conditional compilation of nvm logger using platform depends defines, loading battery scaling from configuration 2023-04-09 19:30:09 +02:00
Mateusz Lubecki a943af0210 bugfix of ms5611 pressure measurements bouncing up and down 2023-02-14 19:00:24 +01:00
Mateusz Lubecki c42bd1c015 iwdg watchdog 2023-02-03 18:59:20 +01:00
Mateusz Lubecki 0ed92d0b86 cycle vbat r only when radio is not transmitting 2023-02-03 16:45:27 +01:00
Mateusz Lubecki 3e4ed6d01b power cycling vbat_r if engineering2 is enabled 2023-02-02 21:50:42 +01:00
Mateusz Lubecki 67d08ffdce vbat_r power cycle daily 2023-02-01 16:05:18 +01:00
Mateusz Lubecki a733712e1e patch to make STM32F100 work again 2022-11-20 07:17:32 +01:00
Mateusz Lubecki f6e4314978 commented test code 2022-11-10 18:30:17 +01:00
Mateusz Lubecki acddab74e3 nvm: measurement storage 2022-11-10 18:16:56 +01:00
Mateusz Lubecki 88fd2987cb bugfix: transient glitch with turning vbat_c on during startup 2022-11-06 12:50:10 +01:00
Mateusz Lubecki 937e26b922 sending rtc state and battery voltage in bootup beacon 2022-11-06 06:35:58 +01:00
Mateusz Lubecki 8c71e6b464 race condition in RTC clock selection fixerd 2022-11-05 19:41:14 +01:00
Mateusz Lubecki 2a80d13df2 vbat measurement: disabling adc after taking measure 2022-11-05 17:54:50 +01:00
Mateusz Lubecki 4c5c124436 integer average 2022-11-02 20:48:41 +01:00
Mateusz Lubecki eebaf4f407 nvm draft 2022-11-01 21:22:21 +01:00
Mateusz Lubecki 5b1173106a temperature measurement handling refactored (probably) 2022-10-22 17:31:51 +02:00
Mateusz Lubecki be29dcb740 daily 2022-10-21 23:06:07 +02:00
Mateusz Lubecki a1ede74749 temperature handling refactoring 2022-10-20 09:06:54 +02:00
Mateusz Lubecki faaffd78d9 max31865 pooling and state machine. warning! it seems that JTAG hangs up after few seconds of debugging 2022-10-03 22:51:04 +02:00
Mateusz Lubecki f094422d92 max31865 pooling - not finished, some tweaks and comments for spi driver 2022-10-03 21:43:08 +02:00
Mateusz Lubecki 37c76aeb1d spi seems to work 2022-10-02 14:48:45 +02:00
Mateusz Lubecki 9c5632ffe5 spi daily 2022-09-26 19:38:57 +02:00
Mateusz Lubecki a6d8a57683 daily 2022-09-25 17:12:42 +02:00
Mateusz Lubecki 13cabee707 spi daily 2022-09-25 08:19:37 +02:00
Mateusz Lubecki c09d51d90f api: mac calculation 2022-09-20 20:58:11 +02:00
Mateusz Lubecki fe74e93c88 config data: engineering to disable some stuff in the application 2022-09-19 19:00:11 +02:00
Mateusz Lubecki 827c797554 daily 2022-09-18 20:44:41 +02:00
Mateusz Lubecki 5dae491c2b dust sensor: first working sketch 2022-09-18 06:59:53 +02:00
Mateusz Lubecki bd8b738ff8 dust sensor sketch 2022-09-17 07:50:35 +02:00
Mateusz Lubecki f9df2f7cf0 kiss communication: fixed flashing startup 2022-09-13 22:49:24 +02:00
Mateusz Lubecki 2592930cc6 kiss communication: call to erase startup callback 2022-09-12 20:26:29 +02:00
Mateusz Lubecki d7bd382b93 kiss protocol: erasing and downloading startup config 2022-09-08 22:43:30 +02:00
Mateusz Lubecki abb329d798 kiss protocol, retuning version and protocol version 2022-09-04 17:23:56 +02:00
Mateusz Lubecki b951503f47 fixed restoring default configuation on parameteo 2022-08-29 22:22:23 +02:00
Mateusz Lubecki 2c100b3eeb crc32 calculation replaced with software library 2022-08-28 18:34:48 +02:00
Mateusz Lubecki e00ceede9a before replacing hardware and odd CRC32 with software one 2022-08-28 17:12:53 +02:00
Mateusz Lubecki 17fdef6b1a bufix in offsetting current config 2022-08-26 21:50:58 +02:00
Mateusz Lubecki 27e89cf2cd sending data from optional KISS ack 2022-08-25 22:01:25 +02:00
Mateusz Lubecki cecb88ba2e kiss get running config command length 2022-08-24 17:16:52 +02:00
Mateusz Lubecki 641db9ce1e bufix stm32f100: do not read a content of DR register in IDLE state handler within irq handler, callback and pooling callback for KISS_GET_RUNNING_CONFIG 2022-08-21 16:56:45 +02:00
Mateusz Lubecki 9b6f8013ac fix with erasing flash memory in STM32F100 target 2022-08-20 15:05:47 +02:00
Mateusz Lubecki 9048419ffb daily with kiss commnication 2022-08-18 22:15:25 +02:00
Mateusz Lubecki 5537f5d246 sketch of kiss diagnostics communication 2022-08-16 22:09:31 +02:00
Mateusz Lubecki ba12a656fa configuration NvMem area properly handled for STM32L4xx target 2022-08-15 22:41:51 +02:00
Mateusz Lubecki d6733f2662 reworked configuration handler for STM32L476 target 2022-08-14 13:33:00 +02:00
Mateusz Lubecki 7002cd6f60 gsm and api configuration moved to station_config. protection not to enable API and APRS-IS at once 2022-08-03 22:43:08 +02:00
Mateusz Lubecki 4161c3674b daily 2022-07-16 15:01:10 +02:00
Mateusz Lubecki db219b7c79 apn configuration for orange subscription plan 2022-07-15 21:17:42 +02:00
Mateusz Lubecki 6484c8ce8f hitfixing in ABAKUS 2022-07-07 15:37:09 +02:00
Mateusz Lubecki 16d70c7028 virgin mobile apn config 2022-07-07 13:47:57 +02:00
Mateusz Lubecki 3605f4f4c7 switching to i5 mode instead of sleepin in l6 and l7 of RTC isn't working 2022-07-02 08:18:44 +02:00
Mateusz Lubecki 8d0dd57116 timeout during RTC initialization amd low vbatt cutoff patch 2022-06-24 19:01:32 +02:00
Mateusz Lubecki f27d139069 things which should be moved to an external configuration file 2022-06-10 16:46:07 +02:00
Mateusz Lubecki 00e4adbbdd added M4a powersave mode which allows to keep gsm modem enabled in normal powersave modes, added missing api fields 2022-06-09 18:16:10 +02:00
Mateusz Lubecki ee69308488 pm results moved to separate rte variables and added to api content 2022-06-09 15:00:26 +02:00
Mateusz Lubecki a85d016c3b storing temperature readings for all sensors enabled. bugix? or workaround? of pwm input code 2022-06-08 18:58:26 +02:00
Mateusz Lubecki 3f296d9bbd fixed TE control pin for rs495 transveriver 2022-06-07 16:22:17 +02:00
Mateusz Lubecki 2ba15cc5ee daily 2022-05-31 13:31:39 +02:00
Mateusz Lubecki 75a2711ea4 return type for sim800 gsm module driver. api client now accepts ports greater 9999 2022-05-25 21:56:35 +02:00
Mateusz Lubecki dbf464eb21 sim800, tcp, new way of disconnecting 2022-05-14 21:49:48 +02:00
Mateusz Lubecki c9cc5b6109 reseting pool timers in main.c 2022-05-11 18:26:13 +02:00
Mateusz Lubecki 47564c69f2 daily, a lot of reworking. tcp disconnecto doesn't work 2022-05-09 22:46:50 +02:00
Mateusz Lubecki 85296d51ad gsm tcpip close function bugfix, comments and hashdefines cleaned 2022-05-08 13:48:10 +02:00
Mateusz Lubecki 4f301c6bc8 api, aprsis: send data to both systems. fixed indexer configuration 2022-05-08 08:58:07 +02:00
Mateusz Lubecki d0a3f8bf2c weather sensor pooling fixed 2022-05-07 16:17:55 +02:00
Mateusz Lubecki 206538f34c gsm module power button control 2022-05-06 14:53:21 +02:00
Mateusz Lubecki 1bf375b618 more fields in api requests. api configuration moved to structure 2022-05-02 23:07:08 +02:00
Mateusz Lubecki a4b1486f9c http client rx callback fix for empty response body 2022-04-30 23:03:06 +02:00
Mateusz Lubecki a284074f74 both api added 2022-04-30 15:23:24 +02:00
Mateusz Lubecki 6eded06c6c Merge: Pwm inputs (#8) 2022-04-30 14:05:14 +02:00
Mateusz Lubecki b5d0a25ffc daily 2022-04-30 13:58:23 +02:00
Mateusz Lubecki ef312e6af5 api client 2022-04-29 16:29:37 +02:00
Mateusz Lubecki dbd509048e configuration moved to separate directory 2022-04-24 19:32:38 +02:00
Mateusz Lubecki 6a7e6b82a2 switchng pwr_save_pooling to use average battery voltage instead of momentary 2022-04-22 20:43:28 +02:00
Mateusz Lubecki dcd064ad74 configuration files reorganized 2022-04-20 22:53:10 +02:00
SP8EBC 4896c6255e
Merge: Fixing wakeup deadlock during cutoff (#7)
* averaging measred battery voltage

* bugfix in average battery voltage, using average vbatt only in telemetry

* sending status message on any change of cutoff state

* bugfix with DCD deadlock after wakeup

* some random debugging with deadlock

* more debugging

* bugfix in measuring Vbatt voltage, vbatt averager separated from getter

* some comments
2022-04-20 22:30:29 +02:00
Mateusz Lubecki 9a3358f1c2 pwm input 2022-04-19 19:56:53 +02:00
Mateusz Lubecki 0c481f7d42 http client post method 2022-04-17 18:08:55 +02:00
Mateusz Lubecki ae1fd396bf post test 2022-04-16 21:55:46 +02:00
Mateusz Lubecki 193ff66962 new libraries for aes and json 2022-04-10 21:47:42 +02:00
Mateusz Lubecki fef5a97245 missing headers for http request 2022-04-10 19:55:11 +02:00
Mateusz Lubecki da68fd3c4b bugfix in powersaving, wrong handling voltage between cutoff and low level, sending battery voltage with startup beacon 2022-04-09 16:48:11 +02:00
Mateusz Lubecki 16f147810e bugfix in serial port driver regarding switching between internal and external tx buffer 2022-04-07 20:56:35 +02:00
Mateusz Lubecki 129b286e49 bugfix in low voltage cutoff, switching powersave mode on low battery voltage, eight bit in telemetry to send low battery warning 2022-04-06 20:33:12 +02:00
Mateusz Lubecki 590d5795a2 bugfix in windsensor handling related to misusing power supply state 2022-04-05 21:21:28 +02:00
Mateusz Lubecki 4e634a4ad8 sending battery voltage in telemetry 2022-04-05 19:01:57 +02:00
Mateusz Lubecki fc9f1bd4f5 daily 2022-04-04 17:18:02 +02:00
Mateusz Lubecki 0dd67e45fb fix in +5V_C voltage switching in ParaMETEO 2022-04-03 17:59:00 +02:00
Mateusz Lubecki 1cc9012867 cutoff on too low battery voltage 2022-03-27 07:45:24 +02:00
Mateusz Lubecki 67b8c3fad5 vbatt measurement 2022-03-26 19:43:41 +01:00
Mateusz Lubecki 327e6c3861 gpio configuration changed to comply with ParaMETEO hardware revision c 2022-03-26 17:57:36 +01:00
Mateusz Lubecki 21db804d19 aprsis beacon and closing connection of failed login attempt 2022-03-06 19:34:02 +01:00
Mateusz Lubecki 1b25b294e6 aprs is weather packets 2022-03-06 15:24:10 +01:00
Mateusz Lubecki 56b4a15768 sim800 aprsis logging working, fixed serial reset in wrong place 2022-02-26 14:24:18 +01:00