This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Questions about BLE multirole LESC

Hello,

I have few question please about this example.

  • m_lesc_private_key looks unused, how to modify source to use a pre shared private key ?
  • is this exemple secured (no one can connect without the right key, MITM proof and data encrypted) ?
  • how can i avoid to store bounds ?

Thank you.

Parents
    • Using static private key is not supported by spec unless you use the DEBUG key , only for debugging purpose. It's mentioned main.c in the example, please look for "LESC_DEBUG_MODE"

    • Maybe you got the wrong impression of what LE Secure Connection is. It's a way to do bonding securely. Meaning exchanging a LTK to be used for encryption in a secure way. It's not like you have a secret key and the peer need to have the same key to be able to connect. It's like you have one random generated key and your peer has another random generated key, you use these 2 keys in a secured way to generate the common key. After that you use the common key to encrypt the link. You can, however, to limit the connection to only bonded device, this way all devices that haven't bond to you can not connect to your device.

    • "how can i avoid to store bounds ?" What do you mean ?

  • I have seen this key but it looks unused ?

    I have a system that find devices around (not always the same) and i don't need to save bounds. How can i do that ?

    Thank you for your help.

Reply Children
No Data
Related