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.

Linux/WL1831MOD: Bluetooth PAN function auto-pairing

Part Number: WL1831MOD

Tool/software: Linux

My customer is using the Bluetopia stack 

One question about WL18xx bluetooth PAN function. (processors.wiki.ti.com/.../WL18xx_TI_Bluetooth_Stack_PANM_Demo_App)
I am using LinuxPANM of AM335xBluetopiaLinuxProduction-4.2.1.0.1.0/BluetopiaPM/sample to test bluetooth PAN function. Everything works fine.

During bluetooth pairing, I must set command "UserConfirmationResponse 1" of LinuxPANM to confirm that the pass codes match.
Do you know how to auto pairing without "UserConfirmationResponse 1"?


Is auto-pairing possible in this profile implementation? If so, how could that be accomplishded?

Thanks,

Prasanna.

  • Our BT expert will get back shortly.

    Thanks
  • Hi Prasanna,

    The UserConfirmationResponse is required as part of the authentication for the Secure Simple Pairing (SSP). According to the Bluetooth specs, the authentication method for SSP is determined based on the IO Capabilities of the two devices.

    If you change the DEFAULT_IO_CAPABILITY macro in the LinuxPANM.c to icNoInputNoOutput, the numerical comparison will be used for SSP and there will be no authentication. In other words, this will no longer prompt the LinuxPANM for UserConfirmationResponse or any other user input during SSP.

    Best regards,
    Vihang