spacecheese / bluez_peripheral

A library for building BLE peripherals using GATT and bluez
MIT License
38 stars 8 forks source link

DBusError: Failed to parse advertisement #34

Closed wejedge closed 11 months ago

wejedge commented 11 months ago

Hi, for the life of me I can't get this to work. I must be doing something wrong?

advert = Advertisement("My Peripheral", [], 0, 60, serviceData={'11223344':b'\0x01'})

spacecheese commented 11 months ago

Hello, thanks for the report. The serviceData type was wrong internally should be fixed in the PR (if you could confirm it also works for you) pip install -e git+https://github.com/spacecheese/bluez_peripheral.git@fix-service-data#egg=bluez_peripheral

wejedge commented 11 months ago

Hey there, thanks for the quick reply. Yes that update works lovely. Keep up the good work. ;)