cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB5M BLE MESH LIBRARY can not find unprovisioned device

CBuch.1
Associate III

I am trying to build an embedded provisioner for the stm32wb5m, but i am not able to find an unprovisioned device.

I am using the example "BLE_MeshLightingProvisioner" for the WB55 nucleo Board as reference.

The Initialization of the STM32WB and the communication between the cores is done.

The init of the library:

void MESH_Init(void)
{
    BLEMesh_BleHardwareInitCallBack(&user_ble_cb);
    BLEMesh_Init(&BLEMeshlib_Init_params);
  
    Appli_CheckForUnprovision();
    Appli_StartProvisionerMode(1);
}
 
 

The function "BLEMesh_Process();" is called every 1ms like in the example.

The function "BLEMesh_GetNeighborState(NeighborTable,&NoOfNeighborPresent);" does not get any unprovisioned devices.

If im trying to provision the device it works and it will show the device in the ST app, so the library works, but what am i missing?

For the unprovisioned device im using the "BLE_Mesh_ThermometerSensor" for the STM32WB5MM-DK.

library version 1.13.005

1 REPLY 1
Remy ISSALYS
ST Employee

Hello,

If you try with BLE_MeshLightingProvisioner example for the WB55 Nucleo Board, are you able to see the unprovisioned devices ?

Are you sure that your device is unprovisioned ?

You can look this wiki page which describes the embedded provisioner.

Best Regards