Commit Graph

1240 Commits

Author SHA1 Message Date
Verkehrsrot
ad9bd3e63e i2cscan fixes 2019-09-02 20:45:40 +02:00
Verkehrsrot
98a2edb8a7 AXP192 support fixes 2019-09-02 18:18:06 +02:00
Verkehrsrot
c653462f90 create hal/ttgobeam10.h 2019-09-02 18:17:37 +02:00
Marius Gripp
fc2997c9fd start timediffseq at -1, so first syncing can finish 2019-09-02 17:04:32 +02:00
Marius Gripp
592c9d6ede log sent timediff 2019-09-02 17:04:32 +02:00
Marius Gripp
004444dea3 correct logging level for error 2019-09-02 17:04:32 +02:00
Marius Gripp
2530bd4235 remove unneeded logging 2019-09-02 16:56:50 +02:00
Verkehrsrot
8b12b7aee2 axp192 support added 2019-09-02 16:53:39 +02:00
Verkehrsrot
a7f3dd5a59 fix i2c address for serial eeprom 2019-09-02 16:08:12 +02:00
Marius Gripp
a806c5e463 recognize ota trigger mac when sniffing for new macs in wifi environment 2019-09-02 15:12:22 +02:00
Marius Gripp
e92bcbd8b1 setup macsniff with ota trigger mac 2019-09-02 15:11:52 +02:00
Marius Gripp
2ec6966496 add OTA_TRIGGER_MAC to config 2019-09-02 15:11:01 +02:00
Verkehrsrot
9b925ee47b LMIC: use interrupts to improve timing accuracy 2019-09-01 22:50:24 +02:00
Verkehrsrot
b97361ca8c lorawan.cpp: MAC decoder (experimental) 2019-09-01 00:57:19 +02:00
Verkehrsrot
cc2cfd3c13 configmanager payloadmask default fixed 2019-09-01 00:56:42 +02:00
Verkehrsrot
6ec704d050 rcommand.cpp bugfix payloadmask invert 2019-09-01 00:17:13 +02:00
Verkehrsrot
0db8e37563 bugfix payloadmask 2019-09-01 00:11:20 +02:00
Verkehrsrot
ac2f67e98f rcommand code sanitization 2019-08-31 18:37:36 +02:00
Verkehrsrot
1d2c79133f MAC command decoder (experimental) 2019-08-31 18:36:49 +02:00
Verkehrsrot
80a24f10ab introduced LMIC user events 2019-08-31 15:19:49 +02:00
Verkehrsrot
6096c40000 lora_send stacksize increased 2019-08-30 18:59:45 +02:00
Verkehrsrot
93005efce8 timesync.cpp send alive after sync 2019-08-30 18:55:08 +02:00
Verkehrsrot
02326a1c7f lora_send code sanitization 2019-08-30 18:54:53 +02:00
Verkehrsrot
679582857a battery level on / off 2019-08-30 18:53:30 +02:00
Verkehrsrot
65045b3cad change startup order for init_display 2019-08-30 17:57:17 +02:00
Verkehrsrot
63ff668a96 LMIC message queuing refactored 2019-08-30 14:06:30 +02:00
Verkehrsrot
1cf12452ba lorawan.cpp code sanitizations 2019-08-29 20:23:22 +02:00
Marius Gripp
1e53a25d03 typo 2019-08-29 14:55:31 +02:00
Verkehrsrot
c97140d822 remove TX TIMESYNC event display 2019-08-29 10:15:11 +02:00
Verkehrsrot
258e830470 move lmic os sendjob to new lora_send task 2019-08-29 10:13:47 +02:00
Florian Ludwig
4d42c961b2 move timesync seq_no into message body from port 2019-08-29 10:32:55 +03:00
Verkehrsrot
78c8ed3e97 refactoring LMIC send queueing 2019-08-28 21:55:50 +02:00
Verkehrsrot
1c5edbb6a4 esp_wifi_start (needed for next ESP-IDF release) 2019-08-28 10:49:25 +02:00
Verkehrsrot
829ab0ea05 bugfix message queuing to LMIC while LMIC is busy 2019-08-28 10:48:39 +02:00
Marius Gripp
4a573bc638 send time via uart 2019-08-27 17:27:57 +02:00
Marius Gripp
cab44588c7 start uart timestamp send when time has been synced 2019-08-27 16:00:25 +02:00
Marius Gripp
6894d718e6 node-red config with use of ttn nodes 2019-08-27 15:40:33 +02:00
Verkehrsrot
bbca15a76e rcommand.cpp: set payload mask & set BME data 2019-08-25 17:18:29 +02:00
Verkehrsrot
43cf6b7fe5 ledmatrix.cpp small code sanitization 2019-08-19 21:48:11 +02:00
Verkehrsrot
012bf545c4 ledmatrix: bugfix scrolling 2019-08-18 22:16:35 +02:00
Verkehrsrot
526fc2900c ledmaxtrix: update hal files 2019-08-18 22:14:25 +02:00
Verkehrsrot
c865c8996c main.cpp: update comments 2019-08-18 22:14:00 +02:00
Verkehrsrot
a381f31244 timekeeper.cpp: setmytime return if no timesrc 2019-08-18 22:13:42 +02:00
Verkehrsrot
1de9a0bcd2 remove arduino loop task 2019-08-18 17:45:16 +02:00
Verkehrsrot
c0692c3879 gps initial time sync added 2019-08-18 17:44:42 +02:00
Verkehrsrot
ba08662323 update LED matrix size 2019-08-18 17:04:02 +02:00
Verkehrsrot
1d8969f645 ledmatrixdisplay.cpp code sanitizations 2019-08-18 16:58:29 +02:00
Verkehrsrot
381286331f LED matrix on/off added 2019-08-18 16:55:43 +02:00
Verkehrsrot
a4419ab6f0 LED matrix scroll function added 2019-08-18 16:47:28 +02:00
Verkehrsrot
77352b832e ledmatrix scale factor 2019-08-17 18:45:00 +02:00
Verkehrsrot
d332a17b28 added ledmatrix footfall line diagram 2019-08-17 18:30:45 +02:00
Verkehrsrot
267d04488b added tinypicomatrix.h 2019-08-15 12:02:03 +02:00
Verkehrsrot
c566b302d5 add tinyPICO board 2019-08-14 21:52:12 +02:00
Verkehrsrot
8717d5e3a7 changed lmic clock error procentage 2019-08-13 22:47:19 +02:00
Verkehrsrot
b926d908b2 timekeeper/timesync: fixed dependencies 2019-08-13 22:40:33 +02:00
Marius Gripp
730f35babf expect seqNo in payload and not in port 2019-08-13 13:16:56 +02:00
Marius Gripp
ce7d3ab292 node-red server reconfigured (new broker & seqNo in payload) 2019-08-13 13:16:28 +02:00
Marius Gripp
a1221ebad0 lost in merging process 2019-08-12 16:11:39 +02:00
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