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.

CC2340R5: How to set OOB data flag in pairing request?

Part Number: CC2340R5

Tool/software:

Hi TI,

I am using the SDK simplelink_lowpower_f3_sdk_8_10_01_02\examples\rtos\LP_EM_CC2340R5\ble5stack\basic_ble. In the BLE secure connection pairing process, I would like to use "OOB Pairing". Therefore, I have a few questions to ask:

  1. In the standard pairing request and pairing response packets, there is a field for the OOB data flag. In the "basic_ble" sample code, where can I modify the OOB data flag to 1?
  2. According to the Bluetooth SIG specification, to calculate the "confirm value", the f4 function must be used. Does the library you provide have any relevant APIs for this calculation?

       3. After initiating the pairing request, it enters the Pairing_pairStateHandler function in app_pairing.c, as the image below, but I can't find the code which is use to send the SMP packets during the pairing procedure. So I would like to know, during the pairing process, which APIs or functions are called in the code to send the SMP packets?



Thanks,

Aki