Hi, thank you.
I'm a bit closer now, but something seems still missing.
If I add this "PDS_DeleteAll(false);" to the code, it resets the network parameters, however, after that,
this code snippet is not able to succeed:
//Starting network (results in joining to or forming a ZigBee network)
zdoStartReq.ZDO_StartNetworkConf = appZdoStartNetworkConf; //Setting the callback function
ZDO_StartNetworkReq(&zdoStartReq); //Sending a request to the stack
However, after all of this, if I reset the CPU with the RST button, it then scans and connects successfully after a few seconds (clearly not with PDS, which is good).
So now I just need something that can simulate or whatever the RST.
Thank you,
danergo