Balaji, could you please tell me where I should put that command in the sample code?
I would like to disable SSP but commenting out the #define BT_SSP seems not to be enough.
Thank you
Balaji Jeyaraman said:The BT SDK library has been built with the "BT_SPP" option. So, changing this #define as part of the application alone will not disable SPP. You should typically not need to disable SSP. However, if for any reason you wish to do so, as part of the function sdk_bluetooth_on() you can invoke the following API function:
BT_hci_set_init_command_mask(HCI_INIT_COMMAND_MASK_SSP);
The SDK version is present in bluetooth/export/common_appl/sdk_common.h
For the GA1.0, it should read as follows:
#define SDK_SW_VERSION "5.16 \0"
If you suspect processor loading issues, you can check to see if you use polling and whether your code is stuck waiting for the conditions to clear as part of your application modifications. This can have a big impact in reducing the throughput and also block the BT transmissions.