-31- v2.9
Software
5.2.2. Encryption and bonding
In older Bluetooth standards, the user needed to pair with a remote device before connecting it. On the Bluetooth
4.0 standard, the user can connect to other remote BLE devices without any pairing process. Even the user can
use advertisements to send a few amount of data, as it has been described in previous sections. However, these
processes are not secure.
The Bluetooth 4.0 standard uses AES-128 link layer encryption. The encryption can be used in the connection
processes to make them secure. The encryption of the connection can be started using a dedicated command.
providing the handler of the established connection. The handler is usually zero, unless other connections are
enabled.
On the other hand, the bonding processes are the long term storage of encryption keys used by each BLE module.
Keys are dened as 6 digit numbers with a range from 000000 to 999999. Starting a connection with bonding will
imply next steps:
• 1. MySignals SW advertises
• 2. MySignals APP detects advertisements of MySignals SW
• 3. MySignals APP starts a connection with MySignals SW
• 4. MySignals APP request bonding
• 5. Both nodes exchange keys: bonding key appear in MySignals SW TFT screen.
• 6. Both nodes store keys for future usage