You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am sending TLV-data to an accessory. Eversthing appears to go well, until I reach BlePairing::_convert_from_python (controller/ble_impl__init__.py:255), which
translates an already encoded value to a hex string,
re-encodes it to bytes
This destroys the TLV, and I have no idea why this is done.
I would treat this as an issue, since it is totally unexpected and only found it after meditating over the debug outputs.
The text was updated successfully, but these errors were encountered:
kvaellning
pushed a commit
to kvaellning/homekit_python
that referenced
this issue
Apr 11, 2022
Since TLVs (and data) are defined on byte level, the values are destroyed
by converting them to string and back to bytes.
This solves issue jlusiardi#238.
I am sending TLV-data to an accessory. Eversthing appears to go well, until I reach
BlePairing::_convert_from_python
(controller/ble_impl__init__.py:255
), whichbytes
This destroys the TLV, and I have no idea why this is done.
I would treat this as an issue, since it is totally unexpected and only found it after meditating over the debug outputs.
The text was updated successfully, but these errors were encountered: