Commit Graph
100 Commits
Author SHA1 Message Date
Ben Meadors 876993f095 No idea why trunk wants to disturb these PNGs but... 2024-10-08 05:34:41 -05:00
Ben Meadors a05b009379 Posthumous tronkination 2024-10-08 05:33:38 -05:00
Ben Meadors 2e5399dbe4 De-conflict MLX90614_ADDR macro 2024-10-08 05:03:43 -05:00
411aedaf5d Add health telemetry module (#4927)
* Add stub health telemetry module

* Add detection for MAX30102 Health Sensor

It lives on I2C bus at 0x57, which conflicts with an existing
sensor. Add code to check the PARTID register for its response 0x15
per spec.

* Add detection for MLX90614

An IR Temperature sensor suitable for livestock monitoring.

* Add libraries for MLX90614 and MAX30102 sensors

* Fix Trunk

* Add support for MLX90614 IR Temperature Sensor

* Add support for MAX30102 (Temperature)

* Make it build - our first HealthTelemetry on the mesh.

If a MAX30102 is connected, its temperature will be sent to the
mesh as HealthTelemetry.

* Add spo2 and heart rate calculations to MAX30102

* Switch MLX90614 to Adafruit library

Sparkfun was having fun with SDA/SCL variables which we can avoid
by switching to this highly similar library.

* Enable HealthTelemetry if MLX90614 detected

* Change MLX90614 emissivity for human skin.

* Add health screen!

* Remove autogenerated file from branch

* Preparing for review

* Fix MeshService master sync from before.

* Prepare for review

* For the americans

* Fix native build

* Fix for devices with no screen

* Remove extra log causing issues

---------

Co-authored-by: Tom Fifield <tom@tomfifield.net>
2024-10-07 19:50:44 -05:00
Ben MeadorsandGitHub 53f189fff4 Remove has_rx * on installDefaultDeviceState (#4982) 2024-10-07 19:43:55 +08:00
Ben MeadorsandGitHub 001a845ac3 Upgrade nanopb (#4973) 2024-10-06 07:55:02 -05:00
Ben MeadorsandGitHub 01df3ff477 Update generate-userprefs.yml 2024-10-06 05:26:04 -05:00
Ben MeadorsandGitHub a3a97d3025 Start of generating json manifest of macros in userPrefs.h (#4946)
* Start of generating json manifest for userPrefs.h

* Just trunk this for now

* Add automatic generation of json manifest in GH action

* Trunk
2024-10-06 05:24:57 -05:00
Ben MeadorsandGitHub 783466f116 Revert "Remove unused Jlink monitoring files (#4953)" (#4959)
This reverts commit 55049ed547.
2024-10-05 05:24:59 -05:00
Ben MeadorsandGitHub c3b9d493b6 Leave the build epoch commented and uncomment when CI runs (#4943) 2024-10-04 15:07:10 -05:00
Ben MeadorsandGitHub 00f15459ec Userprefs prefix macros for clarity and consistency (#4923)
* Convert userprefs macros to prefixed ones for clarity

* Fix key
2024-10-02 06:14:24 -05:00
18f12584ab Consolidate and shrink down the re-used strings in logs (#4907)
* Consolidate and shrink down the re-used strings in GPS

* Condense all the things

---------

Co-authored-by: GUVWAF <thijs@havinga.eu>
2024-10-01 15:38:36 -05:00
Ben Meadors 8d288d5a3c Only on pull request 2024-09-30 19:26:35 -05:00
Ben Meadors dc55d7dd98 Trunk it 2024-09-30 18:07:11 -05:00
Ben MeadorsandGitHub 8ad89ba724 Allow for better target level Radiolib exclude plumbing (#4906)
* WIP

* LR11x0

* Anothern

* =1
2024-09-30 05:14:22 -05:00
403e5c304e Fix: Not being able to stop Ext. Notification nagging for screenless devices (#4899)
* Move logic up to button thread for screen-less devices

* Comment doesn't apply

* Fiddy

---------

Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
2024-09-29 07:29:53 -05:00
Ben MeadorsandGitHub dcb2707d94 Return queue status on rate limit throttling (#4901) 2024-09-29 07:28:20 -05:00
Ben Meadors a70d5ee9d8 Temporarily remove native AGAIN due to gather-artifacts failure 2024-09-28 15:49:37 -05:00
Ben Meadors 6a355616c7 Another extra 2024-09-28 13:06:01 -05:00
Ben Meadors ec23189407 Making some board levels extra for uncommon hardware 2024-09-28 13:04:50 -05:00
Ben MeadorsandGitHub 8efc15f4d9 Ignore seen phoneapi packets (#4888)
* Ignore PhoneAPI packet if it's been seen

* ignoramus

* Also keep track of the last 20 packet IDs

* Fill

* Make this match the nimble one

* Add the log too

* Ignore zero ID packets

* Remove message entirely

* TRunkt
2024-09-27 20:09:53 -05:00
Ben Meadors 884e3f2e35 Remove remote hardware from release 2024-09-27 20:03:51 -05:00
Ben Meadors 30356dcd97 Retroactive trunkinate 2024-09-26 19:46:17 -05:00
Ben Meadors 9bebad2dbe Trunkt 2024-09-25 19:54:14 -05:00
Ben MeadorsandGitHub baf9cf5a59 Encapsulate RadioLibInterface receive IRQ logic (#4866)
* Encapsulate RadioLibInterface receive IRQ logic

* More concise

* Trunk
2024-09-25 16:19:18 -05:00
Ben Meadors 51e4b364b0 Trunk things 2024-09-25 16:18:45 -05:00
Ben MeadorsandGitHub 3a2fa118a2 Merge branch 'master' into detsensor_broadcast_changes 2024-09-25 13:57:49 -05:00
Ben MeadorsandGitHub ac5edf867c Create SECURITY.md (#4868) 2024-09-25 13:55:04 -05:00
Ben MeadorsandGitHub 4128d75ad4 IS_ONE_OF macro to make long chains of conditions more concise and easy to follow (#4860)
* Is one of macro

* Moar

* Whoops

* Trunk

* isOneOf function backed macro
2024-09-25 13:50:00 -05:00
Ben Meadors 9dd769586f Version 2024-09-25 08:40:33 -05:00
Ben Meadors 6e1616375e Trunk update 2024-09-25 07:25:45 -05:00
Ben Meadors a7c379961a New detection sensor trigger type value 2024-09-25 07:01:15 -05:00
Ben MeadorsandGitHub 02d9d8b76c Merge branch 'master' into detsensor_broadcast_changes 2024-09-25 06:30:09 -05:00
Ben MeadorsandGitHub 31e952c72e Merge branch 'master' into detsensor_broadcast_changes 2024-09-25 06:26:14 -05:00
Ben Meadors c50df710ba Also put this back 2024-09-24 20:12:42 -05:00
Ben Meadors 10c51d8a05 Put this back 2024-09-24 15:44:16 -05:00
Ben Meadors 453b3a59b2 python3 ref 2024-09-24 15:24:08 -05:00
Ben Meadors 67fd4b64af Actual ref 2024-09-24 15:20:05 -05:00
Ben Meadors 1d0013918b master ref 2024-09-24 15:15:55 -05:00
Ben Meadors cac640ea97 Meshtestic submodule update 2024-09-24 14:57:20 -05:00
Ben MeadorsandGitHub e7569838c7 Bin path 2024-09-24 14:32:20 -05:00
Ben MeadorsandGitHub 64b2bf5f93 Checkout should handle this but oh well 2024-09-24 14:18:19 -05:00
Ben MeadorsandGitHub d6a008500a Who chose that ridiculous name anyway?! 2024-09-24 14:05:12 -05:00
Ben MeadorsandGitHub a9d636c025 Consolidate commands 2024-09-24 14:02:12 -05:00
Ben MeadorsandGitHub 292027f40f Setup node 2024-09-24 13:57:53 -05:00
Ben MeadorsandGitHub 3c126212d5 PIO script 2024-09-24 13:45:02 -05:00
Ben MeadorsandGitHub 9710ac79d3 Pipargs 2024-09-24 13:37:40 -05:00
Ben MeadorsandGitHub f2801a660b Update tests.yml 2024-09-24 13:33:51 -05:00
Ben MeadorsandGitHub 4d269501dd No args 2024-09-24 13:30:26 -05:00
Ben MeadorsandGitHub 752192b09a pipx 2024-09-24 13:27:13 -05:00
Ben MeadorsandGitHub f8f9329529 pip3 2024-09-24 13:16:24 -05:00
Ben MeadorsandGitHub c679932248 Setup python 2024-09-24 12:58:41 -05:00
Ben MeadorsandGitHub 5488c8f579 Got the runner labels backwards 2024-09-24 12:54:04 -05:00
Ben MeadorsandGitHub 6c488fe816 Ony run on test runner label 2024-09-24 12:43:39 -05:00
Ben Meadors 771cb52616 Remove amd64 2024-09-24 10:52:46 -05:00
Ben Meadors 10869ea10a Don't wait for after-checks 2024-09-24 09:10:29 -05:00
Ben Meadors e4d0e38f37 Remove native and add v4 back 2024-09-24 08:25:25 -05:00
Ben Meadors d7badcc9cb Don't run checks on workflow_dispatch 2024-09-24 07:17:38 -05:00
Ben Meadors 4fbf666cd9 Try v3 2024-09-24 07:12:43 -05:00
Ben Meadors 0ad1f776ae Manually regen protos for now 2024-09-23 18:53:01 -05:00
Ben MeadorsandGitHub e78c706999 Fix RAK4631 accelerometer (#4837) 2024-09-23 18:40:54 -05:00
Ben Meadors c442cd7267 Remove some straggler now 2024-09-23 15:53:42 -05:00
Ben MeadorsandGitHub 9cbabb0468 Teardown bluetooth phoneAPI better and fix client notification issue (#4834)
* Teardown bluetooth phoneAPI better and fix client notification issue

* Fix client notification draining
2024-09-23 15:51:05 -05:00
e8829b8f52 Refactor and consolidate time window logic (#4826)
* Refactor and consolidate windowing logic

* Trunk

* Fixes

* More

* Fix braces and remove unused now variables.

There was a brace in src/mesh/RadioLibInterface.cpp that was breaking
compile on some architectures.

Additionally, there were some brace errors in
src/modules/Telemetry/AirQualityTelemetry.cpp
src/modules/Telemetry/EnvironmentTelemetry.cpp
src/mesh/wifi/WiFiAPClient.cpp

Move throttle include in WifiAPClient.cpp to top.

Add Default.h to sleep.cpp

rest of files just remove unused now variables.

* Remove a couple more meows

---------

Co-authored-by: Tom Fifield <tom@tomfifield.net>
2024-09-23 08:58:14 -05:00
Ben Meadors 51af747508 CI fixes 2024-09-21 20:53:23 -05:00
Ben Meadors 893bbe09d1 Hopefully extract and commit to meshtastic.github.io 2024-09-21 16:34:26 -05:00
Ben Meadors 0664c09f9d Download debian files after firmware zip 2024-09-20 14:55:53 -05:00
Ben Meadors 85d722232e Additional decoded packet ignores 2024-09-20 07:35:26 -05:00
Ben Meadors 921d92c649 Drop received packets from self 2024-09-20 06:55:16 -05:00
Ben MeadorsandGitHub 91b4199f9d Revert "DetectionSensor: broadcast all state changes" (#4776) 2024-09-19 10:46:18 -05:00
Ben MeadorsandGitHub 777bcf691a Initial PhoneAPI rate-limiting of messages on certain ports (#4756) 2024-09-18 10:13:07 -05:00
Ben MeadorsandGitHub 50fb4ab22a Implement optional hops_away on NodeInfo/Lite (#4747)
* Implement optional hops_away on NodeInfo/Lite

* Trunk
2024-09-17 12:08:04 -05:00
Ben MeadorsandGitHub 2a6921292e Implement CoT detail support in TAKPacket (#4748)
* Implement CoT detail support in TAKPacket

* dest, src

* More coffee is needed

* SAVE
2024-09-17 10:05:55 -05:00
Ben MeadorsandGitHub 11378325e0 Separate GPS and NTP RTCQuality logic and allow GPS time to always set us (#4721) 2024-09-17 06:29:18 -05:00
Ben MeadorsandGitHub 8d57b6164a Add Heltec T1114 hardware model to build (#4719) 2024-09-15 20:37:19 -05:00
Ben MeadorsandGitHub dc3eba9100 Expand to MqttClientProxyMessage_size (#4726) 2024-09-15 18:57:02 -05:00
Ben Meadors ae791ca7e1 Add buildstamp epoch to initial debug output 2024-09-13 19:43:50 -05:00
Ben MeadorsandGitHub 35cfe4318a Stop past timestamps from setting our system time RTC (#4704)
* Ignore attempts to set times in the past (before our build epoch)

* TRONK
2024-09-13 19:42:31 -05:00
Ben MeadorsandGitHub d36c69396b Exclude meshtasticd binaries from firmware.zip (#4698)
* Exclude meshtasticd binaries from firmware.zip

* Incorrect
2024-09-13 10:42:40 -05:00
9ac0e26d42 Add option to preserve private key for factory reset (config) (#4679)
* Add option to preserve private key for factory reset (config)

* Typo fix

* Copy the key in the right direction, and set the size.

* Don't set the key size back to 0 right after setting it to 32.

* Set the key size before using it to do a memcpy.

* Use the right key_size for backing up private_key

* Don't factoryReset() for a missing nodeDB

* Disable Bluetooth in AdminModule when resetting device settings or nodeDB to avoid race

* Add checks for valid objects before deinit bluetooth

* Add disableBluetooth to handleSetConfig, handleSetModuleConfig, and commit settings

---------

Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz>
2024-09-11 08:42:26 -05:00
Ben Meadors 1ba4f6e222 Revert "Temp: Grab pre-release tag"
This reverts commit e8e9826adc.
2024-09-10 20:07:06 -05:00
Ben Meadors e8e9826adc Temp: Grab pre-release tag 2024-09-10 19:27:59 -05:00
Ben MeadorsandGitHub 013021941e Remove scaling of smart position broadcast minimum interval specifically (#4677)
* Remove scaling of smart position broacast minimum interval specifically

* Trunk
2024-09-10 15:30:40 -05:00
Ben MeadorsandGitHub 106dab23db Revert "Changes by create-pull-request action" (#4671) 2024-09-09 14:20:14 -05:00
Ben MeadorsandGitHub ee68e727ed Merge branch 'master' into master 2024-09-06 06:25:07 -05:00
Ben MeadorsandGitHub b526a3ad53 Own node should be favorited and have zero hops away (#4618) 2024-09-02 17:51:02 -05:00
Ben MeadorsandGitHub 24501c30c0 Update and rename test_simulator.yml to tests.yml 2024-09-01 11:33:41 -05:00
Ben MeadorsandGitHub 7d2f3a3425 Hello world for MeshTestic (#4607) 2024-09-01 11:29:34 -05:00
Ben MeadorsandGitHub 33eb073535 Ignore (from)Net time on positions with an unknown or fixed location source (#4593)
* Ignore (from)Net time on positions with an unknown or fixed location source

* Dunk a trunk
2024-08-30 19:02:48 -05:00
Ben MeadorsandGitHub 8729cdb699 Merge branch 'master' into pr-fix4154 2024-08-30 16:31:47 -05:00
Ben Meadors 7475cc301e GPS_POWER_TOGGLE on T114 2024-08-30 15:37:39 -05:00
Ben Meadors 171512d2f6 Fixed buzzer 2024-08-29 11:42:27 -05:00
Ben MeadorsandKevin Hester a1bf0d8519 Add button secondary and enable scan-select on T190 (#4577) 2024-08-28 11:25:54 -07:00
Ben MeadorsandKevin Hester f5633bf0c5 Fix T1000-E default to turn on buzzer for Ext. Notification (#4575) 2024-08-28 11:25:54 -07:00
Ben MeadorsandKevin Hester 3ad0af5ce8 Fix super tiny T1114 tft font size and fork repo to fix compiler warnings (#4573) 2024-08-28 11:25:54 -07:00
Ben MeadorsandKevin Hester 72c82c1c08 Add RAK4631 hex to firmware release 2024-08-28 11:25:54 -07:00
Ben MeadorsandKevin Hester 927a35ef51 Protos 2024-08-28 11:25:54 -07:00
Ben MeadorsandKevin Hester c11a66030f Userlite mem comparison (#4552) 2024-08-28 11:25:54 -07:00
Ben MeadorsandKevin Hester b285aa5bd6 Dum dum zero comparision 2024-08-28 11:25:54 -07:00
Ben MeadorsandKevin Hester 9de0b7cfac Found more places to set explicit has_optional on position (#4542) 2024-08-28 11:25:54 -07:00