Mateusz Lubecki
eaee4cf588
internal watchdog enabled once again, fixed quality factor for modbus-rtu himidity sensors, average voltage margin for cutoff condition
2023-11-01 23:10:51 +01:00
Mateusz Lubecki
d22917b322
simplified state machine for aggressive powersaving in WX + GSM mode, inhibiting powersave state machine when GSM module may be busy on sending weather packet
2023-10-31 13:33:32 +01:00
Mateusz Lubecki
2cd9c2f597
do not try to do anything with gprs module before usart will be reinitialized after micro had woken up
2023-10-30 22:28:24 +01:00
Mateusz Lubecki
28b65cc9f7
aprsis telemetry: battery voltage fix, serial port driver: disable TX interrupts while there is an interrupt in TX_IDLE state, powersaving: few changes and deinitializing GSM uart before go to deep sleep
2023-10-30 20:02:45 +01:00
Mateusz Lubecki
6648c8cc54
daily
2023-10-29 10:36:17 +01:00
Mateusz Lubecki
86818e8991
aprsis: sending gsm status to aprs-is server, powersave: different handling of cutoff event using both average and current measurements, powersave: sampling battery voltage every 10 seconds instead of 1 minute
2023-10-29 06:36:35 +01:00
Mateusz Lubecki
973fbd46e6
refactoring rtc backup registers set/get/reset to separate code module
2023-10-22 21:20:06 +02:00
Mateusz Lubecki
11deee654a
aprsis: another watchdog to reset controller if connection cannot be established for very long time
2023-10-16 11:58:47 +02:00
Mateusz Lubecki
c219a6b7d6
reduced frequency of modbus rtu status messages on error
2023-10-11 18:28:37 +02:00
Mateusz Lubecki
cf5f6687aa
powersave rework around handling an exit from STOP2 sleep
2023-10-09 22:22:18 +02:00
Mateusz Lubecki
b650142c6f
reworking L6/L7 powersave modes with STOP2 sleep completely to engage iwdg
2023-10-08 21:43:35 +02:00
Mateusz Lubecki
c6600400b4
aprs-is igate: adding missing newline after data to be sent to server, inhibiting some status messags while in aggresive powersave, sligtly different reinitialization after waking up
2023-07-23 00:06:46 +02:00
Mateusz Lubecki
7ece13496d
- KISS DID: distinguish size_byte value for integer and float types
...
- KISS DID: returning did value as first two bytes, before size_byte
- KISS diagnostics: bugfix in NRC service identifier
- APRS-IS comm: better way to close tcp connection in case of connecting failure
- functions to send status via radio channel moved to separate files and refactored.
2023-07-22 10:27:49 +02:00
Mateusz Lubecki
b4cd12017c
- KISS DID: distinguish size_byte value for integer and float types
...
- KISS DID: returning did value as first two bytes, before size_byte
- KISS diagnostics: bugfix in NRC service identifier
- APRS-IS comm: better way to close tcp connection in case of connecting failure
- functions to send status via radio channel moved to separate files.
2023-07-22 10:08:19 +02:00
Mateusz Lubecki
da3dd53302
switchin vbatt_m on and off
2023-06-02 22:40:03 +02: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
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
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
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
c9cc5b6109
reseting pool timers in main.c
2022-05-11 18:26:13 +02:00
Mateusz Lubecki
dbd509048e
configuration moved to separate directory
2022-04-24 19:32:38 +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
193ff66962
new libraries for aes and json
2022-04-10 21:47:42 +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
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
fc9f1bd4f5
daily
2022-04-04 17:18:02 +02:00
Mateusz Lubecki
1cc9012867
cutoff on too low battery voltage
2022-03-27 07:45:24 +02:00
Mateusz Lubecki
327e6c3861
gpio configuration changed to comply with ParaMETEO hardware revision c
2022-03-26 17:57:36 +01:00
Mateusz Lubecki
c266446420
removed sections for configuration data from ParaMETEO linker script, temporary workaround for ParaMETEO hw rev b power management
2022-01-13 10:34:31 +01:00
Mateusz Lubecki
2968089133
less restricted _POWERSAVE_NORMAL in wx only
2022-01-12 18:37:10 +01:00
Mateusz Lubecki
c619539500
bugfix in digi initialization
2022-01-09 20:55:31 +01:00
Mateusz Lubecki
5639618ddb
bugfixes: wind direction > 180 degrees and spikes on windspeed
2021-09-28 21:34:04 +02:00
Mateusz Lubecki
499cd18c2a
reinitializing analogue anemometer each wakeup event
2021-09-24 15:03:19 +02:00
Mateusz Lubecki
f1a661ff3f
error bigger/bigger-equals within powersaving handler
2021-09-23 00:32:03 +02:00
Mateusz Lubecki
a34cbc961e
few improvements in powersaving
2021-09-22 23:48:19 +02:00
Mateusz Lubecki
275f1a02f1
bugfixes in DAC configuration
2021-09-13 11:41:44 +02:00
Mateusz Lubecki
48c15a1b16
daily with power saving works
2021-09-12 17:16:16 +02:00
Mateusz Lubecki
ae49c447fa
some changes around and related to power saving
2021-09-11 21:04:08 +02:00
Mateusz Lubecki
0c367465de
a lot of work on powersaving
2021-09-10 22:38:13 +02:00
Mateusz Lubecki
4b40720947
powersaving features
2021-09-01 23:12:24 +02:00
Mateusz Lubecki
d12b2c4dae
first working prototype of freezing micro in STOP2
2021-08-23 21:20:38 +02:00
Mateusz Lubecki
13de42e7e0
power save function but not yet working
2021-08-22 20:30:22 +02:00