ThomasGerstenberg / blatann

Python BLE library for using Nordic nRF52 with Connectivity firmware
BSD 3-Clause "New" or "Revised" License
72 stars 21 forks source link

execption triggered in notify(): Error occurred while handling event 'Write Event' #139

Closed juntujerry closed 1 year ago

juntujerry commented 1 year ago

in event_type.py, I have trigged this exception "Error occurred while handling event 'Write Event'. Sender: Characteristic: , CharProps(w), attributes: [ u t f 8], Event Args: WriteEventArgs(value= HEX"

However this notification error does not affect sender system. and it happened sporadically.

why is this happened, does it indicate that I've send anything wrong?

Thanks.

ThomasGerstenberg commented 1 year ago

Would you be able to provide logs at DEBUG level? looks like it's trying to set the character prop attributes to utf8 rather than the actual props

ThomasGerstenberg commented 1 year ago

I think this issue is now fixed. Closing this issue for now, can reopen if it's still reproducible on latest master