Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
Go to file
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
.known-issues known-issues: update rule for TCF summary line 2016-09-16 11:31:27 -07:00
arch arc: add -fno-delete-null-pointer-checks 2017-01-04 19:06:41 +00:00
boards boards/arduino101: Enable GPIO 2016-12-25 19:16:37 +00:00
doc doc: move c library section to subsystems 2017-01-03 17:31:58 +00:00
drivers Bluetooth: Take advantage of new net_buf_add_mem() API 2017-01-05 08:49:16 +02:00
ext ext: Update Nordic MDK header files 2016-12-20 09:14:48 -06:00
include arm: Cortex-M0: Adapt core register code to M0 2017-01-03 22:44:35 +00:00
kernel logging: move event_logger to subsys/logging 2016-12-25 14:34:43 -05:00
lib net: Restructure network protocols 2017-01-02 10:03:19 +01:00
misc kernel: replace all remaining nanokernel occurances 2016-12-25 14:34:43 -05:00
samples Bluetooth: Take advantage of new net_buf_add_mem() API 2017-01-05 08:49:16 +02:00
scripts sanitycheck: reduce number of unnecessary configuration builds 2017-01-05 02:05:58 +00:00
subsys Bluetooth: SDP: Implement ServiceSearchAttribute request PDU 2017-01-05 08:49:16 +02:00
tests Bluetooth: Controller: add init test for BT 4.0 only controller 2017-01-05 08:49:16 +02:00
.checkpatch.conf checkpatch: ignore CONST_STRUCT warnings 2016-11-11 22:12:22 +00:00
.gitattributes
.gitignore testcases: instruct git to ignore *log and outdir-* 2016-06-14 22:01:34 +00:00
.gitreview
.mailmap mailmap: added axy (for Anas Nashif) 2016-12-21 13:49:59 +00:00
Kbuild kernel: move kernel code to kernel/ directly 2016-12-19 14:59:35 -05:00
Kconfig
Kconfig.zephyr usb: move usb subsystem to subsys/usb and cleanup header inclusion 2016-10-31 19:21:42 +00:00
LICENSE
LICENSING.rst LICENSING: clarify licenses of imported / reused code 2016-11-11 01:36:14 +00:00
MAINTAINERS maintainers: update KNOWN ISSUES and MAINTAINERS section 2017-01-04 23:49:29 +00:00
Makefile kernel: move kernel code to kernel/ directly 2016-12-19 14:59:35 -05:00
Makefile.inc tests: introduce Makefile.test 2017-01-03 17:48:44 +00:00
Makefile.test tests: introduce Makefile.test 2017-01-03 17:48:44 +00:00
defaults.tc testcases: catch more fatal kernel error messages 2016-11-11 13:21:16 +00:00
release-notes.rst release-note: initial import with 1.6 release notes 2016-12-03 00:06:23 -05:00
zephyr-env.sh win-build: corrects scripts_path for windows build. 2016-10-15 15:09:54 +00:00