Hello,
I have a NUS link between 2 nRF52840 (several systems like that) that I want to secure without human intervention (a kind of pre shared keys in code).
What is the best way to do that ?
Is there any exemples ?
Thank you
Hello,
I have a NUS link between 2 nRF52840 (several systems like that) that I want to secure without human intervention (a kind of pre shared keys in code).
What is the best way to do that ?
Is there any exemples ?
Thank you
Here are the different methods to secure a connection. The just work method requires no human intervention. Take a look at this thread, where I explained how to implement paring (pairing two BLE devices is equivalent of securing the connection) on a BLE connection.
Best regards,
Simon
More on link encryption, bonding, etc:
https://devzone.nordicsemi.com/f/nordic-q-a/51290/ble-encryption-link
Hello,
Thank you for your help. How can I be sure that the remote is a valid one please ? What is the best solution id both devices never connected before (bounding) but must recognise that it's an allowed device on the field ?
Hello,
Thank you for your help. I will read that asap.
You can use scan filtering on the central side, which makes it possible to perform filtering based on name, address, uuid and appearance. You can set the advertising name of the advertising device to a agreed upon name, and put this name into the scan filter, and only this device will be able to initiate a connection.
Read more about scan filtering in this Devzone ticket, where I explain it in more details.
Best regards,
Simon