Janez T
f25d7a882a
fix: Align channel data framing
ref: #1928
3 months ago
Janez T
a21b83b127
fix: address comments
ref:
3 months ago
Janez T
9b84278607
feat: Add support for PAYLOAD_TYPE_GRP_DATA
Docs changes are to reflect how it is currently in fw
This adds ability to send datagram data to everyone in channel
3 months ago
Wouter Bijen
1d190ad944
Clamp max_hops to 64 to cover full protocol hop range (0-63)
3 months ago
Wouter Bijen
c016db86d5
Address PR review: subtract-1 encoding and clamp max_hops
- Change > to >= so stored value 1 means direct/0-hop only (liamcottle)
- Clamp max_hops to 63 on write since getPathHashCount() caps at 63 (robekl)
- Update comments to reflect encoding: 0=no limit, 1=direct only, N=up to N-1 hops
Co-Authored-By: Claude Opus 4.6 <[email protected] >
3 months ago
Wouter Bijen
00566741f6
Add configurable max hops filter for auto-add contacts
Filter auto-add of new contacts by hop count (issues #1533 , #1546 ).
Setting is configurable from the companion app via extended
CMD_SET/GET_AUTOADD_CONFIG protocol (0 = no limit, 1-63 = max hops).
Co-Authored-By: Claude Opus 4.6 <[email protected] >
3 months ago
Scott Powell
b14879ce2d
* CMD_GET_ADVERT_PATH bug fix
3 months ago
Scott Powell
213d085012
* revert CMD_SEND_SELF_ADVERT, use _prefs.path_hash_mode
3 months ago
Scott Powell
5b0884ad2d
* added CMD_SET_PATH_HASH_MODE
3 months ago
Scott Powell
e52d57c065
* 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)
3 months ago
Scott Powell
a66773bac0
* CommonCLI: added "get/set path.hash.mode "
3 months ago
Scott Powell
3e76161e9c
* 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
4 months ago
Scott Powell
2e00298128
* companion: retransmit delays now hard-coded (only for client repeat mode)
4 months ago
Scott Powell
0abac35744
* client_repeat state now in _DEVICE_INFO response
4 months ago
Scott Powell
564a19d125
* companion client repeat mode support
4 months ago
liamcottle
bafa2ccd22
fix estimated timeout for multi byte path traces
4 months ago
Wessel Nieboer
e8646f5ede
Parse as signed int
4 months ago
Wessel Nieboer
d0720c63c2
Allow negative tx power
Like SX1262 allows -9 dBm lowest, some allow lower but that probably
isn't useful
5 months ago
taco
e6e1b810f8
add DataStore::deleteBlobByKey()
4 months ago
agessaman
019bbf74d3
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).
4 months ago
Rastislav Vysoky
c345f1da8e
Revert "Remove _serial->isConnected() logic from buzzer notifications"
4 months ago
taco
96ef5e5efe
allow set prv.key from remote, validate new prv.key
4 months ago
Scott Powell
3c27132914
* T1000e BLE - default node name is now the MAC address
4 months ago
nakoeppen
d68bc74514
Remove _serial->isConnected() logic from buzzer notifications
4 months ago
taco
b919119faf
only write contacts when changed
5 months ago
taco
c61fde9328
always send PUSH_CODE_NEW_ADVERT when advert was not added to contacts[]
5 months ago
taco
df6687034a
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
5 months ago
taco
403ce1db08
contacts: granular autoadd and overwrite-oldest
5 months ago
Scott Powell
3af25495bb
* 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)
5 months ago
liquidraver
faf177de46
ESP factory reset clear NVS too
5 months ago
entr0p1
4a869163b2
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).
5 months ago
taco
638f41d143
calculate shared_secret on demand
6 months ago
csrutil
cfb7ed876c
CMD_SET_CUSTOM_VAR will update gps and gps_interval
6 months ago
csrutil
4aebc57add
fixed gps init value
6 months ago
csrutil
678915ef3b
add GPS interval validation and bounds checking
6 months ago
csrutil
88fb173297
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
6 months ago
csrutil
c641beabd3
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.
6 months ago
Scott Powell
b33d226c58
* proposal for 'Extended Trace' packets. Using 'flags' byte, lower 2 bits, for path hash size.
7 months ago
agessaman
a3c9a07377
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.
7 months ago
Stephan Rodemeier
16c294ce60
Allow SF smaller than 7 to be saved
7 months ago
agessaman
39f83efbfe
Remove unused statistics formatting methods and associated header includes from MyMesh class. Whoops.
7 months ago
agessaman
80d6dd4367
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.
7 months ago
agessaman
c9aa536ca6
Reverted MyMesh constructor for simplicity.
Updated formatStatsReply method to use new member variables for statistics handling.
Removed excess variable creation
7 months ago
agessaman
df4dab8509
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.
7 months ago
Scott Powell
2e63499ae5
* companion: protocol ver bumped to 8.
7 months ago
Scott Powell
4a5404d997
* companion: added CMD_SEND_CONTROL_DATA, and PUSH_CODE_CONTROL_DATA
7 months ago
Scott Powell
937865c8fd
* companion: new CMD_SET_FLOOD_SCOPE (54)
7 months ago
Scott Powell
9ebeb477aa
* RegionMap: inverted 'flags' to _deny_ bits
* Mesh: new filterRecvFloodPacket() for overriding
* repeater CLI: 'allow' -> 'allowf' or 'denyf'
7 months ago
Scott Powell
d9ff3a4d02
* Mesh: new sendFlood() overload with transport codes.
* BaseChatMesh: sendFloodScoped(), for overriding with some outbound 'scope' / TransportKey
* companion: new 'send_scope' variable.
7 months ago
recrof
87677fda76
allow spreading factor from 5 and bandwidth from 7.8kHz
8 months ago