zephyr/include/bluetooth
Jaganath Kanakkassery ab96eae52d Bluetooth: RFCOMM: Handle PN request
PN (Parameter negotiation) is used to negotiate parameters like mtu.
Initial credit for flow control is also sent in PN. If the dlci to which
PN requested is not found in the dlc list then it will be treated as
incoming dlc request and accept callback will be called to profile.
Dlc mtu has to be set by profile (before it returns dlc) which will be
negotiated with remote. But the final mtu will be min of mtu provided
by profile, mtu sent by remote, and session mtu

> ACL Data RX: Handle 256 flags 0x02 dlen 18                                                                                                                                       [hci0] 210.108444
      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 2 frame_type 0 credit_flow 15 pri 7
           ack_timer 0 frame_size 122 max_retrans 0 credits 7
< ACL Data TX: Handle 256 flags 0x00 dlen 18                                                                                                                                       [hci0] 210.111452
      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 2 frame_type 0 credit_flow 14 pri 0
           ack_timer 0 frame_size 30 max_retrans 0 credits 7

Change-Id: Ifd466db6b3b868d04e38db02ebad6e47ab2da030
Signed-off-by: Jaganath Kanakkassery <jaganathx.kanakkassery@intel.com>
2016-09-07 08:17:26 +03:00
..
att.h Bluetooth: ATT: Add Common Profile Error Codes 2016-02-17 15:05:16 +00:00
bluetooth.h Bluetooth: Rename connectable_addr member in struct bt_le_oob 2016-07-22 13:09:30 +02: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: Fix bt_gatt_exchange_mtu documentation 2016-07-25 16:08:52 +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: Set BR/EDR device name on init 2016-09-07 08:17:26 +03:00
l2cap.h Bluetooth: L2CAP: Make common RTX commands timer 2016-09-07 08:17:26 +03:00
log.h Bluetooth: Add hexadecimal conversion logging helper 2016-07-11 09:38:53 +00:00
rfcomm.h Bluetooth: RFCOMM: Handle PN request 2016-09-07 08:17:26 +03:00
storage.h Bluetooth: doc: Fix displacement of storage keys description 2016-07-19 07:28:05 +00:00
uuid.h Bluetooth: Update Intel copyright for files modified in 2016 2016-06-10 12:10:53 +03:00