Commit graph

204 commits

Author SHA1 Message Date
fdlamotte
3e70d009bc
Merge pull request #39 from agessaman/dev
Implement on-device signing
2025-12-16 17:59:35 +01: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
a814bd19b6 update documentation to reflect new signing commands 2025-12-15 05:58:18 -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
Florent
01661a9654 v2.2.2 2025-11-25 07:42:00 +01:00
fdlamotte
f7439ceac7
Merge pull request #35 from agessaman/main
Stats PacketType Cleanup
2025-11-25 07:35:17 +01:00
agessaman
f80988208b Clean up packets.py to remove unnecessary comment 2025-11-24 17:41:54 -08: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
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
26b8f2b340 reader: return and warns if packet is empty 2025-11-16 17:22:26 +01:00
Florent
2ccc121bd8 byteorder is now mandatory in to_bytes vim pyproject.toml ! 2025-11-15 18:27:23 +01:00
fdlamotte
fd67639966
Update pyproject.toml to v2.2.0 2025-11-13 20:40:28 +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
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
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
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
4712415a71 ver bump 2025-10-27 16:26:07 +01:00
Florent
9bcb9c5877 disconnect client before returning None 2025-10-27 16:09:44 +01:00
Florent
3c34c6b34e deal with bad established ble cx 2025-10-27 14:45:48 +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
Florent
ec4a62c9ef ensure_contacts now wait for contacts to be there before continuing. 2025-10-19 19:12:05 +02:00
Florent
780a716cd1 ver bump 2025-10-13 12:36:14 +02:00
fdlamotte
00a32a0255
Merge pull request #29 from agessaman/feature/private-key-export
Feature/private key export
2025-10-13 12:35:23 +02:00
agessaman
bc68af6805 removed example from the README 2025-10-12 18:31:44 -07: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
c697c960a6 ver 2025-10-03 12:31:48 +02:00
fdlamotte
ff09da49ba
Merge pull request #28 from alex-vg/main
Implement BLE PIN pairing support for enhanced security
2025-09-28 20:40:24 +02:00
Copilot
29003b94dc
Implement BLE PIN pairing support for enhanced security
* Implement BLE pin pairing support with comprehensive tests and documentation
2025-09-24 00:21:30 +02: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
fdlamotte
7034e1da3b
Merge pull request #27 from meshcore-dev/export-binary-req-type
Export BinaryReqType
2025-09-08 10:23:09 +02:00
Alex Wolden
8abe7c5ed8 Export binary req type 2025-09-07 12:28:26 -07:00