Other Parts Discussed in Thread: CC1310
Tool/software: Code Composer Studio
Hey guys,
I finally tracked down an old error I noticed before but never was able to reproduce. We use the sensor collector 15.4stack example in non-beacon mode. We have two cc1310 launchpads for testing. I will now try to elaborate the scenario and hopefully, you can tell me why this error happens and how to solve it.
- After flashing sensor/collector everything works fine, polling works and the sensor is tracked periodically
- Factory resetting the collector causes the sensor to disconnect and rejoin the collector. Still, everything works fine.
- I do now reset or unplug/replug the cc1310 sensor launchpad. Still, everything seems fine.
- I do now factory reset or flash the collector board. The sensor disconnects and rejoins the network.
- From now on, the sensor never gets configured during polling again and no tracking message is send to the collector. Other functions still work (sending other data messages or rejoining network after another disconnect from the collector)
In the sniffer I see the following when the polling timer expires.
The message from the collector after the "data request" is not answered. I noticed during debugging, that the sensor is not entering dataIndCB() anymore after step 5 is reached. Like the sensor is acknowledging the message, but the message is not passing some security stuff or whatever.
When I flash the sensor again, everything works fine.
So any idea whats happening here? I assume it has something to do with the power cycle of the sensor during reset.
Btw. I noticed that in the function disassoCnfCb() the case-loop if(pData->status == ApiMac_status_success) is never entered if the collector is not present or not acknowledging the message, what is always the case in my scenarios, because I only disconnect if the collector does not acknowledge the sensor messages. Not sure if that makes so much sens.
kind regards
Slev1n