Commit graph

79 commits

Author SHA1 Message Date
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
Ventz Petkov
c19fd166f8 Fix: Improved BLE Connection Logic on macOS 2025-08-05 07:50:59 -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
411a199e1b default timeout for get_msg 2025-07-28 13:28:35 +02:00
Florent
69726d2690 specify encoding in decode and ignore errors 2025-07-21 19:24:08 +02:00
Florent de Lamotte
7920180137 enable error_only logging 2025-07-18 14:16:56 +02:00
Florent
00cc5468d5 auto update contacts property 2025-07-17 08:01:44 +02:00
Florent de Lamotte
665dea3648 use lastmod to speedup contact updates 2025-07-16 22:57:51 +02:00
Florent de Lamotte
742c498a14 change override_timeout to timeout 2025-07-16 17:14:17 +02:00
Florent de Lamotte
837ff3af89 override timeout for contact 2025-07-16 16:57:04 +02:00
Florent
9d64ff8278 req_acl 2025-07-16 10:49:44 +02:00
Florent
f190b60426 formating lpp 2025-07-15 18:03:01 +02:00
Florent
44671259b5 getting amm from sensors 2025-07-15 16:47:41 +02:00
Florent
de00634c26 create binary_commands to handle binary data in req_binary 2025-07-15 13:39:19 +02:00
Florent
cb6379e4c5 implement binary requests 2025-07-15 10:34:38 +02:00
Florent
a4f6114870 some changes on managing pending contacts 2025-07-13 16:07:36 +02:00
Florent de Lamotte
460196a754 manual add contacts 2025-07-11 16:58:49 +02:00
Florent
f4a4c5cfd0 adding an optional parameter to ensure_contact 2025-07-11 12:18:54 +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
29ce8ec6d6 default value for self.reader in serial_cx 2025-07-10 17:58:19 +02:00
Florent
d4278b8afa deal with serial_cx issues 2025-07-10 17:24:01 +02:00
Florent
190fde8a45 change serial setup timeout delay 2025-07-10 12:34:27 +02:00
Florent
21cbed070a support adv loc policy 2025-07-09 17:13:40 +02:00
Alex Wolden
dabc3437dd Add better connection management 2025-06-30 20:23:35 -07: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
Florent
98c2525406 self_telemetry 2025-06-02 14:37:28 +02: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 de Lamotte
ed3adcf1ad implement change flags 2025-05-22 17:09:37 +02:00
Florent
ad87eac280 lpp json : let caller tell how to serialize 2025-05-21 11:03:07 +02:00
Florent
aa43afc3e7 quick and dirty json encoder 2025-05-16 15:39:07 +02:00
Florent de Lamotte
fe2df52403 import contact 2025-05-16 09:44:06 +02:00
fdlamotte
fb62b7888c
Merge pull request #6 from fdlamotte/awolden/fix-issues
Improvements and fixes
2025-05-15 21:32:25 +02:00
Alex Wolden
fda20e623e Add copy to event handling to avoid cross mutations 2025-05-15 11:52:15 -07:00
Florent de Lamotte
7ea3b04a05 implement simpler setters for telemetry, adding contacts ... 2025-05-15 16:15:48 +02:00
Florent de Lamotte
865d42206b change send_other_params to set_other_params 2025-05-15 13:08:38 +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
68dda3aba2 update login script and drastically reduce chattiness of debug logs for setups with a lot of subscriptions 2025-05-12 22:52:13 -07:00
Alex Wolden
8d805de78d add the ability to subscribe to LOGIN_SUCCESS event 2025-05-12 22:35:53 -07:00
Alex Wolden
b3cf2ba7b4 Fix typing on MC top level subscribe method 2025-05-12 21:52:28 -07:00
Alex Wolden
9563a871f1 Fix issue where transports were not disconnecting 2025-05-12 21:51:25 -07:00