Scott Powell
06d1e462dd
* CMD_GET_ADVERT_PATH bug fix
2026-02-24 14:23:59 +11:00
Scott Powell
85c46c5732
* revert CMD_SEND_SELF_ADVERT, use _prefs.path_hash_mode
2026-02-24 00:08:13 +11:00
Scott Powell
b7941d0beb
* added CMD_SET_PATH_HASH_MODE
2026-02-23 21:08:22 +11:00
Scott Powell
1754d0d328
* companion: new pref: path_hash_mode (0..2)
...
* companion: new field in CMD_SET_OTHER_PARAMS, path_hash_mode
* companion: CMD_SEND_SELF_ADVERT, cmd_frame[1] now holds the path hash size (0 = zero hop, 1..3 = flood path hash size)
2026-02-23 18:26:56 +11:00
Scott Powell
9f1f1bcf47
* CommonCLI: added "get/set path.hash.mode "
2026-02-23 14:25:19 +11:00
Scott Powell
62320b64c5
* refactor of Contact/Client out_path_len (stored in files), from signed to unsigned byte (+2 squashed commits)
...
Squashed commits:
[f326e25] * misc
[fa5152e] * new 'path mode' parsing in Dispatcher
2026-02-21 19:35:51 +11:00
Scott Powell
2b6c116369
* companion: retransmit delays now hard-coded (only for client repeat mode)
2026-02-17 20:25:56 +11:00
Scott Powell
d3f378342c
* client_repeat state now in _DEVICE_INFO response
2026-02-14 16:45:41 +11:00
Scott Powell
9c0282016f
* companion client repeat mode support
2026-02-14 15:50:06 +11:00
liamcottle
0f77b88679
fix estimated timeout for multi byte path traces
2026-02-10 17:01:30 +13:00
Wessel Nieboer
8f40193db2
Parse as signed int
2026-02-07 16:58:06 +01:00
Wessel Nieboer
20e71ebc53
Allow negative tx power
...
Like SX1262 allows -9 dBm lowest, some allow lower but that probably
isn't useful
2026-02-06 02:24:51 +01:00
taco
518b651b57
add DataStore::deleteBlobByKey()
2026-02-01 00:02:29 +11:00
Liam Cottle
e8a11511bc
Merge pull request #1531 from agessaman/add-recv-errors-stats
...
Add recv_errors to CMD_GET_STATS STATS_TYPE_PACKETS response
2026-01-30 20:57:07 +13:00
agessaman
62ec1b5f25
Add recv_errors to CMD_GET_STATS STATS_TYPE_PACKETS response
...
Append uint32_t recv_errors (RadioLib receive/CRC errors) to packet stats
binary frame. Frame size 26 -> 30 bytes. Update stats_binary_frames.md and
Python/TypeScript parsing examples for backward compatibility (accept >=26).
2026-01-29 20:44:11 -08:00
Rastislav Vysoky
fe2632bcc4
Revert "Remove _serial->isConnected() logic from buzzer notifications"
2026-01-30 00:12:04 +01:00
taco
a6ecec57f1
allow set prv.key from remote, validate new prv.key
2026-01-25 01:32:48 +11:00
Scott Powell
bce64a57f9
* T1000e BLE - default node name is now the MAC address
2026-01-23 15:53:58 +11:00
nakoeppen
d93179f3fd
Remove _serial->isConnected() logic from buzzer notifications
2026-01-20 20:19:10 -06:00
taco
a47add9c58
only write contacts when changed
2026-01-16 13:15:35 +11:00
taco
807b4b9530
always send PUSH_CODE_NEW_ADVERT when advert was not added to contacts[]
2026-01-16 13:15:35 +11:00
taco
bb9f2eca7e
bootstrap RTC from contact.lastmod and improve slot overwrite logic
...
slot overwrite logic can now safely use contact.lastmod to find oldest contact for overwrite
2026-01-15 18:01:20 +11:00
taco
38a4390b2e
contacts: granular autoadd and overwrite-oldest
2026-01-15 18:01:20 +11:00
Scott Powell
66f5e0aa5d
* Repeater: new anon request sub-type: ANON_REQ_TYPE_REGIONS (rate limited to max 4 every 3 mins)
...
* Companion: new CMD_SEND_ANON_REQ command (reply with existing RESP_CODE_SENT frame)
2026-01-03 12:02:15 +11:00
ripplebiz
8a08487c38
Merge pull request #1294 from liquidraver/factorynvsreset
...
Add NVS partition reset to ESP factory reset
2026-01-03 11:57:14 +11:00
liquidraver
c2d1d02b8e
ESP factory reset clear NVS too
2026-01-02 08:37:22 +01:00
entr0p1
a0baad8af9
BUGFIX: replay protection on repeaters tripped by timestamp sent from companion node mobile app. Send the node's RTC timestamp for TXT_TYPE_CLI_DATA messages instead of the timestamp from the app (matches the sendRequest() code logic).
2025-12-30 21:58:59 +11:00
taco
3e03f0b123
calculate shared_secret on demand
2025-12-06 16:21:17 +11:00
csrutil
64f37acd54
CMD_SET_CUSTOM_VAR will update gps and gps_interval
2025-11-30 09:45:56 +08:00
csrutil
39a60decb2
fixed gps init value
2025-11-29 18:02:08 +08:00
csrutil
751bcc966d
add GPS interval validation and bounds checking
2025-11-29 17:30:13 +08:00
csrutil
1d9144818e
add configurable GPS update interval
...
Make GPS update interval configurable via settings instead of using hardcoded 1 second value. The interval is persisted from preferences and can be adjusted at runtime through the sensor manager settings interface
2025-11-29 17:20:21 +08:00
csrutil
5dbb91b80a
https://github.com/meshcore-dev/MeshCore/issues/989 - persist GPS enabled state to preferences
...
Add GPS configuration to NodePrefs structure and persist the GPS
enabled state when toggled via UI. This ensures GPS settings are
retained across device restarts.
2025-11-29 16:37:23 +08:00
Scott Powell
358e55ec87
Merge branch 'dev' into ext-trace
2025-11-25 15:17:48 +11:00
ripplebiz
b2290054c4
Merge pull request #1075 from agessaman/companion-stats
...
Add statistics commands to return device metrics on companions
2025-11-24 12:34:35 +11:00
Scott Powell
edca616725
* proposal for 'Extended Trace' packets. Using 'flags' byte, lower 2 bits, for path hash size.
2025-11-21 15:44:31 +11:00
agessaman
e2cec1016a
Modify CMD_GET_STATS with sub-types for core, radio, and packet statistics. Consolidated to a single RESP_CODE_STATS with a second byte to identify response structure. Updated documentation and examples to reflect the new command structure and response parsing.
2025-11-17 09:57:36 -08:00
Stephan Rodemeier
822052cdca
Allow SF smaller than 7 to be saved
2025-11-13 22:25:55 +01:00
agessaman
bea41fe646
Remove unused statistics formatting methods and associated header includes from MyMesh class. Whoops.
2025-11-09 11:39:47 -08:00
agessaman
723f875c03
Update statistics handling to use binary frames instead of JSON formatting for consistency with other companion commands. Added documentation of frame structure with code examples.
2025-11-09 11:28:49 -08:00
agessaman
1959e3d5d1
Reverted MyMesh constructor for simplicity.
...
Updated formatStatsReply method to use new member variables for statistics handling.
Removed excess variable creation
2025-11-09 11:28:49 -08:00
agessaman
6ddc73fff4
Add statistics commands and response handling in MyMesh
...
- Introduced new commands for retrieving statistics: CMD_GET_STATS_CORE, CMD_GET_STATS_RADIO, and CMD_GET_STATS_PACKETS.
- Implemented corresponding response handling methods to format and send statistics data.
- Updated MyMesh constructor to initialize new member variables for managing statistics.
- Included StatsFormatHelper for formatting statistics replies.
2025-11-09 11:28:49 -08:00
Scott Powell
96ed2a69f8
* companion: protocol ver bumped to 8.
2025-11-06 22:51:17 +11:00
Scott Powell
7a04e7fcd1
* companion: added CMD_SEND_CONTROL_DATA, and PUSH_CODE_CONTROL_DATA
2025-11-06 22:10:20 +11:00
Scott Powell
11fdf82162
* companion: new CMD_SET_FLOOD_SCOPE (54)
2025-11-05 14:56:18 +11:00
Scott Powell
fc909dfc24
* RegionMap: inverted 'flags' to _deny_ bits
...
* Mesh: new filterRecvFloodPacket() for overriding
* repeater CLI: 'allow' -> 'allowf' or 'denyf'
2025-11-05 14:34:44 +11:00
Scott Powell
47a74f6a12
* Mesh: new sendFlood() overload with transport codes.
...
* BaseChatMesh: sendFloodScoped(), for overriding with some outbound 'scope' / TransportKey
* companion: new 'send_scope' variable.
2025-11-04 01:21:56 +11:00
recrof
389b09cbec
allow spreading factor from 5 and bandwidth from 7.8kHz
2025-10-22 15:15:29 +02:00
liamcottle
5cbeaf8805
add FIRMWARE_VER_LEVEL to companion PUSH_CODE_LOGIN_SUCCESS
2025-09-25 15:21:58 +12:00
Scott Powell
d3ccef3845
* companion: disabled processing/sending of keep_alive packets (deprecated)
...
* FIRMWARE_VER_LEVEL now moved to end of response payloads
2025-09-25 09:39:11 +10:00