How to use gatttool non-interactive mode

后端 未结 1 1129
说谎
说谎 2021-01-13 15:02

I want to write gatttool in non-interactive mode.

$ sudo gatttool -i hci0 -b 78:A5:04:44:0A:57 -I
[78:A5:04:44:0A:57][LE]> connect
Attempting         


        
1条回答
  •  生来不讨喜
    2021-01-13 15:36

    the option is not --char-write but a --char-write-req.

    Total command must be:

    sudo gatttool -i hci0 -b 78:A5:04:44:0A:57 --char-write-req -a 0x0025 -n ff
    

    0 讨论(0)
提交回复
热议问题