Skip to content

H6159 Light Strip Hardware v2.01.02, Firmware v2.03.11 not working #2

@Lakinator

Description

@Lakinator

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions