Hi guys,
I am developing a code based on your high-accuracy lab. I need the code to be able to receive a configuration, run it for a while, then start receiving a new configuration.
However when I try to send a new configuration, I receive two types of errors:
Error: MMWDemoMSS mmWave Configuration failed [Error code -203816626]
Error: MMWDemoMSS mmWave Stop failed [Error code -203227134]
Here is what I get when I decode them:
-203816626:
-3110 => MMWAVE_EFRAMECFG
83 => RL_RET_CODE_FRAME_IS_ONGOING
-203227134:
-3101 => MMWAVE_EINVAL
0 => RL_RET_CODE_OK
The first one makes sense, however, I have implemented an event, where sensorStop waits for the DSS to notify MSS about the frame completion before it tries to perform sensorStop actions.
sensorStop actions are the following ones:
And there is a task in main that pends on MMWDEMO_SENSOR_STOP_EVT, that works as follows:
In the end eventHandleNotify is used only to set isSensorStarted bool value to false, once the sensorStop has been completed.
What am I missing here?
Cheers,
Aleksa