-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Description
Hey, first off - awesome work on the library!
Second - I'm not sure if I'm doing something wrong, but when I try running the esp32 - ble_bas_peripheral.rs/ble_bas_peripheral_sec.rs examples, I run into some problems when writing to the custom characteristic.
- Everything connected to battery level works (reading and notifications).
- I can read the status characteristic (
408813df-5dd4-1f87-ec11-cdb001100000), but I can't find a way to write to it.
Here's how I tried writing to the characteristic (bluetoothctl):
pair FF:E4:...
trust FF:E4:...
menu gatt
select-attribute 408813df-5dd4-1f87-ec11-cdb001100000
read
-> returns 00
write 01
-> returns:
Attempting to write /org/bluez/hci0/dev_FF_E4_05_08_8F_FF/service0020/char0026
Failed to write: org.bluez.Error.NotAuthorized
I'm using the esp32 board.
Tested with two machines - one running Arch Linux, the other one NixOS.
Am I missing something obvious? Thanks in advance!
Metadata
Metadata
Assignees
Labels
No labels