-
Notifications
You must be signed in to change notification settings - Fork 0
Description
I would appreciate it if you could re-test the script and tell me your hardware and firmware versions that you last tested which worked.
Getting the following error:
$ sudo gatttool -b XX:XX:XX:XX:XX:XX --char-write-req --handle 0x0015 --value 330502FFFF000000000000000000000000000034
Characteristic Write Request failed: Attribute can't be written
Found address with
$ sudo hcitool lescan
LE Scan ... XX:XX:XX:XX:XX:XX GBK_H6159_977C
Info gave me this
$ sudo hcitool leinfo XX:XX:XX:XX:XX:XX
Requesting information ... Handle: 64 (0x0040) LMP Version: 4.1 (0x7) LMP Subversion: 0x2000 Manufacturer: not assigned (1520) Features: 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00
When monitoring with btmon i get the following error:
ACL Data TX: Handle 64 flags 0x00 dlen 27 [hci0] 31.859918
ATT: Write Request (0x12) len 22
Handle: 0x0015
Data: 330502ffff000000000000000000000000000034
ACL Data RX: Handle 64 flags 0x02 dlen 9 [hci0] 31.944283
ATT: Error Response (0x01) len 4
Write Request (0x12)
Handle: 0x0015
Error: Write Not Permitted (0x03)