Commit graph

56 commits

Author SHA1 Message Date
agessaman
c42c30c25d implement device signing binary frames and sign() command for on-device signing. 2025-12-14 22:23:33 -08:00
fdlamotte
f7439ceac7
Merge pull request #35 from agessaman/main
Stats PacketType Cleanup
2025-11-25 07:35:17 +01:00
agessaman
e49d5c4c7b Fix residual packet types and rename STATS_CORE to STATS to match MyMesh.cpp 2025-11-24 17:41:17 -08:00
fdlamotte
3220c4196d
Merge pull request #34 from agessaman/main
Companion Nodes Stats
2025-11-24 10:38:04 +01:00
agessaman
4a97dd0968 Modify statistics handling in MessageReader to support binary parsing for core, radio, and packet stats. Update DeviceCommands to send appropriate commands for each stats type. 2025-11-17 09:59:50 -08:00
Florent
26b8f2b340 reader: return and warns if packet is empty 2025-11-16 17:22:26 +01:00
Florent
307e517f5e req_neighbours 2025-11-09 16:51:54 +01:00
Florent
dea2f74eae fix snr values for incoming msgs 2025-11-08 08:17:34 +01:00
agessaman
f82ed89c02 Add support for new statistics event types and commands 2025-11-07 22:44:43 -08:00
Florent de Lamotte
a61616297e support only_prefix flag on discover node 2025-11-07 12:59:16 +01:00
Florent
d3c9c8d984 control codes support: node_discover_req 2025-11-07 09:59:40 +01:00
Florent de Lamotte
97a53ec32b most packets are now read using BytesIO 2025-11-05 13:37:38 +01:00
Florent de Lamotte
b8885e3015 starting rewriting of reader using io.BytesIO instead of fixed indexes 2025-11-05 13:11:48 +01:00
Florent de Lamotte
3ad3be82e7 support multiple_acks 2025-10-30 10:59:08 +01:00
Florent de Lamotte
d619423078 timeout for each contact in get_contacts 2025-10-22 10:21:07 +02:00
agessaman
e0f71482c6 Add private key export support
- Add PRIVATE_KEY and DISABLED event types
- Add packet parsing for private key export responses
- Add export_private_key() method to DeviceCommands
- Add comprehensive unit tests
- Add BLE private key export example
- Update documentation with security notes
2025-10-12 18:23:32 -07:00
Alex Wolden
ccb1d6eb9e Revert "Refactor command system to be queue based"
This reverts commit 28957a4b60.
2025-09-04 15:08:08 -07:00
Alex Wolden
9aeffb41a1 Move binary process to reader for consistent eventing 2025-08-29 11:54:55 -07:00
Alex Wolden
7e74c02a00 Add the pubkey prefix as a filterable attribute in the reader 2025-08-28 13:08:35 -07:00
cheetah
5ed4e07c86 fixed reader.py missing byteorder 2025-08-19 11:27:28 +02:00
Ventz Petkov
36727f4ea3 feat: Refactor binary commands and apply BLE fixes
Refactored the BinaryCommandHandler to align with the other command handlers, inheriting from CommandHandlerBase. This resolves an AttributeError and simplifies the command structure. Moved binary_commands.py into the commands module. Applied fixes to the BLE connection handler based on feedback, improving reliability on macOS and ensuring the device address is correctly handled.
2025-08-05 15:31:54 -04:00
Chris
288c00b645 Add support for reading the rx airtime field 2025-08-01 18:02:59 -07:00
Florent
206321bd6b discover_path 2025-07-31 22:10:03 +02:00
Florent
69726d2690 specify encoding in decode and ignore errors 2025-07-21 19:24:08 +02:00
Florent de Lamotte
665dea3648 use lastmod to speedup contact updates 2025-07-16 22:57:51 +02:00
Florent
44671259b5 getting amm from sensors 2025-07-15 16:47:41 +02:00
Florent
cb6379e4c5 implement binary requests 2025-07-15 10:34:38 +02:00
Florent de Lamotte
460196a754 manual add contacts 2025-07-11 16:58:49 +02:00
Florent
d7de28d7f9 add pending_contacts_list and track adverts and path changes 2025-07-11 10:04:21 +02:00
Florent
f534b1898b trailing space 2025-07-11 09:19:04 +02:00
Florent
0e54a624f1 support manual add contact 2025-07-11 09:17:52 +02:00
Florent
21cbed070a support adv loc policy 2025-07-09 17:13:40 +02:00
Florent
73e896737a add fs stats in get_batt 2025-06-27 11:02:29 +02:00
Florent
5be498145a including public_key in PUSH_ADVERT and PUSH_PATH_UPDATE 2025-06-14 17:49:23 +02:00
Alex Wolden
dc5c9f6c96 Add noise floor to repeater status response 2025-06-13 13:20:23 -07:00
Alex Wolden
cca0ca90e9 Add channel commands and fix a lint error 2025-06-01 20:31:37 -07:00
Florent
d73979f234 telemetry mode env 2025-05-25 16:53:23 +02:00
Florent
aa43afc3e7 quick and dirty json encoder 2025-05-16 15:39:07 +02:00
fdlamotte
fb62b7888c
Merge pull request #6 from fdlamotte/awolden/fix-issues
Improvements and fixes
2025-05-15 21:32:25 +02:00
Florent de Lamotte
7ea3b04a05 implement simpler setters for telemetry, adding contacts ... 2025-05-15 16:15:48 +02:00
Florent de Lamotte
6bf788ad82 telemetry ok 2025-05-15 12:27:13 +02:00
Florent
9ecc98bdc0 fix for telemetry (ignore 8 last bytes) 2025-05-14 22:43:29 +02:00
Florent de Lamotte
4c72ee5197 error in manual add contact 2025-05-14 22:04:12 +02:00
Florent de Lamotte
0aa586fe4e parse telemetry data with pycayennelpp 2025-05-14 14:48:11 +02:00
Florent
7ecd237377 get/set telemetry_mode 2025-05-13 22:51:10 +02:00
Alex Wolden
8d805de78d add the ability to subscribe to LOGIN_SUCCESS event 2025-05-12 22:35:53 -07:00
Florent de Lamotte
3a26acee93 solved issue when no custom variable 2025-05-05 17:33:40 +02:00
Florent de Lamotte
27f87075d2 custom vars 2025-05-05 15:03:45 +02:00
Florent
aef1801446 initial support for telemetry to see if things come in 2025-05-03 17:52:16 +02:00
Florent
6a3da79af2 correct SNR values in messages 2025-04-18 21:40:59 +02:00