Commit Graph

42 Commits

Author SHA1 Message Date
Florent
ce6d14d618 disambiguate between anon and binary 2026-02-02 17:04:42 -04:00
Florent
d57162375a autoadd_config 2026-02-02 13:18:44 -04:00
Florent
3b46986dfa implemented anon binary requests 2026-02-02 11:55:18 -04:00
Florent
ac82eeb905 hashtag is not mandatory anymore in scope names 2026-02-01 09:25:44 -04:00
Michiel Appelman
0283003b04 Adds support for pull-based advert requests and responses. 2026-01-11 21:44:03 +01:00
jkingsman
1ea32885a3 Add typing to send_chan_message with test 2025-12-23 18:40:59 -08:00
agessaman
45c265f9c9 Update BLE signing example to use a default chunk size of 120 bytes and add signature verification with the device's public key. Enhance debug output for data length and signature verification results. 2025-12-15 21:29:12 -08:00
agessaman
1ecc1d8055 Add timeout argument to sign and sign_finish methods for improved BLE operation handling 2025-12-15 19:54:44 -08:00
agessaman
c42c30c25d implement device signing binary frames and sign() command for on-device signing. 2025-12-14 22:23:33 -08:00
Florent
6579efe6b4 import_private_key 2025-12-07 17:41:37 +01:00
fdlamotte
3220c4196d Merge pull request #34 from agessaman/main
Companion Nodes Stats
2025-11-24 10:38:04 +01:00
Florent de Lamotte
5571fef670 try to get a 32 bytes key in send_msg_with_retry 2025-11-20 08:15:07 +01:00
Florent
1de435e46d fix issue with reset_path when sending to an hex prefix 2025-11-19 08:57:00 +01:00
Florent de Lamotte
6b24bb7c7f check key size in _validate_destination 2025-11-18 11:27:59 +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
2ccc121bd8 byteorder is now mandatory in to_bytes vim pyproject.toml ! 2025-11-15 18:27:23 +01:00
Florent
307e517f5e req_neighbours 2025-11-09 16:51:54 +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
057051c8c3 take into account * scope 2025-11-06 11:56:22 +01:00
Florent de Lamotte
5a5f97322d Initial support for transport codes : set_flood_scope 2025-11-05 16:32:08 +01:00
Florent de Lamotte
9b6c799d04 mutli_ack -> multi_acks 2025-10-30 11:08:20 +01:00
Florent de Lamotte
3ad3be82e7 support multiple_acks 2025-10-30 10:59:08 +01:00
Florent
3f8c9658a1 remove anim in get contacts 2025-10-23 21:32:09 +02:00
Florent
7cb4760945 display correct number of dots when fetching contacts 2025-10-23 08:24:46 +02:00
Florent
caabf6dfd9 were missing contacts event 2025-10-22 23:48:25 +02:00
Florent de Lamotte
d619423078 timeout for each contact in get_contacts 2025-10-22 10:21:07 +02:00
Florent
8f0be09f9a revert ensure_contacts and increase timeout in get_contacts 2025-10-20 16:30: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
Florent
60e065b5f6 add min_timeout for some lora commands 2025-09-17 22:01:30 +02:00
Florent
4829680435 use tag instead of pubke_prefix fo req_acl 2025-09-15 20:59:42 +02:00
Florent de Lamotte
83a0e2938f auto channels support 2025-09-15 16:40:55 +02:00
Florent
00e56c0d15 now works when contacts have not been retreived 2025-09-06 15:01:45 +02:00
Florent
b644bd12d9 use dstType instead of contact 2025-09-05 23:36:02 +02:00
Florent de Lamotte
292195473d impl of send_msg_reliable 2025-09-05 13:34:20 +02:00
Florent de Lamotte
0c40cf917e explicit _sync calls for binary, deprecating old ones with an error (non blocking) 2025-09-05 10:08:46 +02: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
28957a4b60 Refactor command system to be queue based 2025-08-29 11:40:03 -07:00
Florent
2b6a4b267b add req_binary 2025-08-29 20:10:15 +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