What does it mean to be "connected"?

Hello,

What is the difference between 2 devices which are constantly scanning and 2 devices which are connected? Also, how do I code 2 devices to connect to each other? I use VScode with the NRF-connect plugin and SDK 1.8.0. 

Kind regards

AD41

  • Hi!

    Having devices established a connection will allow the devices to exchange various information, like connection parameters; Which enables devices to go to sleep between connection, and will reduce power consumption significantly.
    You can also exchange security information, encrypting the connection and protect yourself against ie. mitm attacks.

    If you need an example to start with, I suggest that you take a look at the BLE UART example in the SDK.

    Br,
    Joakim

Related