zephyr/include
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
..
arch arm: remove dynamic IRQs and exceptions 2016-09-06 23:47:21 +00:00
bluetooth Bluetooth: RFCOMM: Handle PN request 2016-09-07 08:17:26 +03:00
display drivers: Replace DEV_OK by 0 2016-03-16 19:30:04 -04:00
drivers x86: declare internal API for interrupt controllers 2016-09-06 18:35:47 +00:00
fs fs: Adds the glue layer for the Fat FS module 2016-08-01 16:47:33 -07:00
microkernel microkernel: remove deprecated task IRQs 2016-09-06 16:15:59 +00:00
misc printk: warn on incorrect format code usage 2016-08-30 21:43:21 +00:00
net net/yaip: revert merge 2016-07-22 04:43:09 +00:00
toolchain toolchain: Remove vestigial COFF assembler symbol mangling support 2016-08-30 19:01:11 +00:00
usb usb: Add Bluetooth class codes definitions 2016-08-10 15:27:35 +00:00
adc.h drivers: Replace DEV_OK by 0 2016-03-16 19:30:04 -04:00
aio_comparator.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
atomic.h atomic.h: change to ATOMIC_DEFINE 2016-07-27 14:42:44 +00:00
cache.h cache: add implementation for cache-less systems 2016-02-05 20:25:24 -05:00
clock_control.h clock_control: extend API with clock rate query operation 2016-03-16 18:09:32 +00:00
counter.h doc: counter should be under device driver 2016-04-15 18:42:17 +00:00
device.h device: small typo in comment 2016-08-27 10:00:04 +00:00
dma.h doc: fix warnings about undefined ref and group without end. 2016-06-22 16:44:20 -05:00
eth.h driver: ENC28J60 Ethernet SPI module 2016-08-05 20:36:44 +00:00
flash.h flash: update API documentation 2016-05-25 13:30:41 +00:00
fs.h doc: Fixes a typo in the file system documentation 2016-08-05 23:14:25 +00:00
gpio.h gpio: add device config helpers 2016-06-22 16:47:16 +00:00
i2c.h i2c: Remove suspend and resume hooks from i2c_driver_api 2016-07-29 23:10:10 +00:00
init.h power_mgmt: Enhances the DEVICE_INIT_PM macros 2016-07-21 11:25:31 -07:00
ipm.h doc: Fix terminology in Kconfig files for 'platform' 2016-08-18 21:17:29 +00:00
irq_offload.h doc: Fix misuse of @file doxygen tag 2016-02-11 20:11:03 +00:00
irq.h zephyr: remove deprecated dynamic interrupt API 2016-09-06 16:16:00 +00:00
kernel_version.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
linker-defs.h nanokernel: move dataCopy() and bssZero() to common code 2016-07-08 18:23:11 +00:00
linker-tool-gcc.h nios2: basic build, non-functional 2016-05-03 23:18:45 +00:00
linker-tool.h Fixed file description and applied doxygen style 2016-02-05 20:24:58 -05:00
microkernel.h microkernel: remove deprecated task IRQs 2016-09-06 16:15:59 +00:00
nanokernel.h nanokernel: add nano_fifo_put_list() APIs 2016-06-13 20:24:41 +00:00
pinmux.h doc: fix "WARNING: Error in type declaration." in callback typedefs 2016-06-16 13:11:06 -07:00
power.h doc: power_mgmt: Added Power Management documentation 2016-04-27 00:57:53 +00:00
pwm.h drivers: pwm_shim: correct api argument inconsistency 2016-08-25 14:24:03 -07:00
rtc.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
section_tags.h ARM: ARC: put sw_isr_table in ROM by default 2016-02-05 20:25:21 -05:00
sections.h ARM: ARC: put sw_isr_table in ROM by default 2016-02-05 20:25:21 -05:00
sensor.h doc: revert unnamed union/struct workaround in favour of known-issues 2016-07-01 21:53:45 +00:00
shared_irq.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
spi.h drivers: spi: Update comment for spi config parameter 2016-08-10 15:06:23 +00:00
sw_isr_table.h nios2: add static interrupt handling code 2016-06-22 16:42:21 +00:00
sys_clock.h sys_clock: Add a helper to compute micro seconds 2016-04-07 16:51:07 +00:00
sys_io.h sys_io: don't allow negative bit offsets 2016-03-04 16:26:21 +00:00
toolchain.h doc: revert unnamed union/struct workaround in favour of known-issues 2016-07-01 21:53:45 +00:00
uart.h uart.h: fix path to PCI headers 2016-08-12 22:57:57 +00:00
watchdog.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
zephyr.h sysgen: generate sysgen.h instead of zephyr.h 2016-02-05 20:24:35 -05:00