Wouter Bijen
2cb08775c0
Clarify comment wording: 1 = direct (0 hops)
Co-Authored-By: Claude Opus 4.6 <[email protected] >
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
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
taco
31ba971c60
only store advblob when adding/updating contacts
4 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
741564dd48
refactor: add populateContactFromAdvert()
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
Scott Powell
676c317f78
* refactor: on-demand getSharedSecret()
6 months ago
taco
638f41d143
calculate shared_secret on demand
6 months ago
Winston Lowe
031fa1e704
Changed uint to a uint8_t
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
Scott Powell
7755400a35
* Companion: Now using transport codes { 0, 0 } when Share contact zero hop.
* Repeater: onAdvertRecv(), adverts via Share now NOT added to neighbours table
7 months ago
liamcottle
561dbea30f
update lastmod when a new message is received
9 months ago
Scott Powell
74dea260e5
* proposed change for re-trying reciprocal path transmit
9 months ago
Scott Powell
fcdf342db6
* Companion: experimental CMD_SEND_DISCOVERY_REQ -> PUSH_CODE_DISCOVERY_RESPONSE
10 months ago
Scott Powell
5881b04a31
* companion: optional double ACKs, new prefs.multi_acks
11 months ago
Scott Powell
df33321bdc
* companion: added CMD_SEND_BINARY_REQ (50)
11 months ago
Scott Powell
b1ca3d1eb1
* new PAYLOAD_TYPE_MULTIPART
* experimental double ACK's (at each hop), sent 300ms apart (direct mode only)
12 months ago
Scott Powell
9df3c8c663
* companion: new 'advert_loc_policy' pref. Defaults to ADVERT_LOC_NONE (ie. do Not share location in adverts)
12 months ago
Scott Powell
e6ce3c896d
* companion: new CMD_GET_ADVERT_PATH -> RESP_CODE_ADVERT_PATH
12 months ago
Scott Powell
6e0b505a2a
* companion: refactor of all filesystem access to new DataStore module
1 year ago
Scott Powell
5d15a68d0d
* SERVER_RESPONSE_DELAY now applied to: login responses, companion telemetry responses
1 year ago
Scott Powell
75503ed52a
* Companion now can be configured with TXT_ACK_DELAY (default is 200ms)
1 year ago
Scott Powell
b11f43987b
* companion: fix for importContact(). Now removes the packet-hash from table, before 'replaying'
1 year ago
Scott Powell
26f01e0605
* companion: new CMD_SEND_TELEMETRY_REQ, PUSH_CODE_TELEMETRY_RESPONSE
1 year ago
Scott Powell
99774f10ac
* new: SensorManager
* BasChatMesh: new onContactRequest(), for PAYLOAD_TYPE_REQ handling.
* companion, repeater and room_server: now with basic 'plumbing' to handle REQ_TYPE_GET_TELEMETRY_DATA (0x03).
* dependency: added CayenneLPP to libdeps
* all target.* modules now with a stub 'sensors' object.
1 year ago
Scott Powell
561d289ea5
Companion: new 'manual_add_contacts' pref. New PUSH_CODE_NEW_ADVERT frames
1 year ago
Scott Powell
ab8cd85d8e
* added Packet::getRawLength() helper
1 year ago
Scott Powell
30c6a0bc76
* workaround for > 3 retry attempts
1 year ago
Scott Powell
fe4fdeb236
* redesigned TRACE packet structure
1 year ago
Scott Powell
38b9834261
* missing param
1 year ago
Scott Powell
b94fed4e4e
* companion: channel names
1 year ago
Scott Powell
8c68dbb6e9
* Companion: new CMD_GET_CHANNEL, CMD_SET_CHANNEL
1 year ago
Scott Powell
e534e1b529
* companion: FIRMWARE_VER_CODE now bumped to 3.
* companion: new RESP_CODE_CONTACT_MSG_RECV_V3, and _CHANNEL_MSG_RECV_V3. (now with packet SNR included)
1 year ago
Scott Powell
284ac17009
* Room Server post ACK bug fix!
1 year ago
Scott Powell
72c7cebbbb
* misc
1 year ago
Scott Powell
1a4063bbe8
* companion radio: connection status now supported (Keep_alive pings, etc)
1 year ago
Scott Powell
88959b6b03
* companion radio: support for TXT_TYPE_SIGNED_PLAIN
1 year ago
Scott Powell
1209d54d2e
* various changes for CLI support via companion radio
1 year ago
Scott Powell
d880a48b85
* companion radio: new CMD_SEND_LOGIN, CMD_SEND_STATUS_REQ
1 year ago
Scott Powell
37f4ceff85
* strncpy() refactor/fix
1 year ago
Scott Powell
ba181da94a
* added RTCClock::getCurrentTimeUnique(), for when timestamps need to be unique (if temp rapid-fire)
1 year ago
Scott Powell
0db15db625
* new Packet type: PAYLOAD_TYPE_TRACE
1 year ago
Scott Powell
a2fa4caa3f
* companion radio: new CMD_EXPORT_CONTACT, CMD_IMPORT_CONTACT
1 year ago
Scott Powell
65580c76d0
* companion radio: new CMD_SHARE_CONTACT
* room server: push notify loop interval changed to 2 secs
1 year ago
Scott Powell
a922d0711d
* ver bumps
* companion radio, USB: onSendTimeout() bug fix
1 year ago
Scott Powell
b8d467fbab
* BaseChatMesh: sendLogin(), onContactResponse()
* companion radio: contacts file, new 'sync_since' field
1 year ago