Commit Graph

1182 Commits

Author SHA1 Message Date
Verkehrsrot
5b8cef880c v1.7.91 2019-08-11 21:12:27 +02:00
Marius Gripp
b00912277c send timestamp via uart for debugging 2019-08-09 14:02:10 +02:00
Marius Gripp
f475a634d5 changed now to nowTime dow to conflict with function name now(), settimeofday got incorrect timevalue 2019-08-09 13:33:03 +02:00
Marius Gripp
646d60e9c5 t_sec corrected by one seconds because time is only set ontop of a second 2019-08-09 13:33:03 +02:00
Marius Gripp
fdc971be04 send timediff with ms after time sync 2019-08-09 13:32:18 +02:00
Marius Gripp
26c1cb0aaa config for time sync via lora 2019-08-09 13:28:14 +02:00
Marius Gripp
5319f1c976 configure node-red for ttn app 2019-08-09 13:28:14 +02:00
Verkehrsrot
b2ef9249da timesync.cpp: comments updated 2019-08-06 11:37:58 +02:00
Verkehrsrot
64222bf8b3 timesync.cpp: fix +1 second bug 2019-08-05 11:20:23 +02:00
Verkehrsrot
be208ab539 GPS timing fine tuning 2019-08-04 23:18:04 +02:00
Verkehrsrot
c81502ac60 main.cpp: disable gps time init to avoid i2c error 2019-08-04 15:39:25 +02:00
Verkehrsrot
1efc9be6c3 GPS handling and timesync code refactored 2019-08-04 15:17:50 +02:00
Verkehrsrot
7284d7ce4d timekeeper.cpp: code sanitization 2019-08-03 18:06:06 +02:00
cyberman54
7fa9269d0b GPS msec handling added (experimental) 2019-08-03 14:01:25 +02:00
Verkehrsrot
139738a14d timesync code sanitized 2019-08-03 12:27:24 +02:00
Verkehrsrot
bf70f2f9f2 removed spi & lora houskeeping functions 2019-08-03 11:35:16 +02:00
Verkehrsrot
5dcb3b315e Moved LMiC to dedicated task with raised prio 2019-08-02 21:53:05 +02:00
Verkehrsrot
31cd613555 bugfix bmecycler 2019-07-31 22:20:18 +02:00
Verkehrsrot
85aa9655c6 BME task removed / do i2c masking via interrupt 2019-07-29 20:23:27 +02:00
Verkehrsrot
11cfa27c76 i2c locking for rtc & timesync streamlined 2019-07-29 14:43:37 +02:00
Verkehrsrot
3f3c58feeb gpsread.cpp: init gps_status 2019-07-29 11:00:14 +02:00
Verkehrsrot
cc9997c64b removed unused variable gps_pps_time 2019-07-29 10:29:44 +02:00
Verkehrsrot
57d0624fd0 removed GPS IRQ, since not really needed 2019-07-29 10:26:58 +02:00
Verkehrsrot
cb7b600168 gpsread.cpp: code sanitization 2019-07-29 00:24:37 +02:00
Verkehrsrot
4973568546 GPS fixes & code sanitization 2019-07-28 23:51:24 +02:00
cyberman54
e8521094b8 bmesensor.cpp: added comments with units 2019-07-28 19:17:46 +02:00
cyberman54
9ad6e62e84 packed_decoder.js: bugfix pressure divisor 2019-07-28 19:12:05 +02:00
Verkehrsrot
dcc7784456
Merge pull request #405 from TD-er/development
Fix/cleanup of packed decoder code
2019-07-28 18:43:07 +02:00
cyberman54
ad2234271f code sanitizations 2019-07-28 18:42:22 +02:00
Gijs Noorlander
a061e75a9e Add signed int decode types to packed decoder
RSSI is a negative value => signed int
Altitude is signed
hdop and ufloat values were ints divided by 100, so set resolution to 2 decimals.
Removed some code duplication by calling uint/int decode functions
2019-07-28 17:25:24 +02:00
Gijs Noorlander
19ee712e51 Remove increased altitude resolution from plain decoder 2019-07-28 17:22:04 +02:00
Gijs Noorlander
45b0bae945 Cleanup of packed payload encoder
- Cleanup of write*int functions
- Multiply pressure by 10 (decoder was already dividing by 10)
- Fix undefined behavior on intToBytes function.
2019-07-28 17:21:21 +02:00
Verkehrsrot
88db2cca2b bugfix decoder.js for gps altidude 2019-07-28 12:05:21 +02:00
cyberman54
9be1d36166 fixed TTN decoder for gps altitude 2019-07-27 15:23:17 +02:00
cyberman54
1f9e93cf39 Increased GPS altitude resolution, further fixes 2019-07-27 13:35:12 +02:00
cyberman54
a3f036c4d2 Increased GPS altitude resolution 2019-07-27 11:59:56 +02:00
cyberman54
7ab96b67bc display.cpp: reduced debug logging 2019-07-27 11:59:24 +02:00
Gijs Noorlander
2aafc839d5 Fix altitude in packed decoder to be signed (#403)
See #403
2019-07-27 02:35:39 +02:00
Verkehrsrot
419e4508d9 main.cpp: documentation updated 2019-07-26 11:41:45 +02:00
Verkehrsrot
229c1d114e v1.7.841 2019-07-25 23:25:33 +02:00
Verkehrsrot
da02e67c8f display.cpp: fix field width BME 2019-07-25 23:20:42 +02:00
Verkehrsrot
837988081e BME-Sensor / i2C mutex bugfix 2019-07-25 22:04:38 +02:00
Verkehrsrot
b7df5bce1a timesync.cpp: code sanitization and documentation 2019-07-24 20:09:36 +02:00
Verkehrsrot
43c06be8e8 improved code for time bytes evaluation 2019-07-24 13:52:24 +02:00
Verkehrsrot
d35f1d97cd timesync i2c lock fixing 2019-07-24 12:37:02 +02:00
Verkehrsrot
9c1a9e9f47 timesync.cpp: bugfix vtaskdelay 2019-07-23 21:33:27 +02:00
Verkehrsrot
ff2b02107a wifiscan.cpp: frame filter 2019-07-23 21:06:44 +02:00
Verkehrsrot
a6520b19ef lorawan.cpp typo fix 2019-07-23 21:03:11 +02:00
Verkehrsrot
4a2845a3f6 further fixes irq mask & i2c lock 2019-07-23 20:43:10 +02:00
Verkehrsrot
8869909720 further fixes in mutex lock & irq masking 2019-07-23 20:07:24 +02:00
Verkehrsrot
7d2d753252 bugfixing mutex lock 2019-07-23 17:53:20 +02:00
Verkehrsrot
31c0037cba bugfix IRQ masking 2019-07-23 12:57:05 +02:00
Verkehrsrot
1bc63bad94 bugfix IRQ masking 2019-07-23 11:47:38 +02:00
Verkehrsrot
bdbf2db409 code sanitzations 2019-07-22 22:00:39 +02:00
Verkehrsrot
79c20113a7 timesync.cpp: bugfix irq masking release (#392) 2019-07-22 11:25:05 +02:00
Verkehrsrot
0ce58cc8bf wifiscan.cpp: fixes 2019-07-22 00:04:26 +02:00
Verkehrsrot
3f90ce6642 macsniff.cpp: bugfix 2019-07-21 19:51:08 +02:00
Verkehrsrot
7057b59b0f code sanitizations 2019-07-21 19:21:11 +02:00
Verkehrsrot
bb7b8b90f8 macsniff.cpp: efficiency optimization 2019-07-21 19:20:02 +02:00
Verkehrsrot
363332a677 display.cpp: code sanitizations 2019-07-16 21:33:50 +02:00
Verkehrsrot
44cf2ece16 gpsread.cpp: nmea serial delay compensation fix 2019-07-16 21:21:15 +02:00
Verkehrsrot
1117dc5520 irqhandler.h: bugfix mask_user_IRQ mutex 2019-07-16 21:17:13 +02:00
Verkehrsrot
ddaf15d61f lorawan.cpp: bugfix prio_high queue handling 2019-07-16 21:00:55 +02:00
Verkehrsrot
5d569fd792 configmanager.cpp: defaults from paxcounter.conf 2019-07-16 14:49:14 +02:00
Verkehrsrot
7b260d100e update wemos32matrix.h 2019-07-15 22:54:59 +02:00
Verkehrsrot
72e36eb554 update wemos32matrix.h 2019-07-15 22:40:50 +02:00
Verkehrsrot
1a4dba3b46 bugfix ledmatrixdisplay (missing break page flip) 2019-07-15 22:19:06 +02:00
Verkehrsrot
7ba8b8f985 Revert "Packet traffic indicator"
This reverts commit 0e3f7af0ce.
2019-07-15 19:11:01 +02:00
Verkehrsrot
978df41691 wemos32matrix.h created 2019-07-15 14:11:14 +02:00
Verkehrsrot
59a147dc18 LED Matrix pin mappings moved to hal file 2019-07-15 14:03:50 +02:00
Verkehrsrot
0e3f7af0ce Packet traffic indicator 2019-07-15 00:14:33 +02:00
Verkehrsrot
912da7eace bugfix lora send queue size display 2019-07-14 16:52:18 +02:00
Verkehrsrot
6cc962ef20 wifiscan.cpp bugfix coex set 2019-07-13 18:27:56 +02:00
Verkehrsrot
6635ba991e Button logic changed 2019-07-13 18:21:13 +02:00
Verkehrsrot
fbe0cf3b2e bugfix no GPS time sync after cold start (#376) 2019-07-07 16:00:48 +02:00
Verkehrsrot
197e2d0e80 new hal file selection concept 2019-06-30 17:48:24 +02:00
Verkehrsrot
23999c3e2b LED matrix display improvements 2019-05-31 13:20:11 +02:00
Verkehrsrot
bac5bde28f LED matrix code sanitization 2019-05-30 13:00:24 +02:00
cyberman54
5f52120fc0 LED matrix feature 2019-05-27 23:29:26 +02:00
Verkehrsrot
d04a04adfa patches for new paths in platformio core 4.0.0a15 2019-05-25 16:32:57 +02:00
Verkehrsrot
93c576f1e2 Change string OUIFLT to FILTER 2019-05-25 15:31:20 +02:00
Verkehrsrot
ebc75e3bbe Lolin32 hal files update 2019-05-25 15:30:53 +02:00
michatrautweiler
5c9cf136f0
return decoded value in any case
Fix plain decoder for TTN: Decoded value was not returned except for last case.
2019-05-24 10:19:34 +02:00
cyberman54
fdd0faf7c1 ecopower.h: bugfix RTC power on 2019-05-19 17:11:29 +02:00
Verkehrsrot
3baf0c4ac4
Merge pull request #366 from cyberman54/master
update dev to master
2019-05-18 13:12:17 +02:00
cyberman54
ead2a0689f ttgofox.h bugfix 2019-05-18 13:10:22 +02:00
Verkehrsrot
19849c4eea v1.7.61 (LED matrix support) 2019-05-07 21:17:06 +02:00
Verkehrsrot
441863109f
Merge branch 'development' into master 2019-05-07 11:24:24 +02:00
Alex Goris
13f89a45e5 feat(wemos32oled): Added support for Wemos32 OLED board
This commit adds support for what I call the 'Wemos32 OLED' board.
It's a Wemos branded board, however it does not appear on Wemos'
website.
2019-05-06 14:04:46 +02:00
Alex Goris
0060b101df feat(LED Matrix Display): Added support for a LED Matrix display
This commit adds support for a specific LED Matrix display, which can be
used to show the number of found devices on a rather large display.
We (hackerspace Brixel) used this on the mini Maker Faire Gent 2019 to
show the number of found devices throughout the event
2019-05-05 23:43:18 +02:00
Verkehrsrot
45b51441ec button handling improvment 2019-05-03 20:24:42 +02:00
cyberman54
2b82223d3d bugfix timesync.cpp 2019-04-20 12:42:44 +02:00
cyberman54
313c75ac41 board files updated to platformio espressif 1.8.0 2019-04-20 12:42:33 +02:00
Verkehrsrot
0cdc03027c timesync.cpp 1sec delta correction 2019-04-16 21:36:12 +02:00
Verkehrsrot
e5ce70be75 GPS time fixes 2019-04-15 13:46:58 +02:00
Verkehrsrot
195661a520 GPS data handling refactored 2019-04-15 12:57:55 +02:00
Verkehrsrot
359b31e9e9 GPS IRQ added to increase gps time sync accuracy 2019-04-14 22:54:27 +02:00
Verkehrsrot
ba51d73d4e fix time sync pps start bug 2019-04-14 14:35:48 +02:00
Verkehrsrot
7211d1a4dd improved GPS time sync accuracy 2019-04-14 14:35:07 +02:00
Verkehrsrot
22286a9a13 repair broken battery measure function 2019-04-13 19:22:48 +02:00
Verkehrsrot
ef09c9d7a4 paxcounter.conf set WIFICOUNTER default 2019-04-13 19:07:29 +02:00
Verkehrsrot
38118cae6c new option WIFICOUNTER fixed 2019-04-13 18:44:25 +02:00
Verkehrsrot
77e795dbf8 Option to switch off wifi sniffing 2019-04-13 17:39:08 +02:00
Verkehrsrot
77e447d46d paxcounter.conf time sync defaults modified 2019-04-13 14:03:33 +02:00
Verkehrsrot
20a39ae6d6 timesync fixes 2019-04-13 13:59:30 +02:00
Verkehrsrot
9941a0de0a main.cpp modified clock controller start 2019-04-10 21:38:48 +02:00
Verkehrsrot
545de36c75 timekeeper.cpp code sanitizations 2019-04-10 21:38:17 +02:00
Verkehrsrot
5dfc32e82c randomize timesync seqNo 2019-04-10 21:37:19 +02:00
Verkehrsrot
f1c1b1c00a cyclic.cpp #if sanitization 2019-04-08 22:51:12 +02:00
Verkehrsrot
f7a3177981 main.cpp code sanitizations 2019-04-08 21:22:54 +02:00
Verkehrsrot
859080232f fixed IF482 timing bug when time was adjusted 2019-04-08 21:22:24 +02:00
Verkehrsrot
3c8830695b DCF77 pulse generator runtime optimized 2019-04-08 21:20:42 +02:00
Verkehrsrot
f337366fb3 timesync timings adjusted 2019-04-07 21:54:19 +02:00
Verkehrsrot
0f32911b2d update ttgov21old.h 2019-04-07 20:20:48 +02:00
Verkehrsrot
478502377a time sync defaults modified 2019-04-07 16:14:19 +02:00
Verkehrsrot
893a87b4a2 vTaskDelete code sanitization 2019-04-07 16:13:41 +02:00
Verkehrsrot
4f8d92ea7e timesync tasking restructured 2019-04-07 16:13:04 +02:00
Verkehrsrot
0b40d0df70 modified timesync after join logic 2019-04-07 14:06:47 +02:00
Verkehrsrot
3aa8e73b86 modified task timing 2019-04-07 12:27:38 +02:00
Verkehrsrot
11c2fb6fa2 TTN decoder updates 2019-04-06 21:10:33 +02:00
Verkehrsrot
261c643d7f fix BME280 no iaq value 2019-04-06 20:23:28 +02:00
Verkehrsrot
bf8ce227ff Nodered Timeserver bugfix 2019-04-06 19:58:45 +02:00
Verkehrsrot
964be4d1fd Timeserver logic port9 fix 2019-04-06 19:46:00 +02:00
Verkehrsrot
dd703a5bad code sanitzations 2019-04-06 18:11:28 +02:00
Verkehrsrot
dd661254b5 New 5-byte time sync protocol 2019-04-06 16:43:12 +02:00
Verkehrsrot
11f184e67a use TaskNotifyFrom ISR inside Ticker functions 2019-04-06 12:55:18 +02:00
Verkehrsrot
a1f095fe7e BME280/BME680 documentation details added 2019-04-06 11:36:07 +02:00
Verkehrsrot
209426a56a bugfix cyclic.cpp (no senddata before reset) 2019-04-05 11:08:33 +02:00
Verkehrsrot
439f3ec55f BME display page added 2019-04-02 22:45:16 +02:00
Verkehrsrot
41db662627 New display pages feature added 2019-04-01 18:34:57 +02:00
Verkehrsrot
084cf50792 New feature display pages added (issue #278) 2019-04-01 18:01:52 +02:00
Verkehrsrot
dd2ce7eef9 timesync.cpp: #if fix 2019-04-01 08:10:08 +02:00
Verkehrsrot
f9daf5a16f update packed_decoder.js (Port2 / rcommand 0x86) 2019-03-31 20:46:44 +02:00
Verkehrsrot
3376a7f57e time sync accuracy fixes 2019-03-31 19:13:06 +02:00
Verkehrsrot
6aba3c128b issue #331 2019-03-31 15:56:56 +02:00
Verkehrsrot
edfd8b1fac #if corrections timesync 2019-03-31 15:47:19 +02:00
Verkehrsrot
b5395661fc fix issue #332 2019-03-31 15:32:22 +02:00
Verkehrsrot
20c69789f0 timesync.cpp: bugfix esp32 hw timer 2019-03-28 22:53:21 +01:00
Verkehrsrot
abe339f355 packed_converter.js: bugfix port 2 time 2019-03-28 21:27:29 +01:00
Verkehrsrot
14d29e11f3 timesync.cpp fixes 2019-03-28 14:24:10 +01:00
Verkehrsrot
72f9b321f7 timesync.cpp: code sanitizations 2019-03-28 14:19:02 +01:00
Verkehrsrot
0640e4dfb1 timesync.cpp: bugfix vTaskDelay 2019-03-27 20:38:00 +01:00
Verkehrsrot
d4a3af987d timsync.cpp: field validation t_msec 2019-03-27 19:37:47 +01:00
Verkehrsrot
17a1ae2856 packed_decoder.js: added timesync port 2 2019-03-27 19:37:21 +01:00
Verkehrsrot
87d6d95726 MOBASERIAL added 2019-03-27 19:36:47 +01:00
Verkehrsrot
8c581ec32f sanitized time adjust code 2019-03-25 19:06:54 +01:00
Verkehrsrot
95b6947c73 changed port for rcommand 0x86 2019-03-25 08:36:56 +01:00
Verkehrsrot
8de76bcaf5 Timeserver: bugfix (no time 0xff was not sent) 2019-03-25 00:02:37 +01:00
Verkehrsrot
d4ddb4811f Timeserver: filter gateway with ms timestamp 2019-03-24 23:23:00 +01:00
Verkehrsrot
a7a49ee9a0 paxcounter.conf: added time sync retry setting 2019-03-24 22:02:19 +01:00