Commit Graph
100 Commits
Author SHA1 Message Date
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
Ben MeadorsandKevin Hester 06175737cc Save nodedb after favoriting (or removing) (#4537) 2024-08-28 11:25:54 -07:00
Ben MeadorsandGitHub 50f06840d7 Add button secondary and enable scan-select on T190 (#4577) 2024-08-28 07:54:50 -05:00
Ben MeadorsandGitHub a34170654c Fix T1000-E default to turn on buzzer for Ext. Notification (#4575) 2024-08-28 07:24:41 -05:00
Ben MeadorsandGitHub f27281d3fa Fix super tiny T1114 tft font size and fork repo to fix compiler warnings (#4573) 2024-08-28 06:43:30 -05:00
Ben Meadors 50d778d281 Add RAK4631 hex to firmware release 2024-08-27 18:24:14 -05:00
Ben Meadors d0fd17134e Protos 2024-08-26 07:48:07 -05:00
Ben MeadorsandGitHub d6dac1737a Userlite mem comparison (#4552) 2024-08-24 12:19:31 -05:00
Ben Meadors 2a279c7f3d Dum dum zero comparision 2024-08-23 07:07:28 -05:00
Ben MeadorsandGitHub 7abc194ef5 Found more places to set explicit has_optional on position (#4542) 2024-08-23 07:04:34 -05:00
Ben MeadorsandGitHub ff500bc5a9 Save nodedb after favoriting (or removing) (#4537) 2024-08-22 20:57:03 -05:00
Ben Meadors 6ddee795d6 Poetry 2024-08-21 17:24:56 -05:00
Ben MeadorsandGitHub 314009a10f Version 2.5 bump 2024-08-20 07:35:47 -05:00
Ben Meadors 2d9126f873 Try cwd 2024-08-20 07:17:39 -05:00
Ben Meadors d404a49336 Trunk 2024-08-20 07:08:42 -05:00
Ben Meadors 929b3e4f88 Add platformio tests 2024-08-20 06:49:54 -05:00
Ben Meadors bd21a0455b & 2024-08-19 19:19:16 -05:00
Ben Meadors 9b4ad68f43 Add simulator back as a separate step 2024-08-19 18:39:26 -05:00
Ben Meadors 14146d6ff5 Ms! 2024-08-19 07:04:48 -05:00
Ben MeadorsandGitHub 5ff1078c8c Move NeighborInfo interval default to 6 hours (double NodeInfo) (#4483)
* Move NeighborInfo in line with NodeInfo

* Set default to 6 hours and cap minimum at 2 hours
2024-08-17 11:51:53 -05:00
Ben MeadorsandGitHub fdaaf71366 Merge branch 'master' into 2.5-changes 2024-08-17 08:01:15 -05:00
Ben MeadorsandGitHub 9dad62e3c4 Set time-only admin command (#4479) 2024-08-17 05:52:36 -05:00
Ben MeadorsandGitHub e61bd84116 Send local stats telemetry to phone every 15 minutes (#4475)
* Send local stats telemetry to phone every 10 minutes

* Add debug log and bump to 15 minutes

* Tronk

* Explicit has_ optional
2024-08-16 17:15:51 -05:00
eefe9efa9f Adds ASCII log option needed by portudino (#4443) (#4474)
* Adds ASCII logs useful to portudino

Activates ASCII log option when stdout is not a terminal.  This is
generally the right thing to do; if not, the behavior can be
overridden in config.yaml using AsciiLogs under Logging.  The result
is reasonable system logs for portudino when running under systemd or
the like.

Signed-off-by: Christopher Hoover <ch@murgatroid.com>
Co-authored-by: Christopher Hoover <ch@murgatroid.com>
2024-08-16 07:42:19 -05:00
Ben Meadors 390de724ba Update 2.5 protos 2024-08-16 06:09:02 -05:00
Ben MeadorsandGitHub 6f1dae1b1b Re-compute correct timeslot on applyModemConfig (#4469)
* Re-compute correct timeslot on applyModemConfig

* Cap contention window max at 7
2024-08-15 15:05:38 -05:00