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.

LP-EM-CC2340R5: Encryption after pairing

Part Number: LP-EM-CC2340R5

I would like to know about the encryption technology used after pairing.

I am using SimpleLink 7.40.00.64.

There are two questions.

1. When I look at the manual "GAP Bond Manager and LE Secure Connections", it says that encryption is performed when bonding is performed.
What events are published and encrypted?

I checked the Pairing_pairStateHandler of the sample project basic_ble with a debugger, but it did not stop at "BLEAPPUTIL_PAIRING_STATE_ENCRYPTED".

2. Does encryption need to be configured by the user?
 When I looked at the API, I found a function called HCI_LE_StartEncyptCmd. If you need to use this please let me know.

  • Hello Kei,

    Thanks for reaching out.

    1. Bonding is performed after paring, where the central and peripheral generate and exchange keys. The data is encrypted after paring has been established. After bonding you should be able to see "BLEAPPUTIL_PAIRING_STATE_BOND_SAVED". See this inside app_paring.c if you are using the out of the box example found in the SDK: basic_ble.
    2. The data will get encrypted after the paring process has occured. Please look into GAP Bond Manager and LE Secure Connections for more information about how the data is encrypted after paring/bonding.

    BR,

    David.