zephyr/include/bluetooth
Szymon Janc 2caa5f1442 Bluetooth: Track role change for BR/EDR connections
This make sure conn object is using correct role.

< HCI Command: Create Connection (0x01|0x0005) plen 13
        Address: 20:68:9D:60:A1:E4 (Liteon Technology Corporation)
        Packet type: 0xcc18
          DM1 may be used
          DH1 may be used
          DM3 may be used
          DH3 may be used
          DM5 may be used
          DH5 may be used
        Page scan repetition mode: R2 (0x02)
        Page scan mode: Mandatory (0x00)
        Clock offset: 0x0000
        Role switch: Allow slave (0x01)
> HCI Event: Command Status (0x0f) plen 4
      Create Connection (0x01|0x0005) ncmd 1
        Status: Success (0x00)
> HCI Event: Role Change (0x12) plen 8
        Status: Success (0x00)
        Address: 20:68:9D:60:A1:E4 (Liteon Technology Corporation)
        Role: Slave (0x01)
> HCI Event: Connect Complete (0x03) plen 11
        Status: Success (0x00)
        Handle: 11
        Address: 20:68:9D:60:A1:E4 (Liteon Technology Corporation)
        Link type: ACL (0x01)

Change-Id: I65cd8ba36f0e5317d79d7e4d884ee530e1f8b2a3
Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
2016-10-16 09:00:57 +03:00
..
a2dp.h Bluetooth: A2DP: Added Connect API 2016-10-04 10:55:04 +00:00
att.h Bluetooth: GATT: Add queuing support 2016-09-07 08:17:26 +03:00
bluetooth.h Bluetooth: Fix compiler warnings/errors related to string casts 2016-10-04 12:44:24 +00:00
buf.h Bluetooth: doc: Fix displacement of HCI buffer description 2016-07-19 07:27:48 +00:00
conn.h Bluetooth: doc: Fix displacement of conn type description 2016-07-19 07:27:29 +00:00
driver.h Bluetooth: Add priority buffer for handling critical HCI events 2016-06-29 14:51:51 +00:00
gatt.h Bluetooth: GATT: Add queuing support 2016-09-07 08:17:26 +03:00
hci_raw.h Bluetooth: Add missing guards to hci_raw.h header file 2016-09-07 08:17:26 +03:00
hci.h Bluetooth: Track role change for BR/EDR connections 2016-10-16 09:00:57 +03:00
hfp_hf.h Bluetooth: HFP HF: Initialize Handsfree profile 2016-09-14 08:45:45 +03:00
l2cap.h Bluetooth: Refactor distribution of security procedure status 2016-10-04 15:15:40 +00:00
log.h Bluetooth: log: Include nanokernel.h to use BT_ASSERT() 2016-09-14 08:45:45 +03:00
rfcomm.h Bluetooth: RFCOMM: Fix some remaining white-space issues 2016-10-04 08:12:14 +03:00
sdp.h Bluetooth: SDP: Server: Initialize and accept incoming connections 2016-10-04 08:12:14 +03:00
storage.h Bluetooth: Add BT_STORAGE_ADDRESSES key to storage API 2016-10-16 09:00:57 +03:00
uuid.h Bluetooth: UUID: Add 32bit UUID support 2016-09-07 08:17:26 +03:00