Jonathan Bennett
f86dde3c40
AdminModule session_passkey ( #4478 )
...
* Protobuf
* Adds session_passkey for remote admin changes
2024-08-17 08:41:12 -05:00
Ben Meadors
fdaaf71366
Merge branch 'master' into 2.5-changes
2024-08-17 08:01:15 -05:00
Matt Ranostaj
a577dd4142
define PERIPHERAL_WARMUP_MS for heltec_capsule_sensor_v3 ( #4473 )
...
* delay is at least needed for the GXHTC3 module to be detected
2024-08-17 06:37:05 -05:00
Ben Meadors
9dad62e3c4
Set time-only admin command ( #4479 )
2024-08-17 05:52:36 -05:00
todd-herbert
e0b4a8e31e
Radio Master Joystick ( #4476 )
...
* Radio Master Bandit 5-Way Joystick: first draft
Untested on genuine hardware
* "Okay" moves to next frame, even when canned message disabled
* Refactor to allow easier customization
* Implement feedback from testing
* guard toggleGPS()
* show "Shutting down.." screen
* split adhoc ping alert onto two lines
* Don't block while waiting for shutdown
Was preventing the alert from showing
2024-08-17 05:51:53 -05:00
Jonathan Bennett
7cbae56e6c
Merge branch 'master' into 2.5-changes
2024-08-16 19:39:10 -05:00
Jonathan Bennett
6eabbaf432
Add PKI logiv to KNOWN_ONLY and LOCAL_ONLY routing modes.
2024-08-16 19:37:28 -05:00
Jonathan Bennett
cec8233cd1
Don't attempt PKI decryption on broadcast packets
2024-08-16 19:33:06 -05:00
Mark Trevor Birss
0ebdc7ab0c
Update architecture.h add Minewsemi ME25LS01 LR1110 breakout ME25LE01_V1.0 and fix buzzer ( #4472 )
...
* Update architecture.h
* Update variant.h
* Update variant.h
* Update architecture.h
* Update architecture.h
* Delete src/platform/nrf52/architecture.h
* Add files via upload
* Update architecture.h
* Update architecture.h
* Update architecture.h
2024-08-16 17:37:22 -05:00
Ben Meadors
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
Jonathan Bennett
b0c1b7b7b5
MQTT PKI fixes
2024-08-16 10:10:08 -05:00
Ben Meadors
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
Christopher Hoover
85176756ec
Adds ASCII log option needed by portudino ( #4443 )
...
* 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>
2024-08-15 19:09:06 -05:00
Ben Meadors
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
Jonathan Bennett
ef56fae976
Merge branch 'master' into 2.5-changes
2024-08-15 11:21:25 -05:00
Ben Meadors
d398419aef
Router and sensor are impolite ( #4468 )
2024-08-15 08:47:49 -05:00
Ben Meadors
96cf78aadd
Short turbo preset ( #4465 )
2024-08-14 21:16:21 -05:00
Jonathan Bennett
ced87596cb
Add PKI channel for MQTT ( #4464 )
...
* Add PKI channel for MQTT
2024-08-14 19:32:45 -05:00
Jonathan Bennett
1be635a797
Merge remote-tracking branch 'origin/master' into 2.5-changes
2024-08-14 19:01:06 -05:00
Jonathan Bennett
36f1a62b0b
Merge remote-tracking branch 'origin/2.5-changes' into 2.5-changes
2024-08-14 18:56:41 -05:00
Jonathan Bennett
8ef72a5c08
Shorter nodeinfo timeout redux ( #4458 )
...
* Add shorterTimeout bool to sendOurNodeInfo
* Respond to likely PKI decode errors with a quick nodeinfo
* Protbufs
* Move to PKI_UNKNOWN_PUBKEY for PKI decode error
2024-08-14 17:17:53 -05:00
Ben Meadors
efc27f2051
Initial telemetry with time and variant tags ( #4463 )
2024-08-14 16:24:28 -05:00
github-actions[bot]
837c4e9e7b
[create-pull-request] automated change ( #4461 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-08-14 09:33:57 -05:00
Christopher Hoover
181325103a
Improves ignore messages in Router.cpp ( #4442 )
...
Signed-off-by: Christopher Hoover <ch@murgatroid.com>
.
2024-08-14 07:51:32 -05:00
Ben Meadors
207b9b49a5
Always attempt to set NTP or GPS time on a fresh position packet ( #4460 )
2024-08-14 07:42:30 -05:00
Jonathan Bennett
8ce1c07c4e
Check for blank key coming from client
2024-08-13 22:34:21 -05:00
Jonathan Bennett
2661fc694f
sync protobufs
2024-08-13 20:06:36 -05:00
Jonathan Bennett
b528290fde
Failure returns PKI_FAILED message if client requested PKI
2024-08-13 18:45:40 -05:00
Jonathan Bennett
ff89dca5b3
Add PKI indicator to printPacket
2024-08-13 18:45:40 -05:00
Jonathan Bennett
80fd121d87
Add meshtastic_Routing_Error_NO_CHANNEL
2024-08-13 18:45:40 -05:00
Jonathan Bennett
f3fa8daedf
Revert "Add Routing_Error_NONE"
...
This reverts commit e1985fa0f9
.
2024-08-13 18:45:40 -05:00
Jonathan Bennett
bcd77c4523
Cleanup public_keys ( #4450 )
2024-08-13 18:45:40 -05:00
Jonathan Bennett
308c0a6bb8
Add Routing_Error_NONE
2024-08-13 18:45:40 -05:00
Jonathan Bennett
754db3f2bc
Finish fixing config migrate
2024-08-13 18:45:40 -05:00
Jonathan Bennett
c16f20de21
Make "Alloc an error" a LOG_WARN
2024-08-13 18:45:40 -05:00
Jonathan Bennett
b4cbea1b3d
Move security migrate to if has_security
2024-08-13 18:45:40 -05:00
Ben Meadors
0e7253d309
Protos
2024-08-13 18:45:38 -05:00
Jonathan Bennett
b91d66b436
Don't forget public_key.size in converting back
2024-08-13 18:44:27 -05:00
Jonathan Bennett
7537b55586
Ungoober oldestBoring
2024-08-13 18:44:27 -05:00
Jonathan Bennett
2d18130235
Don't goober public_key in Userlite conversion
2024-08-13 18:44:27 -05:00
Jonathan Bennett
67ddae2851
Add logic to nodeDB to prefer evicting boring nodes ( #4441 )
2024-08-13 18:44:27 -05:00
Ben Meadors
884bc529f0
protos
2024-08-13 18:44:25 -05:00
Ben Meadors
8f3614d66c
User to UserLite in NodeDB ( #4438 )
...
* User to UserLite in the nodedb
* Tronkdor the burninator
2024-08-13 18:43:37 -05:00
Jonathan Bennett
e7dfabc20f
Exclude position packets from PKI (at least for now)
2024-08-13 18:43:19 -05:00
Jonathan Bennett
185eb318ad
Manual protobuf update
2024-08-13 18:43:19 -05:00
Jonathan Bennett
c86a3200f0
Add missed function rename. (Thanks VSCode)
2024-08-13 18:43:19 -05:00
Jonathan Bennett
c3aa56ef30
Refactor platform cryptography, add tests
2024-08-13 18:43:19 -05:00
Jonathan Bennett
192af05a25
Fix compile on STM32
2024-08-13 18:43:19 -05:00
Jonathan Bennett
26d0b2b477
Add DH25519 unit test
2024-08-13 18:43:19 -05:00