This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Iphone not recognized with CC2564 inquiry

Other Parts Discussed in Thread: CC2564

Hi,

I'm using the tool HCITester with the cc2564 and tried to do an inquiry command with the script provided.

The script works well but it seems that soms devices can discovered and some cannot (for example my HP and Fujitsu laptop will be discovered, but my Iphone 4s will not). I also tested with Iphone 6 but also not discovered. A Samsung Galaxy tablet is detected as well. 

HP laptop: HCI 6.1280, LMP 6.1280 so Bluetooth version 4.0 (detected)

Fujitsu laptop: HCI 6.7869, LMP 6.64512 so Bluetooth version 4.0 (detected)

Samsung Galaxy: I can't find the HCI or LMP version, but supports Bluetooth version 3.0 (detected)

Iphone 4s or 6: I can't find the HCI or LMP version, but supports at least Bluetooth version 4.0 (not detected)

I there an Apple issue or is there a difference in Bluetooth specification?

How can I detect them as well? 

Thanks in advance!

David

6232.HCITester_Inquiry_Script_CC2564.txt

  • Hi David,

    The iOS devices are discoverable just fine using the HCI_Inquiry command. Have you made sure that the iOS devices were discoverable at the time? Typically, it will show a message on the Bluetooth settings screen like "Now discoverable as <device name>".

    Also, have you considered using the TI Dual-Mode Bluetooth stack with the CC256x device? It handles everything (including inquiry) in a much high level software, so doing manual inquiry using the direct HCI command is no longer required.

    Best regards,
    Vihang
  • Hi Vihang,

    I can see on all the Apple devices under bluetooth settings: "This device is now recoverable as <device name>" so they are discoverable.

    I'm also able to detect them via the other bluetooth devices for example my laptop with inbuilt bluetooth.

    I was not yet able to test/install the TI Dual-Mode Bluetooth stack, but I tried also with the bluez hcitool and also here with the commands "hcitool inq" or "hcitool scan", I can't detect them. I only detect the devices listed in the first post above.

    Are you able to detect Apple devices with the last initscript v2.14 for the CC2564?

    Best regards,

    David

  • Any idea why the CC2564 isn't able to do this?
    Any other persons which have the same problem?

    Thanks!

    David
  • Hello David,

    We have no problem detecting Apple devices with the last initscript.

    Can you please add FW log and BT Sniffer log so we can investigate the issue.

    BR,
    Chen Loewy
  • Hi Chen,

    Thank you for responding.

    The log file is attached. You can see at the end that I'm able to detect some devices, but some Apple devices were also Bluetooth enabled too.

    I could detect them with other devices around so I must be the CC2564.

    6811.HCITester_Inquiry Trace Log.htm

  • Hello David,

    I can see from the log that no response was received like you said.

    However it's really hard for me to know for sure that the problem is with the CC2564.

    I've tried with a couple of iPhonesand iPod touch over here and could see all of them with the CC2564.

    Can you please send some BT sniffer logs so i can see what is going on in the air?

    Can you try to test it in a clean environment - only with the iPhones on and see if we get any response?

    I will need some more details in order to help solve this issue and the first one would be a sniffer log so i can see the packets in the air.

    Thanks,

    Chen Loewy

  • Hi Chen, 

    Unfortunately, I don't have a BT sniffer. With what hardware do you sniff BT-signals?

    But is it possible to send me your "HCI Tester" script so I can test yours?

    I also tried detecting it with all other bluetooth devices disabled but the same result (no detection of Apple devices).

    Thanks!
    David
  • Hello David,

    We are sniffing over here either with ellisys or frontline sniffers.
    Please send me your email and i'll send you the HCI script.

    BR,
    Chen Loewy
  • Hi Chen,

    Thank you for sharing the HCI script!

    I sent you a friendship request so you would have my e-mail address.

    Best regards,

    David

  • Approved, continued over emails
  • I had this same problem with a new board fab.  I discovered I had specified the caps. connected to the 26MHZ crystal incorrectly.  The frequency was off by 60PPM, the BT spec. is 20PPM.  I was able to connect to my Samsung devices but not Apple devices.  Both showed up in the setting page but the IPhone wouldn't connect.  After adjusting to the proper frequency tolerance the Apple devices worked fine. It appears the BT interface of the Samsung device was able to tolerate a very large frequency error.