Hallo, ich möchte mir ein BLE Modul kaufen welches per UART gesteuert
werden kann und GATT Profil.
Folgende Befehle sollen ausgeführt werden natürlich in AT commands oder
ähnliches per Python.
1 | sudo bluetoothctl
|
2 | [bluetooth]# connect EB:01:9D:FE:27:B1
|
3 | Attempting to connect to EB:01:9D:FE:27:B1
|
4 | [CHG] Device EB:01:9D:FE:27:B1 Connected: yes
|
5 | Connection successful
|
6 | [CHG] Device EB:01:9D:FE:27:B1 ServicesResolved: yes
|
7 | [Nuimo]# menu gatt
|
8 | [Nuimo]# select-attribute f29b152d-cb19-40f3-be5c-7241ecb82fd2
|
9 | [Nuimo:/service001b/char002f]#
|
10 | [Nuimo:/service001b/char002f]# write data="[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 25, 255]"
|
11 | Invalid value at index 0
|
12 | Attempting to write /org/bluez/hci0/dev_EB_01_9D_FE_27_B1/service001b/char002f
|
13 | [Nuimo:/service001b/char002f]#
|
Gibt es Tipps?