homekit_python icon indicating copy to clipboard operation
homekit_python copied to clipboard

BlePairing::_convert_from_python produces errors with TLVs

Open kvaellning opened this issue 2 years ago • 0 comments

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

  1. translates an already encoded value to a hex string,
  2. 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.

kvaellning avatar Apr 11 '22 12:04 kvaellning