Forums - QCA9377 communication with iPhone

4 posts / 0 new
Last post
QCA9377 communication with iPhone
aruner92
Join Date: 9 Apr 19
Posts: 3
Posted: Tue, 2019-07-02 22:25

Hi,

I am using QCA9377-3 and bluez 5.49 stack to advertise datas and communication with mobile phones.

when tring to communicatie with iPhone with Bluetooth 5.0. mobile connection not happenning. and no issues with android mobile phones.

is there any specfic hci settings is need for iPhone.?

please share if any document available for the reference.

 

Thanks,

Arunkumar.V

 

  • Up0
  • Down0
matadeen
Join Date: 12 Oct 17
Posts: 12
Posted: Wed, 2019-07-03 00:48

Hi Arunkumar,

There is no Setting are required for connection, Could you pleae capture the btmon logs and OTA logs and share with us.

Regards,

Matadeen Mishra

  • Up0
  • Down0
aruner92
Join Date: 9 Apr 19
Posts: 3
Posted: Wed, 2019-07-24 07:42
please see the below log for the iphone communication 
 
Bluetooth monitor ver 5.49
= Note: Linux version 4.9.88-tn-imx_4.9.88_2.0.0_ga-test+gd69606b...   0.423490
= Note: Bluetooth subsystem version 2.22                               0.423504
= New Index: 00:1F:7B:31:11:EB (Primary,UART,hci0)              [hci0] 0.423510
= Open Index: 00:1F:7B:31:11:EB                                 [hci0] 0.423513
= Index Info: 00:1F:7B:31:11:EB (Qualcomm)                      [hci0] 0.423516
@ MGMT Open: bluetoothd (privileged) version 1.14             {0x0001} 0.423522
@ MGMT Open: btmon (privileged) version 1.14                  {0x0002} 0.423611
< HCI Command: Disconnect (0x01|0x0006) plen 3              #1 [hci0] 23.083416
        Handle: 13
        Reason: Remote User Terminated Connection (0x13)
> HCI Event: Command Status (0x0f) plen 4                   #2 [hci0] 23.088502
      Disconnect (0x01|0x0006) ncmd 1
        Status: Success (0x00)
> HCI Event: Disconnect Complete (0x05) plen 4              #3 [hci0] 23.142514
        Status: Success (0x00)
        Handle: 13
        Reason: Connection Terminated By Local Host (0x16)
@ MGMT Event: Device Disconnected (0x000c) plen 8     {0x0002} [hci0] 23.142588
        LE Address: B8:C1:11:E0:12:32 (OUI B8-C1-11)
        Reason: Connection terminated by local host (0x02)
@ MGMT Event: Device Disconnected (0x000c) plen 8     {0x0001} [hci0] 23.142588
        LE Address: B8:C1:11:E0:12:32 (OUI B8-C1-11)
        Reason: Connection terminated by local host (0x02)
< HCI Command: LE Set Advertising... (0x08|0x0006) plen 15  #4 [hci0] 24.523435
        Min advertising interval: 1280.000 msec (0x0800)
        Max advertising interval: 1280.000 msec (0x0800)
        Type: Connectable undirected - ADV_IND (0x00)
        Own address type: Public (0x00)
        Direct address type: Public (0x00)
        Direct address: 00:00:00:00:00:00 (OUI 00-00-00)
        Channel map: 37, 38, 39 (0x07)
        Filter policy: Allow Scan Request from Any, Allow Connect Request from Any (0x00)
> HCI Event: Command Complete (0x0e) plen 4                 #5 [hci0] 24.530020
      LE Set Advertising Parameters (0x08|0x0006) ncmd 1
        Status: Success (0x00)
< HCI Command: LE Set Advertise Ena.. (0x08|0x000a) plen 1  #6 [hci0] 24.530143
        Advertising: Enabled (0x01)
> HCI Event: Command Complete (0x0e) plen 4                 #7 [hci0] 24.535056
      LE Set Advertise Enable (0x08|0x000a) ncmd 1
        Status: Success (0x00)
