Commit graph

139 commits

Author SHA1 Message Date
Alex Wolden
bb2b75e42e Add command queue to command system 2025-08-21 19:37:52 -07:00
Alex Wolden
b0dd9d1123 Refactor command system to be queue based 2025-08-21 19:08:57 -07:00
fdlamotte
e92eb273d8
Merge pull request #20 from cheetahdotcat/main
fixed reader.py missing byteorder
2025-08-19 12:40:19 +02:00
Florent
bc9a04b296 updated ble_t1000 connection 2025-08-19 11:52:14 +02:00
cheetah
5ed4e07c86 fixed reader.py missing byteorder 2025-08-19 11:27:28 +02:00
Florent
565597e437 ver 2025-08-08 14:19:09 +02:00
Florent
4bf5f425ec don't connect if already connected 2025-08-08 14:18:42 +02:00
Florent
932a491986 remove the use of set_disconnected_callback 2025-08-07 19:23:06 +02:00
Florent
047f33f9e9 restore cx parameters upon disconnect (client and device) 2025-08-06 22:40:25 +02:00
Florent
790f25498c add safeguard for other kind of addresses 2025-08-06 20:08:42 +02:00
Florent
336f2f3d68 let the user pass a device when creating ble_cx 2025-08-06 11:49:24 +02:00
Florent
aade4f6414 pushed ver to 2.1 to reflect refactor 2025-08-06 10:59:47 +02:00
fdlamotte
2fac1e0cf0
Merge pull request #16 from ventz/feature/refactor
Feature/refactor PR
2025-08-06 10:56:45 +02:00
fdlamotte
4ce3a6fd9a
Merge branch 'main' into feature/refactor 2025-08-06 10:56:24 +02:00
fdlamotte
dd4c96a784
Merge pull request #17 from fdlamotte/awolden/timing-and-event-fixes
Awolden/timing and event fixes
2025-08-06 08:41:03 +02:00
Alex Wolden
43e2cfc724 timing and test fixes 2025-08-05 23:08:17 -07:00
Alex Wolden
1ead55b5b5 Update serial cx to more smartly await for connection 2025-08-05 20:45:32 -07:00
Alex Wolden
f9f7b11f46 Fix event loop deadlock issue 2025-08-05 20:39:22 -07:00
Alex Wolden
968e42c6c8 Add testing workflow 2025-08-05 13:21:30 -07:00
Alex Wolden
1674274929
Merge pull request #15 from ventz/main
Fix: Improved BLE Connection Logic on macOS
2025-08-05 13:04:26 -07:00
Ventz Petkov
f4d3be1360 Fix: Improved BLE Connection Logic on macOS 2025-08-05 15:52:44 -04: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
Ventz Petkov
c19fd166f8 Fix: Improved BLE Connection Logic on macOS 2025-08-05 07:50:59 -04:00
Florent
999bf2ec8b v2.0.4 2025-08-02 09:26:36 +02:00
fdlamotte
6cd7da6c2a
Merge pull request #14 from Cisien/cisien/add-rx-airtime
Add support for reading the rx airtime field
2025-08-02 08:28:08 +02: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
fbb6e74b15 ver bump 2025-07-28 13:28:57 +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
3b34d0d2c6 v2.0.0 2025-07-19 10:16:34 +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