Hi TI engineers & Forum members,
I am trying to add the encryption and decryption using AES-128. It will encrypt a specific characteristic buffer before sending to iOS device or decrypt it after receiving from iOS device.
So, I have read some documents and talkings from here and downloaded some reference source code.
It seems that LL_Encrypt() and LL_EXT_decrypt() API are enough for me to add the feature.
I checked that the above APIs work well.
By the way, I have a question about the key.
Source code and Sniffer manual mention about it simply using 16 bytes buffer with character type. Also, Its values could have any values. my understanding is right?
If yes, is this above key different from the key (LTK) value being exchanged with iOS device during pairing and bonding process?
If the key is the same, the exchanging process is being managed by BT stack itself internally? right?
As reference, I assigned a property with GATT_PERMIT_AUTHEN_READ and enabled bonding manager.
So, through this, authentication operation and bonding process work well and I saw the tranactions are hidden from the sniffer.
Thanks in advance for your kind explanations.
John