IanHarvey / bluepy

Python interface to Bluetooth LE on Linux
Other
1.6k stars 490 forks source link

Re #302 (OOB support) : switch from ord() to struct.unpack_from() for python 3 support. #327

Closed scourc closed 5 years ago

scourc commented 5 years ago

Hi,

As discussed in commented in #302 , switch from ord to struct.unpack_from.

However only tested in python 2 as of today, reading local OOB on a Raspberry Pi 3, giving OOB data to a BLE device, and then performing secure pairing.

IanHarvey commented 5 years ago

Thanks for the PR. I've just got round to merging it, and it should be in the next release (probably 1.3.1).

Cheers Ian