Jakeler / ble-serial

"RFCOMM for BLE" a UART over Bluetooth low energy (4+) bridge for Linux, Mac and Windows
https://blog.ja-ke.tech/tags/#bluetooth
MIT License
264 stars 37 forks source link

Improve characteristic selection and checking #28

Closed Jakeler closed 3 years ago

Jakeler commented 3 years ago

Idea is to filter by included list or user supplied uuid AND filter by required permission flags, instead of asserting this later. Result should be exactly one, raise otherwise. If < 1: No characteristic with {req_prop} property found! if > 1: Multiple matching {type} characteristics found, please specify one Include options with details in log, especially on error.