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.

Setting up LMX9838 link using command interface

Hi,

I have LMX9838 bluetooth interfaced with microcontroller and I am able to establish link with bluetooth dongle connected with PC.I am able to send and receive data both in command  mode and transparent mode only when dongle is master.But when I try to initiate connection from LMX9838 send commands from LMX9838, I get error.

1st command Inquiry returns list of all bluetooth devices.

2nd command SDAP connect returns status 00.

3rd command SDAP service browse for SPP results in Number of services is 0.

I have disabled automatic mode.

Bluetooth dongle is from ASUS with bluetooth 4.0 stack.

PC OS is windows 8.

Please guide and help.

 

  • Hi,

    You would want to first do inquiry to find the surrounding devices. Next to run the SDAP command to locate teh SPP. Then you would need to disconnect SDAP, and then run the command for SPP.

    If you follow that flow and it still doesn't connect, feel free to post your command on here or send it to me directly at ryanlin@ti.com and I can help you debug.

    Thanks!

    Ryan Lin

  • Thanks a lot Ryan Lin.

    I understand the flow.when I browse for SPP service after successful SDAP connect then I get number of services as 0 with dongle.But browse for SPP with cell phone gives the result as expected.

    I have one more LMX9838 which is not discoverable by bluetooth dongle(I am able to set friendly name and read it back correctly).

    Can you please guide me to make  it discoverable? I have not change default settings for InquiryScanMode and PageScanMode.

    Thank you.

  • Hi,

    Did you try releasing the SDAP and then run the SPP connect command?

    Ryan