zephyr/subsys/bluetooth/host
Arkadiusz Lichwa 7fc2a8a4e2 Bluetooth: SDP: Implement ServiceSearchAttribute request PDU
Initial implementation one of basic UUID resolving request PDU based on
Service Search Attribute PDU specification [Core 4.2 Vol 3 Part B 4.7.1]
The request applies approach to query using single only UUID pattern
and getting all attributes for given UUID. The initial PDU transaction
is requested on PSM SDP L2CAP channel connected state.

> ACL Data RX: Handle 77 flags 0x02 dlen 18
      L2CAP: Configure Response (0x05) ident 12 len 10
        Source CID: 64
        Flags: 0x0000
        Result: Success (0x0000)
        Option: Maximum Transmission Unit (0x01) [mandatory]
          MTU: 64
> HCI Event: Number of Completed Packets (0x13) plen 5
        Num handles: 1
        Handle: 77
        Count: 1
< HCI Command: Host Number of Completed Packets (0x03|0x0035) plen 5
        Num handles: 1
        Handle: 77
        Count: 1
< ACL Data TX: Handle 77 flags 0x00 dlen 24
      Channel: 64 len 20 [PSM 1 mode 0] {chan 0}
      SDP: Service Search Attribute Request (0x06) tid 3 len 15
        Search pattern: [len 5]
          Sequence (6) with 3 bytes [8 extra bits] len 5
            UUID (3) with 2 bytes [0 extra bits] len 3
              OBEX Object Push (0x1105)
        Max record count: 65535
        Attribute list: [len 7]
          Sequence (6) with 5 bytes [8 extra bits] len 7
            Unsigned Integer (1) with 4 bytes [0 extra bits] len 5
              0x0000ffff
        Continuation state: 0
> HCI Event: Number of Completed Packets (0x13) plen 5
        Num handles: 1
        Handle: 77
        Count: 1
> ACL Data RX: Handle 77 flags 0x02 dlen 68
      Channel: 64 len 64 [PSM 1 mode 0] {chan 0}
      SDP: Service Search Attribute Response (0x07) tid 3 len 59
        Attribute bytes: 48
        Continuation state: 8
        8d 55 59 58 30 00 00 00                          .UYX0...

Jira: ZEP-1112

Change-Id: I0ed1d989a5abe030f1c70d4d1f104d488eafb2b3
Signed-off-by: Arkadiusz Lichwa <arkadiusz.lichwa@tieto.com>
2017-01-05 08:49:16 +02:00
..
a2dp_internal.h Bluetooth: Move Bluetooth host stack to subsys 2016-11-04 22:05:05 +02:00
a2dp.c Bluetooth: Remove not needed nano_work.h includes 2016-11-11 07:59:15 +02:00
at.c Bluetooth: AT: Command parsing for range of values 2016-12-24 08:42:15 +02:00
at.h Bluetooth: AT: Command parsing for range of values 2016-12-24 08:42:15 +02:00
att_internal.h Bluetooth: Move Bluetooth host stack to subsys 2016-11-04 22:05:05 +02:00
att.c Bluetooth: fix write cmd handling 2017-01-05 08:49:16 +02:00
avdtp_internal.h Bluetooth: AVDTP: Add AVDTP Pending Request 2016-12-24 08:42:15 +02:00
avdtp.c Bluetooth: AVDTP: Add AVDTP_Timer & Handler 2016-12-24 08:42:15 +02:00
conn_internal.h net: buf: Redesigned pool & buffer allocation API 2016-12-13 21:41:53 +00:00
conn.c Bluetooth: Fix another incorrect memcpy call 2017-01-05 08:49:16 +02:00
ecc.h Bluetooth: Move Bluetooth host stack to subsys 2016-11-04 22:05:05 +02:00
gatt_internal.h Bluetooth: Move Bluetooth host stack to subsys 2016-11-04 22:05:05 +02:00
gatt.c Bluetooth: Take advantage of new net_buf_add_mem() API 2017-01-05 08:49:16 +02:00
hci_core.c Bluetooth: Fix incorrect call to memcpy() 2017-01-05 08:49:16 +02:00
hci_core.h Bluetooth: Remove inline declaration from bt_le_conn_params_valid 2016-12-16 10:27:48 +02:00
hci_ecc.c Bluetooth: Add timeout to event & ACL buffer allocation functions 2016-12-24 08:42:15 +02:00
hci_ecc.h Bluetooth: Move Bluetooth host stack to subsys 2016-11-04 22:05:05 +02:00
hci_raw_internal.h Bluetooth: Controller: Implement ECC commands 2016-12-03 17:09:38 +00:00
hci_raw.c Bluetooth: Add timeout to event & ACL buffer allocation functions 2016-12-24 08:42:15 +02:00
hfp_hf.c Bluetooth: AT: Improve API() to work with buffer increment 2016-12-24 08:42:15 +02:00
hfp_internal.h Bluetooth: HFP HF: SLC connection-Send/Parse BRSF 2016-11-09 08:57:52 +02:00
Kconfig Bluetooth: Kconfig: Fix logging dependency on printk 2016-12-16 10:27:48 +02:00
keys_br.c Bluetooth: Remove not needed nano_work.h includes 2016-11-11 07:59:15 +02:00
keys.c Bluetooth: Remove not needed nano_work.h includes 2016-11-11 07:59:15 +02:00
keys.h Bluetooth: Implement bt_storage_clear() 2016-11-09 08:57:52 +02:00
l2cap_br.c Bluetooth: Take advantage of new net_buf_add_mem() API 2017-01-05 08:49:16 +02:00
l2cap_internal.h net: buf: Redesigned pool & buffer allocation API 2016-12-13 21:41:53 +00:00
l2cap.c Bluetooth: Take advantage of new net_buf_add_mem() API 2017-01-05 08:49:16 +02:00
log.c Bluetooth: Move Bluetooth host stack to subsys 2016-11-04 22:05:05 +02:00
Makefile Bluetooth: Kconfig: Restructure for a more logical hierarchy 2016-11-11 07:59:15 +02:00
monitor.c Bluetooth: Use _vprintk() instead of _prf() 2016-12-11 04:26:06 +00:00
monitor.h Bluetooth: Move Bluetooth host stack to subsys 2016-11-04 22:05:05 +02:00
rfcomm_internal.h Bluetooth: RFCOMM: Handle non supported message types 2017-01-05 08:49:16 +02:00
rfcomm.c Bluetooth: RFCOMM: Handle non supported message types 2017-01-05 08:49:16 +02:00
sdp_internal.h Bluetooth: SDP: Implement ServiceSearchAttribute request PDU 2017-01-05 08:49:16 +02:00
sdp.c Bluetooth: SDP: Implement ServiceSearchAttribute request PDU 2017-01-05 08:49:16 +02:00
smp_null.c net: buf: Remove the need for net_buf_pool_init() 2016-12-15 09:58:02 +02:00
smp.c Bluetooth: SMP: Add support for CT2 auth bit 2016-12-16 10:27:48 +02:00
smp.h Bluetooth: SMP: Add support for CT2 auth bit 2016-12-16 10:27:48 +02:00
storage.c Bluetooth: Switch from printf to printk functions 2016-12-09 08:18:24 +02:00
uuid.c Bluetooth: Remove not needed header in uuid.c file 2016-12-09 19:34:59 +01:00