zephyr/tests
Arkadiusz Lichwa 9fff70dbe5 Bluetooth: shell: Add support to retrieve A2SRC record
Adds to BT shell app functionality to trigger to be found on remote
A2SRC UUID. Implements user callback to read resolved response data
and uses existing SDP client API to read attributes values.

> HCI Event: Number of Completed Packets (0x13) plen 5
        Num handles: 1
        Handle: 77
        Count: 1
> ACL Data RX: Handle 77 flags 0x02 dlen 48
      Channel: 64 len 44 [PSM 1 mode 0] {chan 0}
      SDP: Service Search Attribute Response (0x07) tid 2 len 39
        Attribute bytes: 36
        Continuation state: 0
        Combined attribute bytes: 89
          Attribute list: [len 84] {position 0}
            Attribute: Service Record Handle (0x0000) [len 2]
              0x00010005
            Attribute: Service Class ID List (0x0001) [len 2]
              UUID (3) with 2 bytes [0 extra bits] len 3
                Audio Source (0x110a)
            Attribute: Protocol Descriptor List (0x0004) [len 2]
              Sequence (6) with 6 bytes [8 extra bits] len 8
                UUID (3) with 2 bytes [0 extra bits] len 3
                  L2CAP (0x0100)
                Unsigned Integer (1) with 2 bytes [0 extra bits] len 3
                  0x0019
              Sequence (6) with 6 bytes [8 extra bits] len 8
                UUID (3) with 2 bytes [0 extra bits] len 3
                  AVDTP (0x0019)
                Unsigned Integer (1) with 2 bytes [0 extra bits] len 3
                  0x0102
            Attribute: Browse Group List (0x0005) [len 2]
              UUID (3) with 2 bytes [0 extra bits] len 3
                Public Browse Root (0x1002)
            Attribute: Bluetooth Profile Descriptor List (0x0009) [len 2]
              Sequence (6) with 6 bytes [8 extra bits] len 8
                UUID (3) with 2 bytes [0 extra bits] len 3
                  Advanced Audio Distribution (0x110d)
                Unsigned Integer (1) with 2 bytes [0 extra bits] len 3
                  0x0102
            Attribute: Unknown (0x0100) [len 2]
              Advanced Audio [len 15]
            Attribute: Unknown (0x0311) [len 2]
              0x0001
< ACL Data TX: Handle 77 flags 0x00 dlen 12
      L2CAP: Disconnection Request (0x06) ident 10 len 4
        Destination CID: 65

Change-Id: I8938d9eebda31f3d252ff49adc1a96abfcbc5751
Signed-off-by: Arkadiusz Lichwa <arkadiusz.lichwa@tieto.com>
2017-02-05 22:39:25 +02:00
..
benchmarks tests: benchmarks: put all benchmarks in the same folder 2017-01-31 21:36:46 +00:00
bluetooth Bluetooth: shell: Add support to retrieve A2SRC record 2017-02-05 22:39:25 +02:00
booting/stub license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
compliance tests/compiance/checkpatch: force the format to 'email' 2016-11-10 19:30:32 +00:00
crypto license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
drivers tests: add zephyr i2c driver api test 2017-02-04 19:31:31 +00:00
fs/fat_fs libc/minimal: Fix definition of ssize_t 2017-02-01 13:57:43 -08:00
include tests: include: Move timestamp.h into common location 2017-01-30 21:33:47 +00:00
kernel tests: kernel: mem_heap: added api and concept tests 2017-02-04 19:36:50 +00:00
legacy riscv32: timer: replace riscv_qemu_driver by the generic riscv_machine_driver 2017-02-03 19:20:52 +01:00
net tests: net: Add tests for network interface 2017-02-03 15:59:18 +02:00
power license: fix SPDX headings on new tests 2017-01-26 20:01:39 +00:00
subsys/debug/gdb_server license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
unit license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
ztest ztest: use an aligned stack size 2017-01-24 23:42:41 +00:00
defaults.tc testcases: introduce defaults to build/deploy/evaluate 2016-07-23 18:31:18 +00:00
Kconfig license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Makefile tests: Add a generic testing framework 2016-09-30 21:17:39 +00:00
Makefile.test tests: Add a generic testing framework 2016-09-30 21:17:39 +00:00