I'm working with NCS 2.2.0 and a nrf52840DK. The project base is this one and it is working in NCP mode.
I enable multiprotocol with BLE and it's working but my next objetive is to change a parameter from OpenThreat network (channel for example).
What libraries do I have to include? I have been investigating and included this:
#include <openthread/instance.h> #include <openthread/channel_manager.h>
So now I can create an instance of OT to change his channel:
static otInstance *instance_1; otChannelManagerRequestChannelChange(instance_1, 20);
But why I need to create an instance if openthread is working before adding the code I attached here. How can I know the instance name that is working?