Bluetooth: HFP HF: SLC Connection send/parse CIND
Part of service level connection initilization. Sending AT+CIND=?
and parsing its response.
< ACL Data TX: Handle 256 flags 0x00 dlen 18 [hci0] 20.888273
Channel: 76 len 14 [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: 10
FCS: 0x40
41 54 2b 43 49 4e 44 3d 3f 0d 40 AT+CIND=?.@
> HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 20.914998
Num handles: 1
Handle: 256
Count: 1
> HCI Event: Number of Completed Packets (0x13) plen 5 [hci0] 20.916863
Num handles: 1
Handle: 256
Count: 1
> ACL Data RX: Handle 256 flags 0x02 dlen 142 [hci0] 20.945835
Channel: 64 len 138 [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: 1024
FCS: 0x86
Credits: 1
0d 0a 2b 43 49 4e 44 3a 20 28 22 63 61 6c 6c 22 ..+CIND: ("call"
2c 28 30 2c 31 29 29 2c 28 22 63 61 6c 6c 73 65 ,(0,1)),("callse
74 75 70 22 2c 28 30 2d 33 29 29 2c 28 22 73 65 tup",(0-3)),("se
72 76 69 63 65 22 2c 28 30 2d 31 29 29 2c 28 22 rvice",(0-1)),("
73 69 67 6e 61 6c 22 2c 28 30 2d 35 29 29 2c 28 signal",(0-5)),(
22 72 6f 61 6d 22 2c 28 30 2c 31 29 29 2c 28 22 "roam",(0,1)),("
62 61 74 74 63 68 67 22 2c 28 30 2d 35 29 29 2c battchg",(0-5)),
28 22 63 61 6c 6c 68 65 6c 64 22 2c 28 30 2d 32 ("callheld",(0-2
29 29 0d 0a 86 ))...
> ACL Data RX: Handle 256 flags 0x02 dlen 14 [hci0] 20.947764
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: I33126a19641b889f1749b642cbc5e63984d85b6d
Signed-off-by:
Sathish Narasimman <sathish.narasimman@intel.com>
Loading
Please sign in to comment