Hi, I want to include the pairing and bonding features in my application.
I want to use the LE secure connection method. For both initiator and responded the IO capabilities are no input / no output and hence it will be used the Just Works pairing mode
I was looking at the heart rate example of SDK16, which performs bonding, uses LE secure connection mode and has no IO capabilities.
So far, to my understanding pairing is used to create an encrypted communication link between the master and the slave,
A secure communication link provides data encryption through AES-CCM cryptography, right?
Does this mean that all the data exchanged after pairing through characteristics are encrypted? e.g the value of the sensors, battery level, etc?
Also, after testing the heart rate example, I see that I have access to all characteristics without previously having paired the devices. This doesn't make sense to me. I mean it would make sense for the central to have access to the GATT server after the pairing process. For example, when I connect my wireless headphones with the smartphone, I have to pair the device before start hear music.
So this is something that should but doesn't be demonstrated in the hrs example or do I miss something?
