Hi,
Is it possible to add tx power level adjust to the SSPLEDemo? If so how do I add the TPS include file?
Or, is it possible to modify the PXPDemo to connect to 10 client devices through LE?
Best regards,
Forrest Kimbriel
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.
Hi,
Is it possible to add tx power level adjust to the SSPLEDemo? If so how do I add the TPS include file?
Or, is it possible to modify the PXPDemo to connect to 10 client devices through LE?
Best regards,
Forrest Kimbriel
Hi,
Below is just a tweak to connect to more devices. as we are checking everytime if there is a connected device, If you want to maintain all the devices you need to maintain a structure of arrays to compare and check if the current device is in the connected list, and the same apples for the LTK, You can refer to the SPPLEDemo.
static int ConnectLEDevice(unsigned int BluetoothStackID, BD_ADDR_t BD_ADDR, GAP_LE_Address_Type_t RemoteAddressType ,GAP_LE_Address_Type_t OwnAddressType, Boolean_t UseWhiteList)
{
int Result;
unsigned int WhiteListChanged;
GAP_LE_White_List_Entry_t WhiteListEntry;
GAP_LE_Connection_Parameters_t ConnectionParameters;
ASSIGN_BD_ADDR(ConnectionBD_ADDR, 0, 0, 0, 0, 0, 0); /*temp*/
/* First, determine if the input parameters appear to be semi-valid. */
if((BluetoothStackID) && (!COMPARE_NULL_BD_ADDR(BD_ADDR)))
{
if(COMPARE_NULL_BD_ADDR(ConnectionBD_ADDR))