Hello there,
首先,比k you very much for your help and effort in this forum, your support is truly outstanding.
I'm working with the pxp-reporter demo (SUOTA enabled) as the basis, and I've developed an application with it that I now want to test on about 100 DA14680s. I will give every device a unique MAC address via the program_qspi_nvparam-script.
So, my question now: is there some code example/could you provide me some code example on how to change the MAC address of the device from the NVPARAM? I'd like to change the defaultBLE_STATIC_ADDRESS to the one from flash.
Thank you in advance,
Philipp
Device:
嗨,你可以改变这一点programatically using
own_address_t *my_addr = OS_MALLOC(sizeof(own_address_t));
ble_gap_address_set(my_addr, 15000);
This is available in ble_gap.h.
I would suggest doing this before you start your peripheral.
//Jon
Thank you very much! Works flawlessly.
This can also be set is the Smart Snippets Tooblox using QSPI_NVPARAMS tool.
//Jon