WriteValue: Operation failed with ATT error: 0x0e
sbinet opened this issue · 3 comments
sbinet commented
hi,
I am using go-bluetooth@1c7f8793aa7e and when issueing a write command to a device (Aranet4), I sometimes receive:
aranet4: could not read data: could not read param=1: could not write command: Operation failed with ATT error: 0x0e
here is the place where this occurs:
- https://git.sr.ht/~sbinet/aranet4/tree/v0.5.0/item/device.go#L180
- https://git.sr.ht/~sbinet/aranet4/tree/v0.5.0/item/device.go#L217
- https://git.sr.ht/~sbinet/aranet4/tree/v0.5.0/item/device.go#L232
searching a bit around, I've found this issue:
which seems similar (although I do send the command with "type":"request"
)
any ideas?
muka commented
No idea but this seems happening underneath the library itself. Can you reproduce using bluetoothctl or another client?
sbinet commented
I am not fluent in bluetooth.
would you have a few pointers forhow to achieve the equivalent of WriteValue
with bluetoothctl
?
muka commented
I found this reference
https://www.spinics.net/lists/linux-bluetooth/msg74637.html
I know it is possible but not much used to it :)