Adam-Langley / pybleno

A direct port of the Bleno bluetooth LE peripheral role library to Python2/3
MIT License
68 stars 34 forks source link

Add the 'BLENO_HCI_DEVICE_ID' environment feature #53

Open c3r34lk1ll3r opened 3 years ago

c3r34lk1ll3r commented 3 years ago

Added the BLENO_HCI_DEVICE_ID feature in hci_socket/Hci.py.

As I understand, the variable _deviceId is unused so I used for handling the conversion from string to int. This is a quick fix that it works in my environment but I don't have the complete vision of the code. Let me know if this breaks something.