colin-guyon / py-bluetooth-utils

Python module containing bluetooth utility functions, in particular for easy BLE scanning and advertising
MIT License
73 stars 20 forks source link

Python 3.10 issue #9

Closed satmandu closed 2 years ago

satmandu commented 2 years ago

I'm getting this error when I use bluetooth_utils.py

    bluez.hci_send_cmd(sock, OGF_LE_CTL, OCF_LE_SET_SCAN_PARAMETERS, cmd_pkt)
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
satmandu commented 2 years ago

FIxed by https://github.com/pybluez/pybluez/pull/427

On ubuntu 22.04 I have a patch up at https://launchpad.net/~satadru-umich/+archive/ubuntu/updates

colin-guyon commented 2 years ago

Thank you to report that ;)