> HCI Event: LE Meta Event (0x3e) plen 19                   #8 [hci0] 24.628178
      LE Connection Complete (0x01)
        Status: Success (0x00)
        Handle: 14
        Role: Slave (0x01)
        Peer address type: Random (0x01)
        Peer address: 73:DB:B8:62:24:E8 (Resolvable)
        Connection interval: 30.00 msec (0x0018)
        Connection latency: 0 (0x0000)
        Supervision timeout: 720 msec (0x0048)
        Master clock accuracy: 0x01
@ MGMT Event: Device Connected (0x000b) plen 13       {0x0002} [hci0] 24.628344
        LE Address: B8:C1:11:E0:12:32 (OUI B8-C1-11)
        Flags: 0x00000000
        Data length: 0
@ MGMT Event: Device Connected (0x000b) plen 13       {0x0001} [hci0] 24.628344
        LE Address: B8:C1:11:E0:12:32 (OUI B8-C1-11)
        Flags: 0x00000000
        Data length: 0
< HCI Command: LE Read Remote Used... (0x08|0x0016) plen 2  #9 [hci0] 24.628751
        Handle: 14
> HCI Event: Command Status (0x0f) plen 4                  #10 [hci0] 24.633820
      LE Read Remote Used Features (0x08|0x0016) ncmd 1
        Status: Success (0x00)
> HCI Event: LE Meta Event (0x3e) plen 12                  #11 [hci0] 24.665818
      LE Read Remote Used Features (0x04)
        Status: Success (0x00)
        Handle: 14
        Features: 0x1f 0x00 0x00 0x00 0x00 0x00 0x00 0x00
          LE Encryption
          Connection Parameter Request Procedure
          Extended Reject Indication
          Slave-initiated Features Exchange
          LE Ping
< ACL Data TX: Handle 14 flags 0x00 dlen 16                #12 [hci0] 24.666039
      LE L2CAP: Connection Parameter Update Request (0x12) ident 1 len 8
        Min interval: 40
        Max interval: 56
        Slave latency: 0
        Timeout multiplier: 72
< ACL Data TX: Handle 14 flags 0x00 dlen 6                 #13 [hci0] 24.666490
      SMP: Security Request (0x0b) len 1
        Authentication requirement: Bonding, No MITM, SC, No Keypresses (0x09)
= bluetoothd: No cache for B8:C1:11:E0:12:32                          24.676150
> HCI Event: Number of Completed Packets (0x13) plen 5     #14 [hci0] 24.695762
        Num handles: 1
        Handle: 14
        Count: 1
> ACL Data RX: Handle 14 flags 0x02 dlen 10                #15 [hci0] 24.726223
      LE L2CAP: Connection Parameter Update Response (0x13) ident 1 len 2
        Result: Connection Parameters accepted (0x0000)
> HCI Event: Number of Completed Packets (0x13) plen 5     #16 [hci0] 24.726232
        Num handles: 1
        Handle: 14
        Count: 1
< HCI Command: Disconnect (0x01|0x0006) plen 3             #17 [hci0] 56.363433
        Handle: 14
        Reason: Remote User Terminated Connection (0x13)
> HCI Event: Command Status (0x0f) plen 4                  #18 [hci0] 56.368513
      Disconnect (0x01|0x0006) ncmd 1
        Status: Success (0x00)
> HCI Event: Disconnect Complete (0x05) plen 4             #19 [hci0] 56.411647
        Status: Success (0x00)
        Handle: 14
        Reason: Connection Terminated By Local Host (0x16)
@ MGMT Event: Device Disconnected (0x000c) plen 8     {0x0002} [hci0] 56.411723
        LE Address: B8:C1:11:E0:12:32 (OUI B8-C1-11)
        Reason: Connection terminated by local host (0x02)
@ MGMT Event: Device Disconnected (0x000c) plen 8     {0x0001} [hci0] 56.411723
        LE Address: B8:C1:11:E0:12:32 (OUI B8-C1-11)
        Reason: Connection terminated by local host (0x02)
< HCI Command: LE Set Advertising.. (0x08|0x0006) plen 15  #20 [hci0] 57.163423
        Min advertising interval: 1280.000 msec (0x0800)
        Max advertising interval: 1280.000 msec (0x0800)
        Type: Connectable undirected - ADV_IND (0x00)
        Own address type: Public (0x00)
        Direct address type: Public (0x00)
        Direct address: 00:00:00:00:00:00 (OUI 00-00-00)
        Channel map: 37, 38, 39 (0x07)
        Filter policy: Allow Scan Request from Any, Allow Connect Request from Any (0x00)
