zephyr/subsys/bluetooth/host
Jaganath Kanakkassery 8166de77db Bluetooth: RFCOMM: Initiate DLC
This patch initiate a DLC when user calls connect. It first does
Parameter negotiation and then establish connection to the
dlci derived from channel given by user.

< ACL Data TX: Handle 256 flags 0x00 dlen 18
      Channel: 64 len 14 [PSM 3 mode 0] {chan 0}
      RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
         Address: 0x03 cr 1 dlci 0x00
         Control: 0xef poll/final 0
         Length: 10
         FCS: 0x70
         MCC Message type: DLC Parameter Negotiation CMD (0x20)
           Length: 8
           dlci 3 frame_type 0 credit_flow 15 pri 0
           ack_timer 0 frame_size 30 max_retrans 0 credits 4

> ACL Data RX: Handle 256 flags 0x02 dlen 18
      Channel: 64 len 14 [PSM 3 mode 0] {chan 0}
      RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
         Address: 0x01 cr 0 dlci 0x00
         Control: 0xef poll/final 0
         Length: 10
         FCS: 0xaa
         MCC Message type: DLC Parameter Negotiation RSP (0x20)
           Length: 8
           dlci 3 frame_type 0 credit_flow 14 pri 0
           ack_timer 0 frame_size 30 max_retrans 0 credits 7

< ACL Data TX: Handle 256 flags 0x00 dlen 8
      Channel: 64 len 4 [PSM 3 mode 0] {chan 0}
      RFCOMM: Set Async Balance Mode (SABM) (0x2f)
         Address: 0x0b cr 1 dlci 0x02
         Control: 0x3f poll/final 1
         Length: 0
         FCS: 0x59

> ACL Data RX: Handle 256 flags 0x02 dlen 8
      Channel: 64 len 4 [PSM 3 mode 0] {chan 0}
      RFCOMM: Unnumbered Ack (UA) (0x63)
         Address: 0x0b cr 1 dlci 0x02
         Control: 0x73 poll/final 1
         Length: 0
         FCS: 0x92

Change-Id: I62a19f624fc4bb89eb9a109a5352fa763c1241d2
Signed-off-by: Jaganath Kanakkassery <jaganathx.kanakkassery@intel.com>
2016-11-18 17:27:01 +05:30
..
Kconfig Bluetooth: Kconfig: Remove deprecated dependency for ECC support 2016-11-18 07:47:50 +02:00
Makefile Bluetooth: Kconfig: Restructure for a more logical hierarchy 2016-11-11 07:59:15 +02:00
a2dp.c Bluetooth: Remove not needed nano_work.h includes 2016-11-11 07:59:15 +02:00
a2dp_internal.h Bluetooth: Move Bluetooth host stack to subsys 2016-11-04 22:05:05 +02:00
at.c Bluetooth: AT handling error condition 2016-11-09 08:57:52 +02:00
at.h Bluetooth: Move Bluetooth host stack to subsys 2016-11-04 22:05:05 +02:00
att.c Bluetooth: Use convenience macros for timeout durations 2016-11-18 07:47:50 +02:00
att_internal.h Bluetooth: Move Bluetooth host stack to subsys 2016-11-04 22:05:05 +02:00
avdtp.c Bluetooth: Remove not needed nano_work.h includes 2016-11-11 07:59:15 +02:00
avdtp_internal.h Bluetooth: Move Bluetooth host stack to subsys 2016-11-04 22:05:05 +02:00
conn.c Bluetooth: Fix not sending L2CAP Connection Parameters Update Request 2016-11-18 07:47:50 +02:00
conn_internal.h Bluetooth: Rename left-over mentions of "fiber" to "thread" 2016-11-11 10:06:05 +02:00
ecc.h Bluetooth: Move Bluetooth host stack to subsys 2016-11-04 22:05:05 +02:00
gatt.c Bluetooth: GATT: Fix using out of scope variable 2016-11-18 07:47:50 +02:00
gatt_internal.h Bluetooth: Move Bluetooth host stack to subsys 2016-11-04 22:05:05 +02:00
hci_core.c Bluetooth: Fix address type use for passive scanning 2016-11-18 07:47:50 +02:00
hci_core.h Bluetooth: Rename left-over mentions of "fiber" to "thread" 2016-11-11 10:06:05 +02:00
hci_ecc.c Bluetooth: hci_ecc: Convert to new thread API 2016-11-11 10:52:02 +02:00
hci_ecc.h Bluetooth: Move Bluetooth host stack to subsys 2016-11-04 22:05:05 +02:00
hci_raw.c Bluetooth: Use unified k_fifo API for FIFOs 2016-11-11 07:59:15 +02:00
hfp_hf.c Bluetooth: Remove not needed nano_work.h includes 2016-11-11 07:59:15 +02:00
hfp_internal.h Bluetooth: HFP HF: SLC connection-Send/Parse BRSF 2016-11-09 08:57:52 +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
keys_br.c Bluetooth: Remove not needed nano_work.h includes 2016-11-11 07:59:15 +02:00
l2cap.c Bluetooth: L2CAP: Fix regression with move to k_sem API 2016-11-18 07:47:50 +02:00
l2cap_br.c Bluetooth: Use convenience macros for timeout durations 2016-11-18 07:47:50 +02:00
l2cap_internal.h Bluetooth: Use unified k_fifo API for FIFOs 2016-11-11 07:59:15 +02:00
log.c Bluetooth: Move Bluetooth host stack to subsys 2016-11-04 22:05:05 +02:00
monitor.c Bluetooth: Fix use of deprecated PRIMARY init level 2016-11-18 07:47:50 +02:00
monitor.h Bluetooth: Move Bluetooth host stack to subsys 2016-11-04 22:05:05 +02:00
rfcomm.c Bluetooth: RFCOMM: Initiate DLC 2016-11-18 17:27:01 +05:30
rfcomm_internal.h Bluetooth: RFCOMM: Initiate DLC 2016-11-18 17:27:01 +05:30
sdp.c Bluetooth: Use unified k_fifo API for FIFOs 2016-11-11 07:59:15 +02:00
sdp_internal.h Bluetooth: Move Bluetooth host stack to subsys 2016-11-04 22:05:05 +02:00
smp.c Bluetooth: Use convenience macros for timeout durations 2016-11-18 07:47:50 +02:00
smp.h Bluetooth: Move Bluetooth host stack to subsys 2016-11-04 22:05:05 +02:00
smp_null.c Bluetooth: Remove not needed nano_work.h includes 2016-11-11 07:59:15 +02:00
storage.c Bluetooth: storage: Add basic support for internal storage 2016-11-09 08:57:52 +02:00
uuid.c Bluetooth: Move Bluetooth host stack to subsys 2016-11-04 22:05:05 +02:00