zephyr/include
Sathish Narasimman 7eacb0477c Bluetooth: HFP HF: SLC query indicators present value
Service level connection sending AT+CIND? and parse the response
to get the present value of the available indicators.
This patch also providing callback interface to application for
the indicators value received.

Also added doxygen comment for connected and disconnected callback.

< ACL Data TX: Handle 256 flags 0x00 dlen 17                   [hci0] 25.251358
      Channel: 67 len 13 [PSM 3 mode 0] {chan 0}
      RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
         Address: 0x09 cr 0 dlci 0x02
         Control: 0xef poll/final 0
         Length: 9
         FCS: 0x40
        41 54 2b 43 49 4e 44 3f 0d 40                    AT+CIND?.@
> HCI Event: Number of Completed Packets (0x13) plen 5         [hci0] 25.262012
        Num handles: 1
        Handle: 256
        Count: 1
> ACL Data RX: Handle 256 flags 0x02 dlen 33                   [hci0] 25.293028
      Channel: 64 len 29 [PSM 3 mode 0] {chan 0}
      RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
         Address: 0x0b cr 1 dlci 0x02
         Control: 0xff poll/final 1
         Length: 24
         FCS: 0x86
         Credits: 1
        0d 0a 2b 43 49 4e 44 3a 20 30 2c 30 2c 31 2c 33  ..+CIND: 0,0,1,3
        2c 30 2c 33 2c 30 0d 0a 86                       ,0,3,0...
> ACL Data RX: Handle 256 flags 0x02 dlen 14                   [hci0] 25.295006
      Channel: 64 len 10 [PSM 3 mode 0] {chan 0}
      RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
         Address: 0x0b cr 1 dlci 0x02
         Control: 0xef poll/final 0
         Length: 6
         FCS: 0x9a
        0d 0a 4f 4b 0d 0a 9a                             ..OK...

Change-Id: I7b2a89487e2d481391c51201e32b3287808f82dc
Signed-off-by: Sathish Narasimman <sathish.narasimman@intel.com>
2017-01-05 08:49:16 +02:00
..
arch arm: Cortex-M0: Adapt core register code to M0 2017-01-03 22:44:35 +00:00
bluetooth Bluetooth: HFP HF: SLC query indicators present value 2017-01-05 08:49:16 +02:00
debug kernel: remove last nanokernel ocrrurances from include/ 2016-12-25 14:34:43 -05:00
display
drivers Bluetooth: Move buffer allocation helpers to buf.h 2016-12-24 08:42:15 +02:00
fs fs: expose generic ramdisk/flash disk access functions 2016-11-09 02:45:45 +00:00
linker net: Declare a macro to define stacks used by networking 2016-12-02 12:41:14 +02:00
logging logging: move event_logger to subsys/logging 2016-12-25 14:34:43 -05:00
misc shell: move shell to its own subsystem 2016-12-25 19:35:11 +00:00
net net: ip: Improve logging by adding a dedicated sys_log level 2017-01-02 10:03:20 +01:00
shell shell: move shell to its own subsystem 2016-12-25 19:35:11 +00:00
toolchain toolchain: Add a popcount macro for GCC 2016-12-12 20:07:53 +00:00
usb usb: Add end-point stall APIs and flow control APIS 2016-11-09 02:45:46 +00:00
adc.h drivers/adc: Make references to driver_api const 2016-10-24 22:22:20 +00:00
aio_comparator.h aio_cmp_qmsi: Add get_pending_int API 2016-11-03 21:30:02 +00:00
atomic.h doc: Various corrections to doxygen info for Kernel APIs 2016-11-16 21:43:16 +00:00
cache.h kernel: remove last nanokernel ocrrurances from include/ 2016-12-25 14:34:43 -05:00
clock_control.h drivers/clock_control: Make references to driver_api const 2016-10-24 22:22:21 +00:00
counter.h counter: Fix interface 2016-11-30 14:39:10 +00:00
device.h device: do not set struct as deprecated 2016-12-11 06:36:14 -05:00
disk_access.h include: Add a generic disk interface 2016-11-09 02:45:44 +00:00
dma.h dma.h: add missing includes 2016-11-10 01:04:27 +00:00
eth.h drivers/eth: Make references to driver_api const 2016-10-24 22:22:22 +00:00
flash.h drivers/flash: Make references to driver_api const 2016-10-24 22:22:26 +00:00
fs.h fs: Make API naming adhere to the appropriate namespace 2016-10-31 08:08:10 +02:00
gpio.h gpio: Fix spelling mistake. 2017-01-03 09:30:55 +00:00
i2c.h i2c: Add doxygen markup for internal only definitions. 2016-12-04 12:49:43 +00:00
init.h kernel: deprecate old init levels 2016-11-09 17:59:44 +00:00
ipm.h kernel: remove last nanokernel ocrrurances from include/ 2016-12-25 14:34:43 -05:00
irq_offload.h
irq.h doc: Fix up API description for IRQ_CONNECT() 2016-11-18 02:31:33 +00:00
kernel_version.h kernel: Allow SYS_KERNEL_VER_MAJOR(), etc. return full range of values. 2016-10-22 10:04:00 +00:00
kernel.h kernel: remove last nanokernel ocrrurances from include/ 2016-12-25 14:34:43 -05:00
legacy.h kernel: remove last nanokernel ocrrurances from include/ 2016-12-25 14:34:43 -05:00
linker-defs.h kernel/arch: consolidate tTCS and TNANO definitions 2016-11-12 07:04:52 -05:00
linker-tool-gcc.h
linker-tool.h
microkernel.h include: remove old kernel defintions 2016-11-07 11:32:57 -08:00
nanokernel.h include: remove old kernel defintions 2016-11-07 11:32:57 -08:00
pinmux.h drivers/pinmux: Make references to driver_api const 2016-10-24 22:22:24 +00:00
power.h power_mgmt: Rename _sys_soc_resume notification disabling API 2016-11-11 20:40:54 +00:00
pwm.h drivers: pwm: re-design pwm API interfaces 2016-10-31 20:01:04 +00:00
random.h random: Introduce random device API. 2016-12-24 16:40:11 +00:00
rtc.h rtc_qmsi: Add get_pending_int API 2016-11-03 21:30:21 +00:00
section_tags.h arm: remove old GDB_INFO support 2016-12-19 19:17:30 +00:00
sections.h arm: remove old GDB_INFO support 2016-12-19 19:17:30 +00:00
sensor.h sensor: Introduce tap and double tap triggers 2016-12-21 08:06:56 -06:00
shared_irq.h drivers/shared_irq: Make references to driver_api const 2016-10-24 22:22:23 +00:00
spi.h drivers/spi: Make references to driver_api const 2016-10-24 22:22:20 +00:00
sw_isr_table.h
sys_clock.h doc: Add descriptions for clock-related helper macros 2016-11-18 02:31:35 +00:00
sys_io.h kernel: remove last nanokernel ocrrurances from include/ 2016-12-25 14:34:43 -05:00
toolchain.h
uart.h serial: fix up uart_poll_in docstring 2016-11-16 22:57:30 +00:00
watchdog.h drivers/watchdog: Make references to driver_api const. 2016-10-24 22:22:19 +00:00
zephyr.h include: remove old kernel defintions 2016-11-07 11:32:57 -08:00