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.

Pre-defined Alphanumeric Passcode on StoneStreet One Bluetopia Stack

Other Parts Discussed in Thread: WL1835, AM3359

I'm using StoneStreet One Bluetopia stack on AM3359 EVM / WL1835 running Linux.

I would like to use a pre-defined alphanumeric passcode (4 characters) in the device I'm emulating.

I have not been able to get Windows to display the option to enter a pre-defined alphanumeric passcode:

The above screenshot is from the device I'm trying to emulate.

On the LinuxSPPM example, I tried to cycle ChangeSimplePairingParameters to every capability without any luck.

Do I have to change the implementation of the Device Manager Authentication Callback?

Thank you,

Fabiano

  • The feature you are looking for is legacy pairing. Unfortunately Bluetopia PM stack queries the local radio to determine if the newer Secure Simple Pairing (SSP) is supported, and uses SSP if it is, this behavior cannot be changed. Secure Simple Pairing was introduced in the Bluetooth 2.1 specification, so if the remote device (the device attached to your Windows computer) is a Bluetooth 2.0 radio that only supports legacy pairing then you should be able to get the behavior you are looking for. A Google search for "Bluetooth 2.0 USB Dongle" showed several possible results.

    You could also use the Bluetopia samples instead of the Bluetopia Platform Manager (PM) samples to achieve what you want, see the BluetopiaPM/Bluetopia/bin/LinuxSPP sample. This sample defaults to using legacy pairing (see GAP_Set_Pairability_Mode(BluetoothStackID, pmPairableMode); in the SetPairable() function of LinuxSPP.c). For an explanation of the differences between Bluetopia and Bluetopia PM see http://processors.wiki.ti.com/index.php/StoneStreet_One_Bluetopia_Platform_Manager_Bluetooth_Stack_for_TI_WL18xx.

  • Thank you for pointing me out to the right direction!

    It actually helped me to solve another issue I was having with the Bluetopia Platform Manager SPP Master sample. For some reason, when I'm transferring data using the WriteData command, every five seconds of so I have gaps (no data is received by PC) that last anywhere from 500-1750 milliseconds. This is very strange, specially seeing the gap to be no more than 78 milliseconds on the Bluetopia SPP sample.

    Thanks again!