zephyr/samples/bluetooth/shell
Luiz Augusto von Dentz a52d54cc3e Bluetooth: Add gatt-discover command to btshell
This adds gatt-discover which works as follow:

btshell> gatt-discover <bdaddr> <bdaddr_type> <uuid> [start_handle] [end_handle]
bt: bt_gatt_discover (0x0010cb10): uuid 0x180d start_handle 0x0001 end_handle 0xffff
Discover pending
btshell> bt: bt_att_recv (0x0010ed0c): Received ATT code 0x07 len 5
bt: att_handle_find_type_rsp (0x0010ed0c):
bt: att_find_type_rsp (0x0010ed0c): err 0x00
bt: att_find_type_rsp (0x0010ed0c): start_handle 0x000a end_handle 0x0011
Discover found handle 10
bt: bt_gatt_discover (0x0010ed0c): uuid 0x180d start_handle 0x0011 end_handle 0xffff
bt: bt_att_recv (0x0010ed0c): Received ATT code 0x01 len 5
bt: att_error_rsp (0x0010ed0c): request 0x06 handle 0x0011 error 0x0a
bt: att_find_type_rsp (0x0010ed0c): err 0x0a
Discover destroy

Change-Id: Ic0b28f19e4932e26b2eae2d19f62f6be6e1efa9c
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2016-02-05 20:14:35 -05:00
..
src Bluetooth: Add gatt-discover command to btshell 2016-02-05 20:14:35 -05:00
Makefile Rename TIMO -> ZEPHYR 2016-02-05 20:14:16 -05:00
prj_arm.conf Bluetooth: Add ARM configuration for shell app 2016-02-05 20:14:02 -05:00
prj_x86.conf Bluetooth: Add Bluetooth shell sample application 2016-02-05 20:13:57 -05:00
prj.mdef Rename VPF files to use MDEF file extension 2016-02-05 20:14:15 -05:00
README Bluetooth: Update README with recent changes 2016-02-05 20:13:57 -05:00

First serial line is multiplexed with qemu monitor and bluetooth shell
(btshell) is running there. Use help to check list of commands.