Commit graph

174 commits

Author SHA1 Message Date
Florent
322736024a fix 2026-03-05 14:53:43 -04:00
Florent
91be955044 error when msg_hash was not here 2026-03-05 14:41:19 -04:00
Florent
9f66885594 verify if channels has hashes ... 2026-03-05 13:56:29 -04:00
Florent
3d47d6d8b2 if possible, add path and rssi to channel messages 2026-03-05 11:50:41 -04:00
Florent
b1abb8e4d3 extract some info from log_rx 2026-03-05 09:32:19 -04:00
Florent
3716ebf77e handle multibytes in path discovery 2026-02-27 08:59:17 -04:00
Florent
f2def83f30 fix path len issue when getting contacts 2026-02-27 08:33:27 -04:00
Florent
ee75ed12dd add get_path_hash_mode 2026-02-27 07:01:20 -04:00
Florent
dd6d6350d9 multibyte trace support 2026-02-26 22:51:52 -04:00
Florent
32907bb5c1 handle path_hash_size in change_path 2026-02-26 16:48:23 -04:00
Florent
26730d1efa support path_hash_mode 2026-02-26 14:24:02 -04:00
fdlamotte
2c259b9743
Merge pull request #60 from agessaman/fix-sync-callbacks
Fix: Sync callbacks called inline in `_process_events` to eliminate `no_event_received` race
2026-02-21 07:30:25 -04:00
agessaman
a9f68c2971 modify event callback handling to call synchronous callbacks inline, ensuring futures are resolved before waiting. This prevents race conditions when scheduling callbacks asynchronously. 2026-02-19 19:31:56 -08:00
Florent
3f56190423 Revert PR 45 2026-02-18 06:50:44 -04:00
Florent
e51838177f fix lpp values for voltage and current as signed 2026-02-17 08:52:56 -04:00
Florent
6254440a2f disconnect as soon as we have no response to appstart 2026-02-16 14:09:14 -04:00
Florent
8c33c09ac1 handle repeat mode 2026-02-14 15:36:17 -04:00
Florent
d254c8e6ff update timeout 2026-02-14 14:34:01 -04:00
Florent
9100a979dc some packet types were commands vim packets.py ! 2026-02-14 09:50:36 -04:00
Florent
03a2a7c64e get/set repeat mode 2026-02-14 09:39:07 -04:00
Florent
b8294cfb2f change frame reader for TCP 2026-02-12 21:19:11 -04:00
Florent
0e5d0dec2e rewrote serial frame parser 2026-02-12 11:30:44 -04:00
fdlamotte
091baed9f7
Merge pull request #52 from pe1hvh/fix/event-race-condition
fix: subscribe before send to prevent event race condition
2026-02-10 09:01:55 -04:00
Alex Samorukov
36048e7802
Add optional bleak package import handling
Make bleak optional by checking for import availability.
2026-02-10 10:30:51 +01:00
pe1hvh
8b3149cb7e fix: subscribe before send to prevent event race condition 2026-02-09 22:53:27 +01:00
Florent
b11a54eaf9 use contact path for anon requests, defaults to 0 hop 2026-02-03 15:19:21 -04:00
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
fdlamotte
a2d8b3e059
Merge pull request #48 from agessaman/add-recv-errors
add support for recv_errors in STATUS_PACKETS response
2026-01-30 10:48:11 -04:00
agessaman
ad7e48d028 add support for recv_errors in STATUS_PACKETS response 2026-01-29 20:41:48 -08: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
Florent de Lamotte
fa330a5a12 migrate to pyserial-asyncio-fast 2025-12-19 10:57:21 +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
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
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
Florent
307e517f5e req_neighbours 2025-11-09 16:51:54 +01:00