Commit Graph
100 Commits
Author SHA1 Message Date
Ben Meadors f5098dc6d8 Explicitly set characteristic 2024-06-23 14:47:25 -05:00
Ben Meadors 2e0d96cece Esptool is better 2024-06-23 07:54:13 -05:00
Ben MeadorsandGitHub eb6bd3a06f Update NimBLE to 1.4.2 (#4163) 2024-06-22 08:49:55 -05:00
Ben MeadorsandGitHub d32cdecc06 Pause BLE logging during want_config flow (#4162) 2024-06-22 07:00:48 -05:00
Ben MeadorsandGitHub 02d8715ca0 Standardize lat/lon position logs (#4156)
* Standardize lat/lon position logs

* Missed sone and condensed logs
2024-06-21 17:25:54 -05:00
Ben MeadorsandGitHub 0bcc60d535 BLE based logging (#4146)
* WIP log characteristic

* Bluetooth logging plumbing

* Characteristic

* Callback

* Check for nullptr

* Esp32 bluetooth impl

* Formatting

* Add thread name and log level

* Add settings guard

* Remove comments

* Field name

* Fixes esp32

* Open it up

* Whoops

* Move va_end past our logic
2024-06-20 16:14:55 -05:00
Ben MeadorsandGitHub 12b8dc1918 Revert "[create-pull-request] automated change (#4121)" (#4124)
This reverts commit 7afa8107ae.
2024-06-17 06:09:50 -05:00
Ben MeadorsandGitHub c2097d38fd Merge branch 'master' into pr-nrf52-dap 2024-06-16 19:17:30 -05:00
Ben MeadorsandGitHub 0c45c99b15 Merge branch 'master' into master 2024-06-16 07:39:46 -05:00
Ben MeadorsandGitHub b1cf5778b4 Update nrf52 platform to 10.5.0 (#4113) 2024-06-15 09:46:31 -05:00
Ben MeadorsandGitHub 32702e2750 Fix compiler warnings (#4112) 2024-06-15 09:46:15 -05:00
Ben Meadors 3e4e1b2202 Trunk 2024-06-14 19:53:47 -05:00
Ben MeadorsandGitHub 8b8e056b7b Added (excluded) Dropzone Module for more comprehensive module example (#4098)
* DropzoneModule hello world

* Buttoning things up

* Exclude by default

* Upstream refs

* Cleanup

* Add modules folder to path

* Case and path matters

* Exclude from header

* Guard
2024-06-14 16:27:49 -05:00
Ben Meadors 16b41b51af Update OLED ref 2024-06-13 12:05:14 -05:00
Ben Meadors 85bca8a32a Update lark to ref to clear C++ warning 2024-06-13 11:13:18 -05:00
Ben Meadors b09cee118c Trunk 2024-06-12 06:57:11 -05:00
Ben Meadors 01a214aa59 Add continues on failing docker steps 2024-06-09 08:32:31 -05:00
Ben Meadors 4da3f202e5 Roll-back to v2 2024-06-09 07:55:45 -05:00
Ben Meadors 2f99a8dbb8 Try latest version 2024-06-09 07:40:57 -05:00
Ben MeadorsandGitHub f59cbc8ffb Add firmware repo level secret 2024-06-09 07:19:25 -05:00
Ben Meadors 2fa55b7b6f Remove bandit from extra 2024-06-08 09:44:13 -05:00
Ben MeadorsandGitHub 9632e4c405 Add missing excludes to environmental sensors (#4033)
* DF Robot Lark weather station support

* Missed it

* I am a man of const char sorrow...

* Strang

* Use our fork

* Add excludes
2024-06-04 07:04:25 -05:00
Ben MeadorsandGitHub a218c6fb4d DFRobot Lark weather station support (#4032)
* DF Robot Lark weather station support

* Missed it

* I am a man of const char sorrow...

* Strang

* Use our fork
2024-06-03 21:50:28 -05:00
Ben MeadorsandGitHub 06c635eca0 MLX90632 IR temperature sensor support (#4019) 2024-06-02 09:38:28 -05:00
Ben MeadorsandGitHub 97a5abbc82 TI OPT3001 light sensor support (#4015)
* TI OPT3001 light sensor support

* Added register interrogation to deconflict with SHT sensors on same address
2024-06-02 07:39:08 -05:00
Ben MeadorsandGitHub 6ce2fdc1c8 Add TSL2591 sensor support (#4014) 2024-06-01 20:21:39 -05:00
Ben Meadors 4fa2427b8c Trunk variants 2024-05-31 11:18:06 -05:00
Ben MeadorsandGitHub 17142f8778 Add support for RadioMaster Bandit Nano (#4005)
* Add support for RadioMaster Bandit Nano

* Add fan to init and sleep
2024-05-31 10:56:04 -05:00
Ben MeadorsandGitHub 10e3040494 Add support for to_callsign on GeoChats for ATAK (#3996) 2024-05-30 18:49:08 -05:00
Ben MeadorsandGitHub 0b48663cbc Don't alloc NodeInfo replies when channel utilization is > 40% (#3991)
* Don't alloc NodeInfo replies when channel utilization is > 40%

* Commit

* Logs
2024-05-30 08:49:01 -05:00
Ben MeadorsandGitHub af9d825266 Send own node-info earlier and move others to the end of want-config flow (#3949)
* Send own node-info earlier and move others to the end of want-config flow

* Special nonce skips other nodeinfos

* Missed it
2024-05-28 19:25:19 -05:00
Ben Meadors 7d873eb06b Add exclude emoji macro 2024-05-22 20:40:26 -05:00
Ben Meadors 2fdc2e2c3c Perhaps a wildcard shall I seek 2024-05-21 09:07:47 -05:00
Ben Meadors b9a6d21dff Add EoRA-S3 2024-05-21 07:45:24 -05:00
Ben MeadorsandGitHub 8c5dee5881 Remove download 2024-05-21 07:04:18 -05:00
Ben MeadorsandGitHub 55d46bae92 Update build_raspbian_armv7l.yml 2024-05-21 06:56:16 -05:00
Ben MeadorsandGitHub 5f107569f3 Put T-Beam supreme back to the future (#3944) 2024-05-20 19:48:10 -05:00
Ben MeadorsandGitHub b68ef3d98a Revert "Fix TBeam Supreme woes (and upgrade platform)" (#3943) 2024-05-20 19:34:51 -05:00
Ben MeadorsandGitHub 4a05874dba Try-fix: Remove logging of actual payload strings (and compressed) for TAK packets (#3922)
* Remove logging of actual payload strings (and compressed) for TAK packets

* Don't assert / reboot. Log error and skip decode
2024-05-19 07:24:10 -05:00
Ben MeadorsandGitHub b4a7e78d18 Don't reboot for certain config prefs and make accelerometer thread re-entrant (#3889)
* Don't reboot for certain config prefs and make accelerometer thread re-entrant

* WHOOPS

* Don't reboot for LED heartbeat and button press

* Remove TZ
2024-05-16 17:27:36 -05:00
Ben MeadorsandGitHub cc864291c2 Merge branch 'master' into fix-tbeam-s3 2024-05-16 07:49:09 -05:00
Ben Meadors 51d2795b26 Fix TBeam Supreme woes (and upgrade platform) 2024-05-16 07:46:47 -05:00
Ben Meadors f06c56a51b Removing release build type due to huge amount of flash utilization 2024-05-10 07:14:28 -05:00
Ben MeadorsandGitHub ac22a503de Revert "Revert "Add Sensirion SHT4X sensors (#3792)" (#3845)" (#3850)
This reverts commit 5d9800b7c2.
2024-05-10 07:13:12 -05:00
Ben MeadorsandGitHub 5d9800b7c2 Revert "Add Sensirion SHT4X sensors (#3792)" (#3845)
This reverts commit 5371f134ba.
2024-05-09 21:25:36 -05:00
Ben MeadorsandGitHub cbf20e4cee Default to new vendor ntp pool (#3819) 2024-05-07 07:57:30 -05:00
Ben MeadorsandGitHub 2c99f11073 Revert "set USB_CDC_ON_BOOT, udate arduinoespressif32 to 2.0.15 (#3764)" (#3809)
This reverts commit 71400103b3.
2024-05-06 17:35:38 -05:00
Ben MeadorsandGitHub 0d57d29cbd Send fixed position to mesh after setting it (#3803) 2024-05-06 14:51:19 -05:00
Ben MeadorsandGitHub d490a332a7 Update version.properties 2024-05-02 19:11:35 -05:00
Ben MeadorsandGitHub ec92f7a5a3 Remove phone nodenum warning and empty else clause (#3756) 2024-05-01 08:27:43 -05:00
Ben MeadorsandGitHub 57da37cfbc Position module should enforce precision for phone originated position packets (#3752) 2024-05-01 08:05:26 -05:00
Ben MeadorsandGitHub 472db5b237 Merge branch 'master' into RCWL-9620 2024-04-28 07:05:54 -05:00
Ben Meadors 6cc7dee95c Tradunkadunk 2024-04-27 11:12:52 -05:00
Ben MeadorsandGitHub e683d8f552 Rebrand "send network ping" to more honest "try send position" with better output (#3737) 2024-04-27 08:55:04 -05:00
Ben MeadorsandGitHub 1c0227f90c Merge branch 'master' into RCWL-9620 2024-04-23 14:19:08 -05:00
Ben MeadorsandGitHub 84edaabfe9 Merge branch 'master' into RGBLED 2024-04-21 14:46:18 -05:00
Ben MeadorsandGitHub 048f0a1601 Merge branch 'master' into RCWL-9620 2024-04-21 14:41:49 -05:00
Ben MeadorsandGitHub 39bbf0d352 Added more clear RTC handling and quality logging (#3691)
* Also refresh timestamp for "timeonly" fixed position nodes

* Added more clear RTC quality handling

* Fix clock drift from Phone GPS / NTP too
2024-04-21 14:40:47 -05:00
Ben MeadorsandGitHub 675d8fe089 Merge branch 'master' into RCWL-9620 2024-04-21 12:37:38 -05:00
Ben MeadorsandGitHub ac87c0065f Also refresh timestamp for "timeonly" fixed position nodes (#3689) 2024-04-21 08:45:36 -05:00
Ben MeadorsandGitHub 41f3557491 Refactor smart position to use throttle helper (#3671)
* Added one minute throttling to NodeDB

* Derp

* Refactor smart-position to use throttle
2024-04-21 07:42:36 -05:00
Ben MeadorsandGitHub 1dd19cec6e Merge branch 'master' into RCWL-9620 2024-04-21 07:34:11 -05:00
Ben MeadorsandGitHub df718ab294 Merge branch 'master' into RGBLED 2024-04-21 07:31:54 -05:00
Ben MeadorsandGitHub 78d915b454 Merge branch 'master' into RGBLED 2024-04-18 14:44:53 -05:00
Ben MeadorsandGitHub 425a715995 Added one minute throttling to NodeDB save to disk (#3648)
* Added one minute throttling to NodeDB

* Derp
2024-04-18 14:20:39 -05:00
Ben MeadorsandGitHub 2e13aeeacb Merge branch 'master' into RGBLED 2024-04-18 07:32:25 -05:00
Ben MeadorsandGitHub 2450031b1b Add device metrics uptime to MQTT JSON (#3643)
* Add device metrics uptime to MQTT JSON

* Cast a spell
2024-04-17 07:00:18 -05:00
Ben MeadorsandGitHub 2cd877d2eb Merge branch 'master' into RGBLED 2024-04-16 20:37:02 -05:00
Ben MeadorsandGitHub 2f9b68e08b File management changes (Part 2 - Reboot instead of reformat NRF52 after two failed file saves) (#3630)
* Add LoadFileState to differentiate types of success / failures

* Try rebooting NRF52s with multiple failed saves

* Trunkate
2024-04-15 16:36:22 -05:00
Ben MeadorsandGitHub 27ae4399bc Zero hop always for connected node (#3634) 2024-04-15 16:35:52 -05:00
Ben MeadorsandGitHub 2803fa964e Add LoadFileState to differentiate types of success / failures (#3625) 2024-04-15 07:22:05 -05:00
Ben MeadorsandGitHub 4f205718f0 Device telemetry uptime in seconds (#3614) 2024-04-14 10:27:01 -05:00
Ben MeadorsandGitHub 2a6e26620e Auto-favorite our node (#3609) 2024-04-12 20:17:25 -05:00
Ben Meadors b4009f9f2f New fixed copy-pasted more corrector hash 2024-04-12 11:49:35 -05:00
Ben MeadorsandGitHub 2c4db16336 TinyGPSAltitude support for negative altitude (#3605) 2024-04-12 10:49:14 -05:00
Ben MeadorsandGitHub daa4d387c6 Don't reboot for non-radio lora config changes (#3505) 2024-03-28 18:14:15 -05:00
Ben Meadors 4c2d5c6a89 Reorder structs to fix build 2024-03-28 07:16:07 -05:00
Ben MeadorsandGitHub 5732eed86b Fixed position admin messages (#3490)
* Bespoke admin messages for setting and clearing fixed positions

* Add guards against remote admin messages setting things

* Flip ifs
2024-03-26 07:29:07 -05:00
Ben MeadorsandGitHub 63df972d42 Revert "[create-pull-request] automated change (#3483)" (#3484)
This reverts commit c87fdfece7.
2024-03-24 08:11:47 -05:00
Ben MeadorsandGitHub 94e4301f2f Add set and remove favorite nodes admin commands (#3471) 2024-03-22 10:53:18 -05:00
Ben MeadorsandGitHub 54818b5f8d Enforce consistent polite channel utilization limits except for Sensor role (#3467) 2024-03-22 07:25:00 -05:00
Ben MeadorsandGitHub 794e99c2f9 Log warning cleanup and truth (#3466) 2024-03-21 20:45:48 -05:00
Ben MeadorsandGitHub 7aa013a716 Skip favorite nodes when clearing out oldest in NodeDB (#3464)
* Skip favorite nodes when clearing out oldest in NodeDB

* We should actually map between the types
2024-03-21 19:51:02 -05:00
6dd337a651 Clear local position on nodedb-reset (#3451)
* Clear local position on nodedb-reset

* NodeDB pointer now, yo

---------

Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz>
2024-03-21 14:43:10 -05:00
Ben Meadors 4fa7f5a748 Fix devicestate persistence bug 2024-03-19 10:31:31 -05:00
Ben MeadorsandGitHub aae49f5ecf Remove confusing channel suffix (#3432)
* Remove confusing channel suffix

* Missed it
2024-03-17 08:38:49 -05:00
Ben MeadorsandGitHub 0d1d79b6d1 Extract default intervals and coalesce methods into their own file / static class methods (#3425)
* Extract default intervals and coalesce methods into their own file / static class methods

* Missed pax

* Still managed to miss one
2024-03-17 08:18:30 -05:00
Ben MeadorsandGitHub bb57ccfc9e Remove devicestate no_save (#3424) 2024-03-17 08:16:22 -05:00
Ben MeadorsandGitHub e27f029d09 Bump minimum NodeInfo send to 5 minutes (#3423)
* Bump minimum NodeInfo send to 3 minutes

* 5
2024-03-16 19:56:42 -05:00
Ben MeadorsandGitHub 9586606229 Handle for heartbeat toradio packets (#3420) 2024-03-15 18:40:48 -05:00
Ben MeadorsandGitHub 52cfec29fc More comprehensive client proxy queue guards (#3414)
* More comprehensive MQTT thread and queue guards

* Consolidate logic

* Remove channel check

* Check for map_reporting_enabled as well

* Update message

* Remove channel check from here as well

* One liner

* Start the mqtt thread back up when channels change and we want mqtt
2024-03-15 16:17:47 -05:00
Ben MeadorsandGitHub ec6bdeed81 NodeInfo broadcast ensure default on 0 and enforce 1 hour minimum (#3415)
* NodeInfo broadcasts ensure defaults on 0 and enforce 1 hour minumum

* Doh!

* Hey that's not on config!
2024-03-15 07:12:03 -05:00
Ben MeadorsandGitHub a085c3ddb3 Try-fix router missed messages (#3405) 2024-03-14 17:00:57 -05:00
Ben MeadorsandGitHub 9c37e57e75 Only allow phone to set time for fixed positions (#3403) 2024-03-13 20:27:26 -05:00
Ben Meadors 3995e2f708 Remove bunk code 2024-03-13 15:06:52 -05:00
Ben MeadorsandGitHub 2efe436102 Update nrf52 platform and consolidate Adafruit Bus IO (#3393) 2024-03-13 07:20:51 -05:00
Ben MeadorsandGitHub 2d5a6c1a20 Merge branch 'master' into eink-special-frames 2024-03-11 13:32:42 -05:00
Ben MeadorsandGitHub 95967a01b8 Merge branch 'master' into eink-special-frames 2024-03-11 12:46:32 -05:00
Ben MeadorsandGitHub 7167f1e04f Add parens to macro (#3361) 2024-03-09 15:25:16 -06:00
Ben MeadorsandGitHub dfbb4cd913 Merge branch 'master' into eink-special-frames 2024-03-09 14:10:09 -06:00