Commit Graph

452 Commits

Author SHA1 Message Date
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
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
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
4973568546 GPS fixes & code sanitization 2019-07-28 23:51:24 +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
cyberman54
3058973f66 payload.h: bugfix defines from paxcounter.conf 2019-07-27 15:29:08 +02:00
cyberman54
1f9e93cf39 Increased GPS altitude resolution, further fixes 2019-07-27 13:35:12 +02:00
cyberman54
8fdd83edf9 ota.h: code sanitization 2019-07-27 13:30:24 +02:00
Verkehrsrot
dc540e15b3 BOSCH BSEC update to v1.4.7.4 2019-07-26 12:11:23 +02:00
Verkehrsrot
b7b41968ab if482 correction factor fixed 2019-07-24 20:51:17 +02:00
Verkehrsrot
d35f1d97cd timesync i2c lock fixing 2019-07-24 12:37:02 +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
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
6b70ea2748 globals.h: tightened i2c mutex timing 2019-07-16 22:04:23 +02:00
Verkehrsrot
7ba8b8f985 Revert "Packet traffic indicator"
This reverts commit 0e3f7af0ce.
2019-07-15 19:11:01 +02:00
Verkehrsrot
0e3f7af0ce Packet traffic indicator 2019-07-15 00:14:33 +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
49e7b22ad3 ledmatrixdisplay.h: bugfix 2019-05-09 22:12:32 +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
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
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
4824e2c096 timekeeper.h #if syntax error corrected 2019-04-14 22:47: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
ae0ffe2273 upgrade BOSCH BSEC 1.4.7.1 to 1.4.7.3 2019-04-13 15:06:56 +02:00
Verkehrsrot
332ac66517 time sync fixup time 2019-04-07 16:57:52 +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
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
084cf50792 New feature display pages added (issue #278) 2019-04-01 18:01:52 +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
b5395661fc fix issue #332 2019-03-31 15:32:22 +02: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
afd39ae2a5 globals.h: changed MUTEX syntax 2019-03-24 19:49:29 +01:00
Verkehrsrot
f653118d40 if482.h: fixup added 2019-03-24 16:18:45 +01:00
Verkehrsrot
e18f9fdcae rcttime.cpp: mutex param added 2019-03-24 16:17:36 +01:00
Verkehrsrot
c0abe0652e timesync params moved to paxcounter.conf 2019-03-24 16:16:58 +01:00
Verkehrsrot
c84063aa6d irqhandler.cpp: mask/unmask added 2019-03-24 16:15:29 +01:00
Verkehrsrot
6604d3f694 secondary LED added 2019-03-24 01:05:13 +01:00
Verkehrsrot
cad13b72a1 timesync fixes 2019-03-24 00:15:04 +01:00
Verkehrsrot
54c6536349 interrupt timing issues (not fully solved yet) 2019-03-23 15:12:11 +01:00
Verkehrsrot
8de3182d55 timesync.h: comments 2019-03-19 20:56:44 +01:00
Verkehrsrot
ffaa13283b time accuracy improvement 2019-03-19 01:46:20 +01:00
Verkehrsrot
5cb875bcfc timesync TIME_SYNC_FIXUP 2019-03-17 22:00:42 +01:00
Verkehrsrot
2d93f323b4 configmanager bitmask display 2019-03-17 22:00:02 +01:00
Verkehrsrot
2a55e9a8c6 timesync fixes (using ostime_t now) 2019-03-17 19:24:50 +01:00
Verkehrsrot
cb65d0ed6b configmanager: bitwise display of payloadmask 2019-03-17 19:22:58 +01:00
Verkehrsrot
c2b28a54cb timesync fixes 2019-03-17 15:04:11 +01:00
Verkehrsrot
af4cf1d09f timesync improvements 2019-03-16 21:01:43 +01:00
Verkehrsrot
a88ea16e3a timesync fixes 2019-03-15 22:48:09 +01:00
Verkehrsrot
7f90d255b2 timeserver fixes 2019-03-14 19:52:10 +01:00
Verkehrsrot
fe0ef13b1f timesync fixes 2019-03-14 00:05:19 +01:00
Verkehrsrot
8f79011366 fix display after merge of pr #313 2019-03-13 22:08:05 +01:00
Verkehrsrot
4f9651c401 merge ifdef refactoring (pr #313) 2019-03-13 21:47:05 +01:00
Verkehrsrot
bfa28d4139 BME280 integration (PR #309) 2019-03-13 21:15:28 +01:00
Verkehrsrot
3cc38abaea
Merge branch 'development' into bme280 2019-03-13 20:23:14 +01:00
Verkehrsrot
cc13a38e56 LoRa timesync (first working version) 2019-03-12 23:54:58 +01:00
Verkehrsrot
edb2c822c8 timeserver (experimental) 2019-03-12 23:50:02 +01:00
Oliver Brandmueller
4a7525efcb replace #ifdef with #if to streamline feature setting 2019-03-11 18:09:01 +01:00
Oliver Brandmueller
8c58fa04a7 Update vendor list (issue #150) 2019-03-11 10:16:33 +01:00
Verkehrsrot
bd8718f23f timeserver (experimental) 2019-03-11 01:05:41 +01:00
Verkehrsrot
c13934be99 timeserver(experimental) 2019-03-10 17:35:57 +01:00
Verkehrsrot
f9f5f499ff timeserver(experimental) 2019-03-09 22:08:57 +01:00
Verkehrsrot
7ab0d8fcd6 timesync(experimental) 2019-03-09 20:40:21 +01:00
Verkehrsrot
c64f087faa timesync (experimental) 2019-03-09 15:25:44 +01:00
Verkehrsrot
1051d841b6 timeserver (experimental) 2019-03-09 00:53:11 +01:00
Gregor Wolf
91cc9dba0c Support for BME280 2019-03-08 18:13:51 +01:00
cyberman54
85f629b662 servertimesync (experimental) 2019-03-08 16:10:22 +01:00
Verkehrsrot
9fcf374de0 v1.7.36 (issue #250) 2019-03-07 21:30:09 +01:00
Verkehrsrot
9b3d2309d8 includes 2019-03-07 00:01:51 +01:00
Verkehrsrot
79d931bf50 DBtimesync (experimental) 2019-03-06 23:21:46 +01:00
Verkehrsrot
6a6e584234 get_gpstime optimization 2019-03-03 17:06:36 +01:00
Verkehrsrot
51917b79d3 timer irqs refactored 2019-03-03 12:57:00 +01:00
cyberman54
b516cbbbce changed hardware timers to soft timers with task notify 2019-03-03 00:30:57 +01:00
Klaus K Wilting
d2530ba91a timekeeper changes (experimental) 2019-03-02 13:32:02 +01:00
Klaus K Wilting
7e4a360bb7 timekeeper fixes (still experimental) 2019-02-27 00:52:27 +01:00
Klaus K Wilting
5c191a269f timekeeper once again reworked and shortened 2019-02-25 20:22:03 +01:00
Klaus K Wilting
5fb4c7bec2 timekeeper use syncprovider by Time.h 2019-02-25 00:26:46 +01:00
Klaus K Wilting
6ab4a0bd9f timekeeper fixes 2019-02-24 23:13:15 +01:00
Klaus K Wilting
c20ef02ce8 timekeeper fixes 2019-02-24 15:08:41 +01:00
Klaus K Wilting
171207af22 timekeeper code sanitizations 2019-02-24 13:47:18 +01:00
Klaus K Wilting
7dd82eb5ee Cayenne LPP2 protocol enhancements 2019-02-24 13:35:22 +01:00
Klaus K Wilting
98797c0fe1 timemanager reworked 2019-02-24 01:44:55 +01:00
Klaus K Wilting
feda8dd938 timemanager fixes 2019-02-23 23:39:45 +01:00
Klaus K Wilting
60467ca195 timesource display 2019-02-23 21:51:24 +01:00
Klaus K Wilting
f08a649086 DCF77 code sanitization 2019-02-23 20:28:11 +01:00
Klaus K Wilting
590e4d91f8 DCF77 fixes 2019-02-23 18:31:47 +01:00
Klaus K Wilting
011bf0463e DCF77 code performance improvement 2019-02-23 18:12:43 +01:00
Klaus K Wilting
8c93f44c84 timemanager fixes #2 2019-02-22 23:17:28 +01:00
Klaus K Wilting
0c1c95d868 timemanager fixes 2019-02-22 22:28:35 +01:00
Klaus K Wilting
3d26f737be timemanager added (v1.7.32) 2019-02-21 23:17:01 +01:00
Klaus K Wilting
1b42afafd7 clock time handling improvements 2019-02-17 22:12:14 +01:00
Klaus K Wilting
05a3f3b2a8 v1.7.31 (clockcontroller deeply reworked) 2019-02-17 19:21:08 +01:00
Klaus K Wilting
c8978a0745 refactored clock controller code 2019-02-16 15:02:07 +01:00
Klaus K Wilting
91889a2af8 v1.7.24 2019-02-15 14:08:27 +01:00
Klaus K Wilting
1ac176075a clock time handling modifications (still experimental) 2019-02-14 23:01:20 +01:00
Klaus K Wilting
1393e47052 GPS Timepulse handling by semaphore 2019-02-12 23:57:36 +01:00
Klaus K Wilting
035b7abe26 IF482 precision improvement 2019-02-11 23:37:45 +01:00
Klaus K Wilting
87378738d2 IF482 bugfix (i2c lock during rtc setup) 2019-02-10 16:43:24 +01:00
Klaus K Wilting
bac9540d52 code sanitizations 2019-02-09 15:46:44 +01:00
Klaus K Wilting
46f41d0ee8 time code sanitizations 2019-02-09 14:21:09 +01:00
Klaus K Wilting
fde157dd0d preparations for changing gps library 2019-02-09 13:02:38 +01:00
Klaus K Wilting
bfc8f13cc7 Revert "Revert "DCF77 + IF482 code sanitizations""
This reverts commit 5fcfdd91e5.
2019-02-08 22:19:44 +01:00
Klaus K Wilting
5fcfdd91e5 Revert "DCF77 + IF482 code sanitizations"
This reverts commit 160b282c3a.
2019-02-08 21:48:56 +01:00
Klaus K Wilting
160b282c3a DCF77 + IF482 code sanitizations 2019-02-08 10:38:53 +01:00
Klaus K Wilting
bad5805810 DCF77 & IF482 improvements 2019-02-07 23:05:26 +01:00
Klaus K Wilting
e1b6d9a04c DCF77 optimizations 2019-02-07 20:39:32 +01:00
Klaus K Wilting
3c913095a2 DCF77 fixes 2019-02-05 23:50:05 +01:00
Klaus K Wilting
17cd82da68 v1.7..152: DCF77 fixes (experimental) 2019-02-04 20:02:30 +01:00
Klaus K Wilting
39e2df7a05 added DCF77 function (experimental, not fully working yet) 2019-02-03 21:19:08 +01:00
Klaus K Wilting
06a1775779 added priority control for lora and spi sendqueue 2019-02-03 14:12:21 +01:00
Klaus K Wilting
cd08335634 free up hw timer #1 (for future DCF77 use) 2019-02-02 21:35:40 +01:00
Klaus K Wilting
e7a416cd7a bugfixes i2c bus access 2019-02-02 10:35:20 +01:00
Klaus K Wilting
ab5cd0b0a2 bugfixing in time handling 2019-02-02 09:15:31 +01:00
Klaus K Wilting
8c0ad6f849 another bugfixes in realtime handling 2019-01-29 22:54:16 +01:00
Verkehrsrot
cbdf181a10
Merge pull request #258 from cyberman54/master
sync dev with master
2019-01-29 00:02:21 +01:00
Klaus K Wilting
bdcace14b9 sanitized time handling code 2019-01-28 23:59:52 +01:00
Klaus K Wilting
954687fe61 fixed timezone compile error (issue #256) 2019-01-28 11:46:18 +01:00
Verkehrsrot
696e46ce20
Merge branch 'development' into master 2019-01-28 00:46:49 +01:00
Klaus K Wilting
4341158fa3 added timezone support 2019-01-28 00:38:31 +01:00
Klaus K Wilting
7c68f7632a v1.7.14 (new feature IF482 time telegram complete) 2019-01-27 18:19:25 +01:00
Klaus K Wilting
f4c29f3137 gpstimesync() deleted; paxcounter.conf: Timesync enabled 2019-01-26 23:45:11 +01:00
Klaus K Wilting
8382037bf7 globals.h: bugfix i2c mutex control 2019-01-26 13:11:44 +01:00
Klaus K Wilting
79a963b34f i2c mutex control sanitized 2019-01-26 12:32:17 +01:00
Klaus K Wilting
44b821f2a5 added IF482 time telegram generator (experimental) 2019-01-25 22:49:26 +01:00
Klaus K Wilting
8d3d4fe812 update ttgobeam.h; sanitize globals.h 2019-01-25 20:28:55 +01:00
Klaus K Wilting
32187d7a2b bugfix negative values altitude gps 2019-01-23 22:47:58 +01:00
Klaus K Wilting
0377b45d12 bugfix negative values altitude gps 2019-01-23 22:24:20 +01:00
Klaus K Wilting
feb8b11115 bugfix negative geo coordinate values 2019-01-23 22:15:25 +01:00
Klaus K Wilting
a563f3ba4a bugfix negative geo coordinate values 2019-01-23 22:14:14 +01:00
Klaus K Wilting
5bc2ffab09 Code for RTC time sync added 2019-01-21 16:16:39 +01:00
Klaus K Wilting
0cbe2b7b67 create IF482 support files (yet to come) 2019-01-20 22:39:26 +01:00
Klaus K Wilting
79303d6b7a rtc support (experimental) 2019-01-20 22:38:53 +01:00
Klaus K Wilting
80866adecf fix bluetooth includes (issue #249) 2019-01-20 15:53:31 +01:00
Klaus K Wilting
bde7fb2bcf added RTC timesync during startup 2019-01-20 13:17:44 +01:00
Oliver Brandmueller
7bdff00161 Undo merge 2019-01-19 19:54:54 +01:00
Klaus K Wilting
abfc368c09 small sanitize of rtc.h 2019-01-19 19:01:48 +01:00
Klaus K Wilting
a3414c5622 Feature RTC support added (experimental) 2019-01-19 17:53:21 +01:00
Klaus K Wilting
8788e33916 globals.h: fixed wrong include Mallocator.h 2019-01-14 14:59:44 +01:00
Klaus K Wilting
0fd36b0051 BME680 state load/save bugfixes 2019-01-01 21:23:45 +01:00
Klaus K Wilting
bdae511c06 globals.h: BSEC path changed 2018-12-31 16:42:09 +01:00
Klaus K Wilting
998e122f3a BME680 bugfixes 2018-12-31 15:46:52 +01:00
Klaus K Wilting
f26b7a545c bsecstate load/save implemented; bugfix packed_decoder.js 2018-12-31 11:26:05 +01:00
Klaus K Wilting
76600a86b1 first fully functional integration (experimental) 2018-12-27 17:09:40 +01:00
Klaus K Wilting
eb5dac2dea new bsec tree 2018-12-26 23:21:28 +01:00
Klaus K Wilting
5009ec0563 initial 2018-12-26 23:01:54 +01:00
Klaus K Wilting
3140ab9214 v1.7.01 (PSRAM support, timesync off) 2018-12-22 14:37:47 +01:00
Klaus K Wilting
9574a194fd v1.6.996 2018-12-21 00:35:21 +01:00
Klaus K Wilting
e733dba9f4 v1.6.991 2018-12-09 13:48:03 +01:00
Klaus K Wilting
47579414ac code sanitization 2018-12-02 14:29:32 +01:00
Klaus K Wilting
decb8b7181 change default to bluetooth disabled 2018-12-02 14:08:50 +01:00
Klaus K Wilting
207eb6bb98 add feature send battery voltage data 2018-11-27 11:21:20 +01:00
Klaus K Wilting
556790082c lorawan.cpp: migrated to LMIC MCCI v2.3.0 2018-11-26 22:49:45 +01:00
Klaus K Wilting
4da2260852 BME280 payload corrections 2018-11-25 23:39:12 +01:00
Klaus K Wilting
f024361c19 BSEC configuration 2018-11-25 20:56:14 +01:00
Klaus K Wilting
e2c975178a payload converter fixes 2018-11-25 19:16:31 +01:00
Klaus K Wilting
75fb08e72c v1.6.85 2018-11-25 16:35:36 +01:00
Klaus K Wilting
b85dc829a5 Bosch BSEC integration completed 2018-11-25 16:05:30 +01:00
Klaus K Wilting
222dfb5a95 BSEC integration (experimental) 2018-11-25 11:48:03 +01:00
Klaus K Wilting
8f201e066f BOSCH BSEC integration 2018-11-22 23:37:53 +01:00
Klaus K Wilting
e9cdeea2fb lorawan.h: timelib.h 2018-11-21 11:54:37 +01:00
Klaus K Wilting
12ad60a0a8 sensor init 2018-11-20 16:48:35 +01:00
Klaus K Wilting
1a24689652 rcommand 0x13 user sensor on/off 2018-11-20 15:44:33 +01:00
Klaus K Wilting
467f6d70f8 created: usersensor, bme680 bsec, update arduino-esp32 core 2018-11-20 15:02:37 +01:00
Klaus K Wilting
26082740af payloadmask 2018-11-19 00:41:15 +01:00
Klaus K Wilting
8ba97afa83 BME680: removed altitude (makes no sence without calibration on node) 2018-11-18 16:04:40 +01:00
Klaus K Wilting
06dcad6484 payload decoder reworked for BME680 support 2018-11-18 15:50:57 +01:00
Klaus K Wilting
02b3f1e2d4 bugfix cayenne encoding 2018-11-18 12:09:18 +01:00
Klaus K Wilting
2e51071d87 bugfix payload port 2018-11-17 22:49:14 +01:00
Klaus K Wilting
ddd5764a8b BME 680 support: payload converters addes 2018-11-17 21:39:49 +01:00
Klaus K Wilting
2b96f6e0bf BME680 support (experimental) 2018-11-17 18:30:19 +01:00
Klaus K Wilting
9c66167303 BME680 support (experimental) 2018-11-14 23:10:59 +01:00
Klaus K Wilting
4ae4633a15 BME680 support (experimental); LoRa Time sync (experimental) 2018-11-14 22:11:23 +01:00
Klaus K Wilting
8ae5b6e970 ota.cpp: improved software version comparision function 2018-11-05 21:27:28 +01:00
Klaus K Wilting
af0f3a78fd OTA improved (LED flashing, faster buffer closing at end of write) 2018-11-05 15:28:26 +01:00
Klaus K Wilting
9fa2f974c3 OTA timeout problem fixed by workaround 2018-11-05 13:13:31 +01:00
Klaus K Wilting
3d93a44c96 further ota code sanitization (delete update.cpp/.h) 2018-11-04 20:30:03 +01:00
Klaus K Wilting
3aa8a88d3a ota.cpp restructured; .h file sanitization 2018-11-04 19:25:11 +01:00
Klaus K Wilting
8373f9107b spislave.h corrected 2018-11-03 20:49:45 +01:00
Klaus K Wilting
8e3805a63b SPI slave integration (experimental) 2018-11-03 20:44:54 +01:00
Klaus K Wilting
0cc98a2e24 SPI slave integration 2018-11-03 20:29:02 +01:00
Christian Ambach
a3750ef01b add SPI slave support
Set up SPI slave transactions for entries in the SPI send queue.
Add a header to each SPI datagram that includes a CRC16,
the type and the size of the message that follows.

Does not act on received bytes (yet).

Signed-off-by: Christian Ambach <christian.ambach@deutschebahn.com>
2018-11-02 17:10:59 +01:00
Christian Ambach
4cab5113ca Revert "SPI code added (experimental)"
This reverts commit 16759c4dd5.
2018-11-02 12:09:12 +01:00
Klaus K Wilting
16759c4dd5 SPI code added (experimental) 2018-10-27 13:51:59 +02:00
Klaus K Wilting
b4cbf8bdd9 LED control improved 2018-10-24 18:07:41 +02:00
Klaus K Wilting
f670bc1f63 project migrated to arduino LMIC 1.6 MCCI 2018-10-21 19:00:20 +02:00
Klaus K Wilting
7b666b2737 eboxtube.h added; renamed GPS_QUECTEL_L76 to GPS_I2C 2018-10-20 09:58:53 +02:00
Klaus K Wilting
6d1d358a56 call LMIC_shutdown before ESP.restart 2018-10-17 07:10:37 +02:00
Klaus K Wilting
a7c1d12eb2 Code Sanitization 2018-10-14 13:26:23 +02:00