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 do a self organized scatternet mesh (see at http://fabiencomte.tumblr.com/ and fabiencomte.tumblr.com/.../voici-une-démonstration-dune-visualisation-qui) for industrial application. A devices discover automatically other devices around and create connections. I want to limit scatternet access to trusted devices that's why pre shared key looked interesting for me but if you can propose me something else i am interested.

Reply Children
No Data
Related