Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

update local gatt characteristic value using bluetoothctl

I have set up a gatt Server on an raspberry pi using bluetoothctl and BlueZ 5.50 (according to this thread: BlueZ: How to set up a GATT server from the command line) I can connect to the gatt server from an other machine and also read the given value. Now I want to try notify.

The subscription works fine, but how do I update the value on the local gatt server? I can't use select-attribute because my local services an characteristics do not show up in the list that appears when using autocomplete.

Would be nice if someone can help me with this problem.

like image 446
herrmann_wst Avatar asked Dec 29 '25 21:12

herrmann_wst


1 Answers

view the server DB

list-attributes local

select the attribute before performing opertaion on that charecteristic

select-attribute local

like image 98
Ordit Gross Avatar answered Dec 31 '25 13:12

Ordit Gross



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!