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.

CC2564: Does not find another board when using Inquiry command

Part Number: CC2564

Hi,

I have two CC2564B Board and connect both board with SPP automatically.

So use inquiry command to find target board, but it sometimes cannot find target board.

It placed just one feet away. Two boards are placed so close but they does not find each other.

So reboot those boards until find each other. 

Why this happen and is there any solution to solve this problem?

and one more thing, what does -75 mean return from CloseRemoteServer() function?

  • Dong,

    Dong Won Lee said:

    Why this happen and is there any solution to solve this problem?

    and one more thing, what does -75 mean return from CloseRemoteServer() function?

    Please refer to the BTErrors.h for details on the error codes. The -75 refers to the BTPS_ERRO_RFCOMM_INVALID_DLCI. The SPP_Close_Port() API might return this error when trying to close the port before the SPP profile level connection is completely established.

    Dong Won Lee said:

    I have two CC2564B Board and connect both board with SPP automatically.

    So use inquiry command to find target board, but it sometimes cannot find target board.

    Do you see the same problem with the default(unmodified) SPPDemo/SPPLEDemo?

    Best regards,

    Vihang

  • Vihang,

    I'm testing Inquiry() function with MSP430 SPPLEDemo on each board and there is some problem.

    at first it seems fine but It does not find each other after about 100 seconds.

    I've been waiting over 5 minutes and it does find each other sometimes, not always.

    but It's just a moment, they does not find each other soon.

    is there any advertise timeout or something for power saving?

    if exists, any parameters that i can modify?

    why cannot they find each other?
  • Dong, please provide the BT firmware logs from the TX_DBG pin of the CC256x so that we can look further into this.
    processors.wiki.ti.com/.../CC256x_Logger_User_Guide
  • Hi,

    I haven't heard back from you, I'm assuming you were able to resolve your issue. If not, please open a new thread by clicking on the "Ask a related question" button above. Thanks.

    Best regards,
    Vihang
  • Vihang,

    Sorry for the delay. I tried to resolve my issue right now.

    I'm checking the logs now. Maybe I can solve the problem. thank you.