> HCI Event: Command Complete (0x0e) plen 4                #21 [hci0] 57.169494
      LE Set Advertising Parameters (0x08|0x0006) ncmd 1
        Status: Success (0x00)
< HCI Command: LE Set Advertise En.. (0x08|0x000a) plen 1  #22 [hci0] 57.169608
        Advertising: Enabled (0x01)
> HCI Event: Command Complete (0x0e) plen 4                #23 [hci0] 57.174535
      LE Set Advertise Enable (0x08|0x000a) ncmd 1
        Status: Success (0x00)
> HCI Event: LE Meta Event (0x3e) plen 19                  #24 [hci0] 60.477484
      LE Connection Complete (0x01)
        Status: Success (0x00)
        Handle: 15
        Role: Slave (0x01)
        Peer address type: Random (0x01)
        Peer address: 73:DB:B8:62:24:E8 (Resolvable)
        Connection interval: 30.00 msec (0x0018)
        Connection latency: 0 (0x0000)
        Supervision timeout: 720 msec (0x0048)
        Master clock accuracy: 0x01
@ MGMT Event: Device Connected (0x000b) plen 13       {0x0002} [hci0] 60.477586
        LE Address: B8:C1:11:E0:12:32 (OUI B8-C1-11)
        Flags: 0x00000000
        Data length: 0
@ MGMT Event: Device Connected (0x000b) plen 13       {0x0001} [hci0] 60.477586
        LE Address: B8:C1:11:E0:12:32 (OUI B8-C1-11)
        Flags: 0x00000000
        Data length: 0
< HCI Command: LE Read Remote Used.. (0x08|0x0016) plen 2  #25 [hci0] 60.477998
        Handle: 15
> HCI Event: Command Status (0x0f) plen 4                  #26 [hci0] 60.486946
      LE Read Remote Used Features (0x08|0x0016) ncmd 1
        Status: Success (0x00)
> HCI Event: LE Meta Event (0x3e) plen 12                  #27 [hci0] 60.529854
      LE Read Remote Used Features (0x04)
        Status: Success (0x00)
        Handle: 15
        Features: 0x1f 0x00 0x00 0x00 0x00 0x00 0x00 0x00
          LE Encryption
          Connection Parameter Request Procedure
          Extended Reject Indication
          Slave-initiated Features Exchange
          LE Ping
< ACL Data TX: Handle 15 flags 0x00 dlen 16                #28 [hci0] 60.530073
      LE L2CAP: Connection Parameter Update Request (0x12) ident 1 len 8
        Min interval: 40
        Max interval: 56
        Slave latency: 0
        Timeout multiplier: 72
< ACL Data TX: Handle 15 flags 0x00 dlen 6                 #29 [hci0] 60.530518
      SMP: Security Request (0x0b) len 1
        Authentication requirement: Bonding, No MITM, SC, No Keypresses (0x09)
= bluetoothd: No cache for B8:C1:11:E0:12:32                          60.539373
> HCI Event: Number of Completed Packets (0x13) plen 5     #30 [hci0] 60.559766
        Num handles: 1
        Handle: 15
        Count: 1
> ACL Data RX: Handle 15 flags 0x02 dlen 10                #31 [hci0] 60.590251
      LE L2CAP: Connection Parameter Update Response (0x13) ident 1 len 2
        Result: Connection Parameters accepted (0x0000)
> HCI Event: Number of Completed Packets (0x13) plen 5     #32 [hci0] 60.590261
        Num handles: 1
        Handle: 15
        Count: 1
 
Thanks,
Arunkumar.V
  • Up0
  • Down0
matadeen
Join Date: 12 Oct 17
Posts: 12
Posted: Wed, 2019-07-24 21:07

Hi Arunkumar,

Could you please upload the log file and share the steps which you have followed for the testing.

If you getting error while uploading the logs, please mail me ( matadeen@qti.qualcomm.com).

Regards,

Matadeen Mishra

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.