1 Reply Latest reply on Jan 9, 2018 5:42 AM by JacobT_81

    [Question] The incoming call via VoIP using CYW20706.

      Hi, I'm developing CYW20706 Bluetooth chip.

       

      I have some questions.

       

      The CYW20706 is connected to android smartphone.

      There are installed VoIP applications such as Skype, Whatsapp and Viber in android smartphone. (except iPhone)

      I would like to receive incoming call via VoIP using CYW20706.

      When a call is incoming via VoIP, the call state of CYW20706 is displayed outgoing call.

       

      I can't understand this situation.

      The incoming call is good in general call situation.

      But the incoming call via VoIP is problem.

       

      When the call via VoIP using CYW20706 or general Bluetooth chip is incoming, Why does the outgoing call displayed?

      How do I change the outgoing call status to incoming call?

      Can I change the call status using AT command?

       

      I attach the log about this situation.

       

      ***

      Spy version: 12.0.0.7800   

      ***

      14:22:27.157 Unknown PSM 0x0 channel 0x45

      14:22:27.157 RCVD [0] ACL Data from HCI. Handle: 0x00b  Boundary: 2  Brdcst: 0  Len: 22  Data: 0x12 0x00 0x45 ...

      14:22:27.157 Data:

      14:22:27.157     0000: 12 00 45 00 0b ef 1d 0d 0a 2b 43 49 45 56 3a 20   ..E......+CIEV:

      14:22:27.157     0010: 32 2c 32 0d 0a 9a                                 2,2...         

      14:22:27.157 Unknown PSM 0x0 channel 0x40

      14:22:27.157 SENT [0] ACL Data to HCI. Handle: 0x00b  Boundary: 2  Brdcst: 0  Len: 9  Data: 0x05 0x00 0x40 ...

      14:22:27.157 Data:

      14:22:27.157     0000: 05 00 40 00 09 ff 01 03 5c                        ..@.....\      

      14:22:27.157 1 Call Setup State:2

      14:22:27.168 1 [handsfree_call_setup_event_handler:275] call_data->setup_state:2 call_data->active_call_present:0 h

      14:22:27.173 1 Call(outgoing) setting-up

      14:22:27.173 RCVD [1] Event from HCI.  Name: HCI_Mode_Change   (Hex Code: 0x14  Param Len: 6)

      14:22:27.173                                   Status : Success (0x00)

      14:22:27.173                        Connection Handle : 11 (0x000b)

      14:22:27.173                             Current Mode : 0 (Active)

      14:22:27.173                   Interval (625us units) : 0 (0x0000)

      14:22:27.173 1 Power mgmt status event: bd (a0 b4 a5 88 5d c8 ) status:0 hci_status:0

      14:22:27.173 Unknown PSM 0x0 channel 0x45

      14:22:27.173 RCVD [0] ACL Data from HCI. Handle: 0x00b  Boundary: 2  Brdcst: 0  Len: 22  Data: 0x12 0x00 0x45 ...

      14:22:27.173 Data:

      14:22:27.173     0000: 12 00 45 00 0b ef 1d 0d 0a 2b 43 49 45 56 3a 20   ..E......+CIEV:

      14:22:27.173     0010: 32 2c 33 0d 0a 9a                                 2,3...         

      14:22:27.173 1 Call Setup State:3

      14:22:27.174 1 [handsfree_call_setup_event_handler:275] call_data->setup_state:3 call_data->active_call_present:0 h

      14:22:27.174 1 Remote(outgoing) ringing

      14:22:27.174 1 VOIP incoming call

      14:22:27.174 Unknown PSM 0x0 channel 0x45

      14:22:27.174 RCVD [0] ACL Data from HCI. Handle: 0x00b  Boundary: 2  Brdcst: 0  Len: 22  Data: 0x12 0x00 0x45 ...

      14:22:27.174 Data:

      14:22:27.174     0000: 12 00 45 00 0b ef 1d 0d 0a 2b 43 49 45 56 3a 20   ..E......+CIEV:

      14:22:27.174     0010: 31 2c 31 0d 0a 9a                                 1,1...         

      14:22:27.174 1 Active Call Present:1

      14:22:27.174 1 Call Setup State:0

      14:22:27.174 1 [handsfree_call_setup_event_handler:275] call_data->setup_state:0 call_data->active_call_present:1 h

      14:22:27.174 1 [handsfree_call_setup_event_handler] g_str_call_bit.b4_call_status:4

      14:22:27.174 1 g_str_favo_log.ui16_incom_cnt:0 g_str_favo_log.ui16_outgo_cnt:0

      14:22:27.197 1 Call: Active; Call-setup: DONE

      14:22:27.197 RCVD [1] Event from HCI.  Name: HCI_Connection_Request   (Hex Code: 0x04  Param Len: 10)

      14:22:27.197                        BD_ADDR of remote : a0-b4-a5-88-5d-c8

      14:22:27.197                Class of Device of remote : 5a-02-0c

      14:22:27.197                                Link Type : 2 (0x02)

      14:22:27.197 1 handsfree_hf_sco_management_callback: SCO connection request event handler

      14:22:27.197 SENT [1] Command to HCI.  Name: HCI_Vendor_Specific_Command   (Hex Code: 0xfc7e  Param Len: 3)

      14:22:27.197                               Parameters : 01 02 00

      14:22:27.197 RCVD [1] Event from HCI.  Name: HCI_Command_Complete   (Hex Code: 0x0e  Param Len: 4)

      14:22:27.197                      Num HCI Cmd Packets : 1 (0x01)

      14:22:27.197                                 Cmd Code : 0xfc7e  (HCI_Vendor_Specific_Command)

      14:22:27.197                        Return Parameters : 00

      14:22:27.197 SENT [1] Command to HCI.  Name: ?? Unknown ??   (Hex Code: 0x043e  Param Len: 63)

      14:22:27.197                        BD_ADDR of remote : a0-b4-a5-88-5d-c8

      14:22:27.197                       Transmit Bandwidth : 8000 (0x00001f40)

      14:22:27.197                        Receive Bandwidth : 8000 (0x00001f40)

      14:22:27.197                   Transmit Coding Format : 0x05 (mSBC)

      14:22:27.197                    Receive Coding Format : 0x05 (mSBC)

      14:22:27.197                      Tx Codec Frame Size : 60 (0x003c)

      14:22:27.197                      Rx Codec Frame Size : 60 (0x003c)

      14:22:27.197                          Input Bandwidth : 32000 (0x00007d00)

      14:22:27.197                         Output Bandwidth : 32000 (0x00007d00)

      14:22:27.197                      Input Coding Format : 0x04 (Linear PCM)

      14:22:27.197                     Output Coding Format : 0x04 (Linear PCM)

      14:22:27.197                    Input Coded Data Size : 16 (0x0010)

      14:22:27.197                   Output Coded Data Size : 16 (0x0010)

      14:22:27.197                    Input PCM Data Format : 0x02 (2's Compliment)

      14:22:27.197                   Output PCM Data Format : 0x02 (2's Compliment)

      14:22:27.198           Input PCM Payload MSB Position : 0 (0x00)

      14:22:27.198          Output PCM Payload MSB Position : 0 (0x00)

      14:22:27.198                          Input Data Path : 0x05 ((PCM) [Chan 5])

      14:22:27.198                         Output Data Path : 0x05 ((PCM) [Chan 5])

      14:22:27.198                Input Transport Unit Size : 0 (0x00)

      14:22:27.198               Output Transport Unit Size : 0 (0x00)

      14:22:27.198                              Max Latency : 10 (0x000a)

      14:22:27.198                             Packet Types : 0x02bc ( HV3 EV3 EV4 EV5 2-EV3 No_3-EV3 2-EV5 No_3-EV5 )

      14:22:27.198                    Retransmission Effort : 1 (0x01)

      14:22:27.198 RCVD [1] Event from HCI.  Name: HCI_Command_Status   (Hex Code: 0x0f  Param Len: 4)

      14:22:27.198                                   Status : Success (0x00)

      14:22:27.198                      Num HCI Cmd Packets : 1 (0x01)

      14:22:27.198                                 Cmd Code : 0x043e  (?? Unknown ??)

      14:22:27.198 1 call outgoing

      14:22:27.198 RCVD [1] Event from HCI.  Name: HCI_Synchronous_Connection_Complete   (Hex Code: 0x2c  Param Len: 17)

      14:22:27.198                                   Status : Success (0x00)

      14:22:27.198                        Connection Handle : 6 (0x0006)

      14:22:27.198                        BD_ADDR of remote : a0-b4-a5-88-5d-c8

      14:22:27.198                Link Type (0=SCO, 2=eSCO) : 2 (0x02)

      14:22:27.198                    Transmission Interval : 12 (0x0c)

      14:22:27.198                    Retransmission Window : 2 (0x02)

      14:22:27.198                         RX Packet Length : 60 (0x003c)

      14:22:27.198                         TX Packet Length : 60 (0x003c)

      14:22:27.198                                 Air Mode : 3 (0x03)

      14:22:27.198 1 handsfree_hf_sco_management_callback: SCO Audio connected, sco_index = 0 [rfcomm_handle :2]

      14:22:27.230 Unknown PSM 0x0 channel 0x45

      14:22:27.230 RCVD [0] ACL Data from HCI. Handle: 0x00b  Boundary: 2  Brdcst: 0  Len: 22  Data: 0x12 0x00 0x45 ...

      14:22:27.230 Data:

      14:22:27.230     0000: 12 00 45 00 0b ef 1d 0d 0a 2b 43 49 45 56 3a 20   ..E......+CIEV:

      14:22:27.230     0010: 32 2c 30 0d 0a 9a                                 2,0...         

      14:22:27.230 Unknown PSM 0x0 channel 0x40

      14:22:27.230 SENT [0] ACL Data to HCI. Handle: 0x00b  Boundary: 2  Brdcst: 0  Len: 9  Data: 0x05 0x00 0x40 ...

      14:22:27.230 Data:

      14:22:27.230     0000: 05 00 40 00 09 ff 01 03 5c                        ..@.....\      

      14:22:27.230 1 [handsfree_call_setup_event_handler:275] call_data->setup_state:0 call_data->active_call_present:1 h