Improve characteristic selection and checking
Jakeler opened this issue · comments
Jake commented
- Allow also
write
property, for #27 - Check for correct props earlier, only chose it if this matches
Idea is to filter by included list or user supplied uuid AND filter by required permission flags, instead of assert
ing 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.