Skip to main content
Deepak.Aagri
Associate III
June 20, 2022
Question

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

This topic has been closed for replies.

28 replies

EMECH
ST Employee
July 25, 2022

Hi Deepak,

Don't worry, most of the ST employees have a backup solution especially Field Application Engineers, and most of ST employees working on BLE MESH are not based in Europe.

Can you tell me which ST team Bart was in contact with ?

Best regards.

Deepak.Aagri
Associate III
July 25, 2022

@EMECH​ 

Hello Eric,

As i mentioned, already asked about the field engineer details. It may take time, meanwhile if you found the solution for LPN node reset issue when mesh network change or updates... please share it. With this approach we definitely can resolve the issue!

Best Regards

Deepak

EMECH
ST Employee
July 25, 2022

Deepak,

As I remembered, I have already answered to this question on the LPN Node reset with some detailed source code modifications.

With these modifications you should be able to unprovision the LP Node from the Provisioner Node with the ATEP UNPV command.

I have also answered you about the non ability to provision again into this existing MESH Network this LP Node with another Provisioner, not possible because you can have only one active Provisioner Node in a MESH Network.

My question is why do you need to provision again this LP Node in the same MESH Network with another Provisioner Node ?

Best regards.