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
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
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
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
Alex Wolden
8abe7c5ed8
Export binary req type
2025-09-07 12:28:26 -07: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
Alex Wolden
7e74c02a00
Add the pubkey prefix as a filterable attribute in the reader
2025-08-28 13:08:35 -07:00
George Kyriazis
c42cc910e4
Correctly use client in BLEConnection
2025-08-27 22:58:48 -05:00
cheetah
5ed4e07c86
fixed reader.py missing byteorder
2025-08-19 11:27:28 +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
fdlamotte
4ce3a6fd9a
Merge branch 'main' into feature/refactor
2025-08-06 10:56:24 +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
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
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