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

Can I call pm_init() at early stage?

Hi Nordic,

In my custom board, I need to access peer data at quite early stage - to determine which board it is.

So my question is: Can I call pm_init() (in peer_manager_init() in the examples) at early stage, even before stack_init()? Like this:

peer_manager_init();

ble_stack_init();

gatt_init();

....

I just tried, and it works well for me. I just need a confirmation, in case I miss something.

Thanks,

Vincent

Parents Reply Children
Related