Commit Graph

637 Commits

Author SHA1 Message Date
Klaus K Wilting
3aa8a88d3a ota.cpp restructured; .h file sanitization 2018-11-04 19:25:11 +01:00
Klaus K Wilting
5793b3c811 paxcounter.conf: reduced WIFI_MAX_TRY 2018-11-04 15:12:39 +01:00
Klaus K Wilting
5d5531e3af lorawan.cpp: bugfix logging 2018-11-04 14:55:30 +01:00
Klaus K Wilting
7ae82d1881 spislave.cpp: small fixes 2018-11-04 13:58:35 +01:00
Klaus K Wilting
577cdc9497 lolin32lite.h: LED pin corrected 2018-11-04 13:22:03 +01:00
Klaus K Wilting
e8afc10a93 lopy4.h sanitized 2018-11-04 12:25:50 +01:00
Klaus K Wilting
02b2bf2d4f spislave.cpp: processing of rx data added 2018-11-04 11:55:25 +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
bf3516bf45 fix the build for devices without LoRa
Signed-off-by: Christian Ambach <christian.ambach@deutschebahn.com>
2018-11-02 12:10:32 +01:00
Christian Ambach
4cab5113ca Revert "SPI code added (experimental)"
This reverts commit 16759c4dd5.
2018-11-02 12:09:12 +01:00
Christian Ambach
3af348fb65 Revert "SPI wire interface (experimental)"
This reverts commit 00b1faab83.
2018-11-02 12:09:06 +01:00
Klaus K Wilting
dbb91b1a40 heltecv2.h: pinout corrected 2018-11-02 08:39:45 +01:00
Klaus K Wilting
e8c5b1b478 payload.cpp: bugfix monitormode in config status 2018-10-31 19:49:01 +01:00
Klaus K Wilting
88c1dd4e0c rcommand.cpp: bugfix set_countmode() 2018-10-27 22:40:17 +02:00
Klaus K Wilting
00b1faab83 SPI wire interface (experimental) 2018-10-27 21:38:08 +02: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
efaba3775b main.cpp: added AU921 subband select 2018-10-23 08:56:34 +02:00
Klaus K Wilting
a1976368f8 lorawan.cpp: code sanitization 2018-10-22 19:42:27 +02:00
Klaus K Wilting
0cea410e37 lorawan.cpp: support added for switching SF worldwide 2018-10-22 19:38:26 +02:00
Klaus K Wilting
2be4721c68 added worlwide band support; modified join procedure 2018-10-22 14:06:47 +02:00
Klaus K Wilting
82eb2b5cff display.cpp: SF texts for worldwide bands added 2018-10-22 13:43:19 +02:00
Klaus K Wilting
15d410b750 hal file comments edited 2018-10-21 22:24:45 +02:00
Klaus K Wilting
dff56b5bef make SPI LORA pins configurable in hal-files 2018-10-21 22:16:29 +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
ebfc16219b LED color change 2018-10-16 08:48:09 +02:00
Klaus K Wilting
32a42dda2d fixed issue #160 2018-10-14 15:17:50 +02:00
Klaus K Wilting
a7c1d12eb2 Code Sanitization 2018-10-14 13:26:23 +02:00
Verkehrsrot
2cf6545c9c
Update ttgobeam.h 2018-10-14 09:54:37 +02:00
Klaus K Wilting
7b39044dc1 fix in GPS Sats display format 2018-10-06 22:45:35 +02:00
Klaus K Wilting
42172596e8 Merge branch 'master' of https://github.com/cyberman54/ESP32-Paxcounter 2018-10-06 21:37:33 +02:00
Klaus K Wilting
464db72198 heltecv2.h added; edits in lopy.h and lopy4.h 2018-10-06 21:37:27 +02:00
Fab-Lab.eu
c1bc56bdf9
Create octopus32.h
With this config you an run the paxcounter on a #IoT Octopus32 or an Adafruit ESP32 Feather
2018-10-06 20:55:17 +02:00
Klaus K Wilting
d587a8b874 code sanitization 2018-10-04 23:24:34 +02:00
Klaus K Wilting
a5797ad8c4 code sanitization 2018-10-04 23:00:47 +02:00
Klaus K Wilting
ae92bf377d code sanitization 2018-10-04 22:59:02 +02:00
Klaus K Wilting
30d22aa896 irq handling reworked (using tasknotify instead of semaphores) 2018-10-04 22:08:54 +02:00
Klaus K Wilting
6e47a60f32 code sanitization 2018-10-03 23:07:22 +02:00
Klaus K Wilting
219f2347da code sanitizations 2018-10-03 20:18:01 +02:00
Klaus K Wilting
1eceea2686 new lmic tasking 2018-10-03 16:24:45 +02:00
Klaus K Wilting
e5df1013b3 v1.5.18 (improved tasking, lmic has now core1 exclusive) 2018-10-03 00:25:05 +02:00
Klaus K Wilting
62d6d865b3 ota.cpp: text in display mask modified 2018-09-30 23:11:25 +02:00
Klaus K Wilting
15f7f2fd85 v1.5.13 2018-09-30 22:06:10 +02:00
Klaus K Wilting
16efbb0c90 edit ttgov21old.h 2018-09-30 19:39:58 +02:00
Klaus K Wilting
1c2fca392b edit lopy4.h 2018-09-30 18:02:05 +02:00
Klaus K Wilting
7858270d94 edit lopy.h 2018-09-30 17:50:45 +02:00
Klaus K Wilting
52e4dbca28 edit lopy4.h 2018-09-30 17:48:51 +02:00
Klaus K Wilting
240212afb9 edit HAL file ttgov21old.h 2018-09-30 16:49:31 +02:00
Klaus K Wilting
4b80667f03 edit HAL ttgo21old.h (removied display flip) 2018-09-30 16:20:19 +02:00
Klaus K Wilting
afc464d3f7 improved wifi sniffing (use all frames not only mgmt) 2018-09-30 15:54:17 +02:00
Klaus K Wilting
43b4946252 timing improvements (separate mutexes for IRQ; Loraloop higher prio) 2018-09-30 15:08:00 +02:00
Klaus K Wilting
bad2331a6b ota battery check disabled; v1.5.8 2018-09-30 11:54:45 +02:00
Klaus K Wilting
6ed5368098 edit HAL files lopy.h / lopy4.h 2018-09-29 19:26:24 +02:00
Klaus K Wilting
e18a78c360 edit hal/lopy4.h 2018-09-28 08:26:37 +02:00
Klaus K Wilting
a3f35a6eca modified DEVEUI Generator & added Lmic PR #197 2018-09-27 22:04:51 +02:00
Klaus K Wilting
8125662753 ota battery check modified 2018-09-27 21:13:18 +02:00
Klaus K Wilting
b22fd808b8 task stack sizes tailored; semaphore controlled wifi task 2018-09-27 15:13:15 +02:00
Klaus K Wilting
cb4870bce5 testing 2018-09-27 14:01:23 +02:00
Klaus K Wilting
5d883e12f6 improvements to LoPy/LoPy4 HAL files (button+LED) 2018-09-24 22:49:55 +02:00
Klaus K Wilting
c7445f0a1e make OTA selectable 2018-09-24 16:36:11 +02:00
Klaus K Wilting
8985ee3603 code sanitization (volatiles check) 2018-09-23 22:12:10 +02:00
Klaus K Wilting
d4d6a7ea07 battery check before ota 2018-09-23 18:45:46 +02:00
Klaus K Wilting
25d307e820 code sanitization 2018-09-23 18:07:40 +02:00
Klaus K Wilting
5323f82bee code sanitization 2018-09-23 16:45:54 +02:00
Klaus K Wilting
9dd7a6279d OTA.h -> ota.h 2018-09-23 15:21:56 +02:00
Klaus K Wilting
a411cac7fe ota.cpp: showing update progress 2018-09-23 15:07:00 +02:00
Klaus K Wilting
cf3ec23ef9 code sanitization (statemachine.cpp) 2018-09-22 21:26:11 +02:00
Klaus K Wilting
7a53b724cb ota.cpp: display dialog while updating 2018-09-22 19:39:31 +02:00
Klaus K Wilting
f1e3e8ffa1 update.h 2018-09-22 17:06:31 +02:00
Klaus K Wilting
2e38cda6ac ota update stabilized 2018-09-22 17:05:09 +02:00
Klaus K Wilting
8e2ace3adf main.cpp: moved LED control to loop() 2018-09-22 13:43:12 +02:00
Klaus K Wilting
e553dc70a2 comments in main.cpp 2018-09-22 12:25:03 +02:00
Klaus K Wilting
ff759e1533 restructured wifi channel rotation 2018-09-22 12:20:24 +02:00
Klaus K Wilting
5678a5b23c v1.5.0 2018-09-21 19:30:02 +02:00
Klaus K Wilting
5b9327512b tasking + statemachine restructured 2018-09-21 18:23:34 +02:00
Klaus K Wilting
67832da09d Timer bugfix (issue #145 #148) 2018-09-21 12:25:52 +02:00
Klaus K Wilting
ebc3aac991 gps-code restructured, i2c gps now working 2018-09-20 19:36:32 +02:00
Klaus K Wilting
bf30092f54 gps code bugfixed; new vendor filter data 2018-09-20 17:33:52 +02:00
Klaus K Wilting
a0377a315c gps.cpp, lorawan.cpp: i2c bugfixes (issue #156) 2018-09-20 13:23:22 +02:00
Klaus K Wilting
a0c15c1fa1 code sanitization (i2c pins renamed) 2018-09-20 12:53:58 +02:00
Klaus K Wilting
902eeb1414 lorawan.cpp: prepared bugfix for DEVEUI generator 2018-09-19 19:36:41 +02:00
Klaus K Wilting
0dc3f1cf4f lorawan.cpp: prepared bugfix in DEVEUI generator 2018-09-19 19:34:02 +02:00
Klaus K Wilting
adef8fc9ce ota.sample.conf 2018-09-19 13:54:51 +02:00
Klaus K Wilting
22aef4c925 sample_ota.conf 2018-09-19 13:54:14 +02:00
Klaus K Wilting
8d65c84d16 ota.conf 2018-09-19 13:52:14 +02:00
Verkehrsrot
8026d4426b
Rename ota.conf.txt to ota.conf 2018-09-19 13:49:21 +02:00
Verkehrsrot
421b5786e3
Add files via upload 2018-09-19 13:48:33 +02:00
Klaus K Wilting
8f36b313e3 ignore ota.conf 2018-09-19 13:33:48 +02:00
Klaus K Wilting
c33112c3b4 ota.cpp bugfix 2018-09-19 11:38:29 +02:00
Verkehrsrot
8b2e155576
Rename ota.sample.conf to ota.conf 2018-09-19 11:04:23 +02:00
Klaus K Wilting
7b6c2f1090 ota.cpp: bugfix 2018-09-19 01:35:20 +02:00
Klaus K Wilting
d80d1e24e9 ota.cpp: added a retry loop for write-to-flash 2018-09-18 22:58:02 +02:00
Verkehrsrot
14957bea96
Rename OTA.h to ota.h 2018-09-18 17:25:44 +02:00
Verkehrsrot
ce1b774d28
Rename OTA.cpp to ota.cpp 2018-09-18 17:25:18 +02:00
Klaus K Wilting
2201e48800 build.py, ota.conf, platformio.ini 2018-09-18 17:23:56 +02:00
Klaus K Wilting
6052588af0 TTN decoders updated 2018-09-17 22:03:03 +02:00