7 Commits
Author SHA1 Message Date
Aido d52c9c57f6 Added contact packet types to protocol handler
Setting `COMPANION_CONTACTS_POLL_S` > 0 polls for contacts periodically, but the protocol handler cannot process the fetched contact list, resulting in protocol auto-switching being needlessly triggered.
Rather than ignoring these contact packets and returning `None` from `MeshcoreCompanionProtocol.decode()`, it now returns `internal_only = True`. This sets the groundwork for future full, correct processing of contacts.
2026-05-15 22:16:28 +01:00
Aido da3efd05e8 Added Meshtastic ID to messages bridged to MeshCore
MeshCore messages already prepend the MeshCore ID to messages bridged to Meshtastic, so now conversely, Meshtastic IDs are prepended to messages bridged to MeshCore.
2026-05-15 22:15:53 +01:00
Aido a51a3e09ad Added channel_index key to external_message dict
The `external_message` dict in the Meshtastic handler is missing the `channel_index` key, which means that `channel_index = decoded_msg.get("channel_index", 0)` in the MeshCore handler will always incorrectly default to 0
2026-05-15 18:14:02 +01:00
Aido e7508a323d Merge branch 'main' into v2.1.0 2026-04-30 02:54:44 +01:00
Aido 02737b879b Fixed companion radio decoding to be more robust
`PACKET_LOG_DATA` and `PACKET_ADVERTISEMENT` are quite common and too many `PACKET_LOG_DATA` packets in a row needlessly triggers protocol auto switching.
Rather than ignoring these packets and returning `None` from MeshcoreCompanionProtocol.decode() instead return `internal_only = True`
2026-04-21 21:03:34 +01:00
Aido 03fb291cb7 Added configuration settings for bridging specific channels 2026-04-21 21:03:20 +01:00
Aido 3e30c8e189 Added support for python -m build 2026-04-17 18:22:53 +01:00