AES Encryption on BLE Mesh.

Hello All.

I am new to BLE mesh development as well as the Zephyr RTOS. We are testing BLE mesh sensor network and we require AES encryption as the hardware supports it. I have seen the AES CCM example provided but fail to understand how to utilize it. I have based my testing application for BLE mesh using the Sensor Server and Sensor Client example. As I am not manually publishing the sensor data, I am not understanding where to encrypt the outgoing data. I also have to ask if I have to use the PSA Crypto library or the Bluetooth Crypto library or both.

Any sample code regarding this specific case would be appreciated.

Currently using the following for development:

nRF Connect v2.1.2 and nRF52840 Dongle for evaluation and development.

Thank you.

Related