Commit Graph

434 Commits

Author SHA1 Message Date
Klaus K Wilting
6c24aea7e4 sdcard.cpp edits 2020-06-06 21:15:31 +02:00
Klaus K Wilting
5dd5c481ad sdcard code sanitizations 2020-06-06 15:09:12 +02:00
Klaus K Wilting
014bae059e mqtt client test (experimental) 2020-05-22 00:07:49 +02:00
Klaus K Wilting
05e5d31a53 mqtt client (experimental) 2020-05-21 19:42:42 +02:00
Klaus K Wilting
9c0b504841 mqtt test (experimental) 2020-05-20 18:29:07 +02:00
Klaus K Wilting
c5635f59b2 mqtt code sanitizations 2020-05-20 12:40:37 +02:00
Klaus K Wilting
e0b04775e0 sdcard.h: bugfix conditional compile 2020-05-20 12:34:58 +02:00
Klaus K Wilting
c5c9e933d4 MQTT client (experimental) 2020-05-17 23:07:38 +02:00
Klaus K Wilting
73ee2df3d4 Ethernet MQTT client (experimental) 2020-05-16 23:49:34 +02:00
Klaus K Wilting
6e487983b5 SD card reader native mode added 2020-05-16 15:30:05 +02:00
Klaus K Wilting
cdf60c6df9 changed ssoled to OneBitDisplay library 2020-05-09 23:38:51 +02:00
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