AnsweredAssumed Answered

BLE Mesh on the FRDM-KW41Z does not always deliver packets

Question asked by Philip Bartlett on Dec 21, 2016
Latest reply on Apr 10, 2017 by antonioconcio

I am using the FRDM-KW41Z kit to set up a simple BLE Mesh using the examples that came with the kit. I am using the IAR IDE and have set up one module as the commissioner/configuration client and the other as a temperature server. I created a new shell command on the configuration client that calls MeshTemperatureClient_GetTemperature(destination) with destination set to the address of the temperature server device. Below is an example of the terraterm activity when I type my new command:


BLE MESH >>> temp get 1
< Temp Get command sent to 1 >
-> Received Temperature measurement from ID 1: 27 degrees Celsius.


So far so good but it only works about 50% of the time. When it fails I see the following:

BLE MESH >>> temp get 1
< Temp Get command sent to 1 >


Which indicates to me that the call to MeshTemperatureClient_GetTemperature(destination) was successful.


Using IAR on the temperature server end I can see that the  MeshTemperatureServerCallback() is not being called when a failure occurs. How can I find out where the command is getting lost?