Commit Graph

473 Commits

Author SHA1 Message Date
Klaus K Wilting
62d28c54b6 charge current control added 2020-05-09 22:48:29 +02:00
Klaus K Wilting
cce3589858 i2c.h/.cpp: add IP5306 address 2020-05-01 12:23:46 +02:00
Klaus K Wilting
2624f7b35b M5 battery monitor improved (read IP5306 chip) 2020-04-19 19:51:23 +02:00
Klaus K Wilting
53be14d8a6 battery level code switched to callback 2020-04-14 10:57:30 +02:00
Klaus K Wilting
0531a3fda8 battery level processing fix 2020-04-14 09:57:02 +02:00
Klaus K Wilting
af02c2c661 battery level calculation fixes 2020-04-14 00:15:51 +02:00
Klaus K Wilting
c8a5896043 power.h sanitization 2020-04-13 23:47:59 +02:00
Klaus K Wilting
316517337a battery percentage calculation improved 2020-04-13 22:07:26 +02:00
Klaus K Wilting
1e8671984c battery level calculation fixes 2020-04-13 15:07:27 +02:00
Klaus K Wilting
60391792d1 battery level display fixes 2020-04-12 22:12:13 +02:00
Klaus K Wilting
4a1499b2bb battery percentage display fixes 2020-04-12 17:33:13 +02:00
Klaus K Wilting
bf2d32896f battery percentage display fixes 2020-04-11 23:36:17 +02:00
Klaus K Wilting
f4e8c67117 Battery percentage display 2020-04-11 21:30:09 +02:00
Klaus K Wilting
90a004ec79 prepare LMIC battlevel MAC request 2020-04-10 23:26:29 +02:00
Klaus K Wilting
bdcd05cb21 M5 display support fixes 2020-04-10 18:40:40 +02:00
Klaus K Wilting
4584a5a34b M5 display support (experimental) 2020-04-06 17:40:45 +02:00
Klaus K Wilting
59930870fd enhanced RGB LED control for M5fire 2020-04-06 11:53:55 +02:00
Klaus K Wilting
a56c534195 M5stack display support (experimental) 2020-04-05 23:01:39 +02:00
Klaus K Wilting
2f8301d36a M5 display support (experimental) 2020-03-29 23:05:42 +02:00
Klaus K Wilting
7fcf93a655 M5 TFT display initial commit (experimental) 2020-03-29 19:41:33 +02:00
Klaus K Wilting
a90889dce3 #include cleanup 2 2020-03-29 18:09:52 +02:00
Klaus K Wilting
87d93f6978 #include cleanup 2020-03-29 18:08:52 +02:00
Klaus K Wilting
4029d545a2 display support reworked, prepared for TFT/LCD 2020-03-29 12:10:42 +02:00
Julian Flake
e7d5df6f4b Fix i2c address for OLED on TTGOv1 (use 0x3C instead of 0x3D) 2020-03-17 22:37:18 +01:00
Verkehrsrot
ffa4c6d1c6
Merge pull request #570 from cyberman54/development
update branch sds011 to dev
2020-03-14 07:52:07 +01:00
Verkehrsrot
8392b8c308
Merge branch 'SDS011' into SDS011 2020-03-14 07:38:22 +01:00
August Quint
f33494b84f
Update payload.h 2020-03-13 15:35:42 +01:00
August Quint
8f7ba2943f
Update payload.h 2020-03-13 15:33:47 +01:00
August Quint
406f71eea5
Update payload.h 2020-03-13 15:23:22 +01:00
Klaus K Wilting
42ee21a2f7 timesync code sanitziations 2020-03-11 23:49:06 +01:00
Klaus K Wilting
1057a25fc4 gpsread code sanitizations 2020-03-11 23:47:33 +01:00
Klaus K Wilting
aa042f6968 update display lib 2020-03-11 23:47:16 +01:00
Klaus K Wilting
1da355b7b0 further fixes in timesync.cpp 2020-03-08 16:15:46 +01:00
Klaus K Wilting
795ca18f6a remove old functions from timekeeper.h 2020-03-08 16:14:37 +01:00
Klaus K Wilting
f5399d8108 timesync code refactored 2020-03-07 23:18:36 +01:00
Klaus K Wilting
1467d2145b timesync code refactoring 2020-03-07 19:41:08 +01:00
Klaus K Wilting
c79a36ef3b mac_decode code sanitized 2020-03-07 00:03:05 +01:00
Klaus K Wilting
73a612779b deeply reworked timesync code 2020-03-06 19:24:58 +01:00
Klaus K Wilting
2cf52f1af6 big timesync code sanitization 2020-03-04 21:54:26 +01:00
Klaus K Wilting
efd0cc3819 lorawan.cpp: code sanitizations 2020-03-03 16:52:29 +01:00
Klaus K Wilting
c17bfa02af reworked lora appserver timesync logic (part 2) 2020-03-03 16:38:29 +01:00
Klaus K Wilting
1516d71018 reworked lora appserver timesync logic (part 1) 2020-03-03 12:54:42 +01:00
August Quint
a2a53f7617
Update payload.h 2020-02-28 16:13:20 +01:00
August Quint
3382f5507a
Cayenne: added constant for PM-values 2020-02-28 16:04:22 +01:00
Klaus K Wilting
39f99043d6 SDS011 code sanitizations 2020-02-25 22:18:20 +01:00
Klaus K Wilting
417c3c7e69 Merge branch 'SDS011' of https://github.com/cyberman54/ESP32-Paxcounter into SDS011 2020-02-25 21:16:23 +01:00
Klaus K Wilting
2cb5325181 ESP32 platform update; show more Lora Params 2020-02-25 20:23:41 +01:00
Verkehrsrot
867c5477df sds011 code sanitizations 2020-02-05 22:13:30 +01:00
Verkehrsrot
bc198b722b
Merge pull request #544 from cyberman54/master
sync sds011 with master
2020-02-05 19:43:02 +01:00
August Quint
5aefaf2b2f
Update payload.h
copy+paste-error corrected
2020-02-05 15:54:06 +01:00
August Quint
acf42ef27b
Update sds011read.h 2020-02-03 15:24:49 +01:00
August Quint
1ec0f8f3f7
Update payload.h 2020-02-03 15:24:07 +01:00
August Quint
6eccb475e3
Update cyclic.h 2020-02-03 15:23:13 +01:00
August Quint
0bc7afe023
Update sdcard.h 2020-02-03 15:22:33 +01:00
Verkehrsrot
298ded12d4 externalized Bosch BSEC library 2020-01-28 21:49:24 +01:00
Verkehrsrot
2d04dc2bd2 spislave.h: bugfix missing TaskHandle declaration 2020-01-28 21:42:37 +01:00
Verkehrsrot
19f00bf09c
Merge pull request #535 from AugustQu/patch-8
initial
2020-01-22 19:11:58 +01:00
August Quint
7a465f7c75
added support for SDS011 2020-01-22 15:44:54 +01:00
August Quint
804cbfb879
added support for SDS011 2020-01-22 15:43:13 +01:00
August Quint
6fad4e2e79
initial 2020-01-21 14:57:36 +01:00
Verkehrsrot
f960627910 auto page flip mode 2020-01-20 11:41:31 +01:00
Verkehrsrot
e8abe8567b skip display pages with no content (issue #523) 2020-01-19 22:21:45 +01:00
Verkehrsrot
acabc8b7d6 gps fix detection enhanced 2020-01-03 09:59:10 +01:00
Verkehrsrot
4e1472caae
Merge pull request #513 from cyberman54/sdcard
add sdcard support to branch development
2019-12-28 17:16:31 +01:00
Verkehrsrot
04aa7e1d60 removed static at some functions 2019-12-25 23:21:31 +01:00
Verkehrsrot
86c3685f6c sdcard support (experimental) 2019-12-25 23:07:34 +01:00
Verkehrsrot
c65c32275e update ss_oled lib (experimental) 2019-12-21 15:18:42 +01:00
Verkehrsrot
12f00a9203
Merge pull request #506 from cyberman54/master
sync dev to master
2019-12-21 14:29:04 +01:00
Verkehrsrot
97b02d34b9 i2c functions moved from power.cpp to i2c.cpp 2019-12-21 14:27:33 +01:00
Cristiano José Sulzbach
e08bf4d64a Added support for Bosch BMP180 sensor 2019-12-08 09:58:12 -02:00
Verkehrsrot
39c68d7d7f new feature: rcmd 0x17 wifi sniffer on/off 2019-11-11 12:28:31 +01:00
Verkehrsrot
ba6fa5ee98 compile error user_request_network_time_callback 2019-10-24 19:14:56 +02:00
Verkehrsrot
3cbda10f40 LMIC key storage moved to event handler 2019-10-22 08:18:22 +02:00
Verkehrsrot
b786323036 fix join DR2 for TTN; RTC save FCnt in event 2019-10-22 07:16:04 +02:00
Verkehrsrot
221fde0026 deep sleep fixes 2019-10-20 20:47:03 +02:00
Verkehrsrot
bc034b1a67 added new reset logic; deep sleep fixes 2019-10-20 20:05:13 +02:00
Verkehrsrot
f3b3838e09 deep sleep, clock error rate, static callbacks 2019-10-19 21:14:04 +02:00
Verkehrsrot
f75cdd4f5c deep sleep (experimental) 2019-10-16 21:14:34 +02:00
Verkehrsrot
06814d3190 i2c release time increased, for AXP192 chip 2019-10-12 15:59:21 +02:00
Verkehrsrot
7e5d053ec5 lmic event msg display optimizations 2019-10-12 14:07:55 +02:00
Verkehrsrot
88e73e2eb8 Lora network setup + event handler elaborated 2019-10-09 20:07:16 +02:00
Verkehrsrot
01fb7c53b4 randomize time sync seq nr 2019-10-05 15:03:15 +02:00
Verkehrsrot
36d9b3dedb curve plotter fixes 2019-10-05 13:12:58 +02:00
Verkehrsrot
a518c1a5e5
Merge pull request #460 from cyberman54/ss_oled
New OLED driver
2019-10-04 16:10:03 +02:00
Verkehrsrot
c56c973534 curve plotter (experimental) 2019-10-04 15:47:33 +02:00
Marius Gripp
ba732012b9 move timesync seq_no into message body from port 2019-10-04 15:31:31 +02:00
Marius Gripp
f86bfaefb6 extract timezone from time sync answer and add to UTC timestamp 2019-10-04 13:06:59 +02:00
Verkehrsrot
0440e536dd scalefactor for curve plotter 2019-10-01 18:06:49 +02:00
Verkehrsrot
66af2b8c54 pax curve plotter (experimental) 2019-10-01 13:02:30 +02:00
Verkehrsrot
449d681c7b LEDmatrixdisplay.cpp/.h rename scrollfunction 2019-09-30 19:44:49 +02:00
Verkehrsrot
c93b0867a9 AXP192 low level I2C mutexing 2019-09-30 12:35:03 +02:00
Verkehrsrot
c6c455b922 QR display of DEVEUI (experimental) 2019-09-29 16:46:48 +02:00
Verkehrsrot
8cb5bbab54 removed productname 2019-09-27 17:57:19 +02:00
Verkehrsrot
0f9e2dfd63 new oled driver (experimental) 2019-09-27 12:47:00 +02:00
Verkehrsrot
7daa36366b v1.8.34 (power on/off features for T-BEAM V10) 2019-09-23 15:45:47 +02:00
Verkehrsrot
af9d2150bf display line6 code sanitized 2019-09-20 19:45:37 +02:00
Verkehrsrot
c3bad526a7 Changed Lora SF to Lora DR control 2019-09-20 13:22:45 +02:00
Verkehrsrot
cc248419ae optimize SF display 2019-09-20 09:51:33 +02:00
Verkehrsrot
d9c6153559 bugfix getBattLevel() (issue #444) 2019-09-20 09:04:24 +02:00
Verkehrsrot
c8531ca466 TTGO Beam v10 (AXP192) battery monitor enhanced 2019-09-18 22:38:39 +02:00
Verkehrsrot
ff6fce0a1d T-BEAM v1.0 ON/OFF button function added 2019-09-09 23:00:06 +02:00
Verkehrsrot
50c6ba2837 T-Beam V10 (AXP192 PMU) enhanced power functions 2019-09-09 21:45:19 +02:00
Verkehrsrot
56f1ed4b8e battery & power code sanitization 2019-09-07 23:10:53 +02:00
Verkehrsrot
a1b7c102d0 power.cpp added, i2cscan adapted 2019-09-07 19:52:25 +02:00
Verkehrsrot
76a79940b3 MAC command up/down evaluation 2019-09-07 14:52:18 +02:00
Verkehrsrot
8b12b7aee2 axp192 support added 2019-09-02 16:53:39 +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
02326a1c7f lora_send code sanitization 2019-08-30 18:54:53 +02:00
Verkehrsrot
258e830470 move lmic os sendjob to new lora_send task 2019-08-29 10:13:47 +02:00
Verkehrsrot
829ab0ea05 bugfix message queuing to LMIC while LMIC is busy 2019-08-28 10:48:39 +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
a4419ab6f0 LED matrix scroll function added 2019-08-18 16:47:28 +02:00
Verkehrsrot
b926d908b2 timekeeper/timesync: fixed dependencies 2019-08-13 22:40:33 +02:00
Oliver Brandmueller
3518c2660f
Update vendor_array.h with new vendor codes 2019-08-07 20:10:37 +02:00
Verkehrsrot
be208ab539 GPS timing fine tuning 2019-08-04 23:18:04 +02:00
Verkehrsrot
1efc9be6c3 GPS handling and timesync code refactored 2019-08-04 15:17:50 +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
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