Tool/software: Linux
Using a HW based on AM335X and WL1835MOD. Operating system is linux.
Bluetopia is BluetopiaPM-4.2.1.0.1.
External device is a Bluetooth LE device.
To perform a passive scan I have to call the following function to set the scan type to passive:
BTPSAPI_DECLARATION int BTPSAPI HCI_LE_Set_Scan_Parameters ( unsigned int BluetoothStackID,
Byte_t LE_Scan_Type,
Word_t LE_Scan_Interval,
Word_t LE_Scan_Window,
Byte_t Own_Address_Type,
Byte_t Scanning_Filter_Policy,
Byte_t * StatusResult
)
But how do I get BluetoothStackID in case BTPM is used?