How can LPN Unprovision without NVIC_SystemReset in Mesh Network?
Hello ST,
Below function need for Unprovising from network ::
void Appli_Unprovision(void)
{
if(!ProxyFlag)
{
/* No GATT connection */
BLEMesh_StopAdvScan();
PalNvmErase(NVM_BASE, 0);
PalNvmErase(NVM_BASE, 0x1000);
PalNvmErase(APP_NVM_BASE, 0);
PalNvmErase(PRVN_NVM_BASE_OFFSET, 0);
TRACE_M(TF_PROVISION,"NVM erased\r\n");
BLEMesh_Unprovision();
AppliNvm_ClearModelState();
TRACE_M(TF_PROVISION,"Device is unprovisioned by application \r\n");
BLEMesh_Process();
NVIC_SystemReset();
}
}
We don't want to reset the system but without NVIC_SystemReset(); system behave will change and Transport layer become busy.
Please provide the solution for this. We have already spent too much time in STM32WB Mesh network development and our project dead line coming closer. Request to you response back as soon as possible for this issue..
Best Regards
Deepak
