This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Advertisement and encryption performance

I am developing an advertise only code.

  1. There is PERIPHERAL_LINK_COUNT macro in ble_app_template that is used by the softdevice to reserve RAM for peripheral link. Since, I only want to advertise, not connect to any central, can I set PERIPHERAL_LINK_COUNT to zero ? ( I tried to set it to zero, but its giving error )

  2. I want to advertise only. So, from performance point of view, which is better - advertising without using softdevice or by using softdevice ?

  3. Is it possible to encrypt whole advertisement packet using AES-CCM module ? (assuming, keys are already present on peripheral and central)

  4. If it is possible, then from performance point of view, which is better - AES-CCM encryption using timeslot API and advertise using softdevice OR use AES-CCM peripheral directly and advertise without softdevice ?

Thanks in advance.

Parents Reply Children
No Data
Related