Parent: 35947e26771c89d965aec5ad059267bb8c15298e
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2022-12-06 23:01:28
Tree: a97071b0e02dab190cfbf4cd71de549b72c565a8
client: Allow gatt.select-attribute to work with local attributes This allows gatt.select-attribute local to select from the registered attributes: [bluetooth]# gatt.select-attribute local /org/bluez/app/service0/chrc0 [/org/bluez/app/service0/chrc0]# gatt.write 0x01 [CHG] Attribute /org/bluez/app/service0/chrc0 (%UUID) written [/org/bluez/app/service0/chrc0]# gatt.read 01 . [/org/bluez/app/service0/chrc0]# gatt.select-attribute local /org/bluez/app/service0/chrc1 [/org/bluez/app/service0/chrc1]# gatt.write 0x01 [CHG] Attribute /org/bluez/app/service0/chrc1 (%UUID) written [/org/bluez/app/service0/chrc1]# gatt.read 01 . [/org/bluez/app/service0/chrc1]#
Diffstat
| M | client/gatt.c | | | 298 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| M | client/gatt.h | | | 4 | ++++ |
| M | client/main.c | | | 48 | ++++++++++++++++++++++++++++++++++++++++- - |
3 files changed, 285 insertions(+), 65 deletions(-)