Hi Dialog Team,
I'm afraid I haven't fully understood the BLE encryption process yet, so this might be a bit of a silly question.
I've been working off the SDK5 peripheral template, and I'm wondering whether the AES encryption is activated or not. I found the #define CFG_APP_SECURITY in the header file "da1458x_config_basic.h".
Is this the #define used to activate and deactive AES encryption?? Couldn't find anything about this in the user manuals...
Thanks for your help!
Keywords:
Device:
Hi mabraun,
The CFG_APP_SECURITY is to enable the security features over a BLE connection. By using this and by defining the DEF_SEC_REQ_ON_CONNECT then your application will make a security request to the central in order to pair/bond and if encryption is enabled by your security settings (user_security_configuration struct) the stack will encrypt your link without require any additional implementation. Concerning the AES in application level please check the following FAQ.
http: //support.dialog-semiconductor.com/faq/does-da14580-support-aes-128...
Thanks MT_dialog