Ben Meadors
1334d07c6a
Trunk updates
2024-10-27 06:57:11 -05:00
Ben Meadors
ca5f71f774
Add device unique id ( #5092 )
...
* Add device unique id
* Trunk
* WIP
* Esp32 implementation
* Trunk
* Check for ESP_EFUSE_OPTIONAL_UNIQUE_ID
* Comment print
* Trunk
2024-10-23 21:18:37 -05:00
Ben Meadors
7e3931b05d
Move 115200 baud GNSS probe earlier ( #5101 )
...
* Move 115200 baud GNSS probe earlier
* Even more optimized!
2024-10-19 20:05:52 -05:00
Ben Meadors
4575352d8c
Initial NODENUM_BROADCAST_NO_LORA implementation with NeighborInfo module ( #5087 )
...
* Initial NODENUM_BROADCAST_NO_LORA implementation with NeighborInfo module
* isBroadcast
* Trunkt
2024-10-19 12:48:00 -05:00
Ben Meadors
ec9e562a77
Coerce minimum telemetry interval of 30 minutes on defaults and make new default interval one hour ( #5086 )
...
* Coerce minimum telemetry interval of 30 minutes on defaults and make new default interval one hour
* Smaller log messages
2024-10-17 13:33:52 -05:00
Ben Meadors
f77c87dca8
Extra extra
2024-10-16 09:18:44 -05:00
Ben Meadors
198b62f3fc
I thought these were already board level extra
2024-10-16 07:34:24 -05:00
Ben Meadors
420ab89f8d
Merge branch 'master' into oem-proto
2024-10-14 14:10:31 -05:00
Ben Meadors
fb9f361052
Implement rebroadcast mode NONE ( #5040 )
...
* Implement rebroadcast mode none
* Correct debug message
2024-10-12 06:17:44 -05:00
Ben Meadors
1f2d972e18
Remove waypoint and text message frames on NodeDB reset as well ( #5029 )
2024-10-10 19:24:37 -05:00
Ben Meadors
e8f287a36f
Fixes critical error rendering before screen thread is running ( #5024 )
...
* Fixes critical error rendering before screen thread is running
* Fix GPS thread crashing on probe code attempting to %s print an enum
* 10
2024-10-10 14:58:42 -05:00
Ben Meadors
b769799410
Update version.properties
2024-10-10 14:58:30 -05:00
Ben Meadors
f5f9fd54a1
Revert "[create-pull-request] automated change ( #5019 )" ( #5026 )
...
This reverts commit 3b21856a76 .
2024-10-10 14:58:06 -05:00
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
Ben Meadors and Tom Fifield
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 Meadors
53f189fff4
Remove has_rx * on installDefaultDeviceState ( #4982 )
2024-10-07 19:43:55 +08:00
Ben Meadors
001a845ac3
Upgrade nanopb ( #4973 )
2024-10-06 07:55:02 -05:00
Ben Meadors
01df3ff477
Update generate-userprefs.yml
2024-10-06 05:26:04 -05:00
Ben Meadors
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 Meadors
783466f116
Revert "Remove unused Jlink monitoring files ( #4953 )" ( #4959 )
...
This reverts commit 55049ed547 .
2024-10-05 05:24:59 -05:00
Ben Meadors
c3b9d493b6
Leave the build epoch commented and uncomment when CI runs ( #4943 )
2024-10-04 15:07:10 -05:00
Ben Meadors
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
Ben Meadors and GUVWAF
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 Meadors
8ad89ba724
Allow for better target level Radiolib exclude plumbing ( #4906 )
...
* WIP
* LR11x0
* Anothern
* =1
2024-09-30 05:14:22 -05:00
Ben Meadors and Thomas Göttgens
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 Meadors
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 Meadors
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 Meadors
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 Meadors
3a2fa118a2
Merge branch 'master' into detsensor_broadcast_changes
2024-09-25 13:57:49 -05:00
Ben Meadors
ac5edf867c
Create SECURITY.md ( #4868 )
2024-09-25 13:55:04 -05:00
Ben Meadors
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 Meadors
02d9d8b76c
Merge branch 'master' into detsensor_broadcast_changes
2024-09-25 06:30:09 -05:00
Ben Meadors
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 Meadors
e7569838c7
Bin path
2024-09-24 14:32:20 -05:00
Ben Meadors
64b2bf5f93
Checkout should handle this but oh well
2024-09-24 14:18:19 -05:00
Ben Meadors
d6a008500a
Who chose that ridiculous name anyway?!
2024-09-24 14:05:12 -05:00
Ben Meadors
a9d636c025
Consolidate commands
2024-09-24 14:02:12 -05:00
Ben Meadors
292027f40f
Setup node
2024-09-24 13:57:53 -05:00
Ben Meadors
3c126212d5
PIO script
2024-09-24 13:45:02 -05:00
Ben Meadors
9710ac79d3
Pipargs
2024-09-24 13:37:40 -05:00
Ben Meadors
f2801a660b
Update tests.yml
2024-09-24 13:33:51 -05:00
Ben Meadors
4d269501dd
No args
2024-09-24 13:30:26 -05:00
Ben Meadors
752192b09a
pipx
2024-09-24 13:27:13 -05:00
Ben Meadors
f8f9329529
pip3
2024-09-24 13:16:24 -05:00
Ben Meadors
c679932248
Setup python
2024-09-24 12:58:41 -05:00
Ben Meadors
5488c8f579
Got the runner labels backwards
2024-09-24 12:54:04 -05:00
Ben Meadors
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 Meadors
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 Meadors
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
Ben Meadors and Tom Fifield
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 Meadors
91b4199f9d
Revert "DetectionSensor: broadcast all state changes" ( #4776 )
2024-09-19 10:46:18 -05:00
Ben Meadors
777bcf691a
Initial PhoneAPI rate-limiting of messages on certain ports ( #4756 )
2024-09-18 10:13:07 -05:00
Ben Meadors
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 Meadors
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 Meadors
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 Meadors
8d57b6164a
Add Heltec T1114 hardware model to build ( #4719 )
2024-09-15 20:37:19 -05:00
Ben Meadors
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 Meadors
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 Meadors
d36c69396b
Exclude meshtasticd binaries from firmware.zip ( #4698 )
...
* Exclude meshtasticd binaries from firmware.zip
* Incorrect
2024-09-13 10:42:40 -05:00
Ben Meadors and Jonathan Bennett
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 Meadors
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 Meadors
9ac4a0114f
Merge branch 'master' into master
2024-09-10 05:25:39 -05:00
Ben Meadors
106dab23db
Revert "Changes by create-pull-request action" ( #4671 )
2024-09-09 14:20:14 -05:00
Ben Meadors
ee68e727ed
Merge branch 'master' into master
2024-09-06 06:25:07 -05:00
Ben Meadors
b526a3ad53
Own node should be favorited and have zero hops away ( #4618 )
2024-09-02 17:51:02 -05:00