Tool/software:
Hi all!
I'm wrote some code based on proprietary commands in chain.
Schematically it looks like this:
RF_cmdPropQQAdv.pNextOp = (rfc_radioOp_t *) &RF_cmdPropXXAdv;
RF_cmdPropXXAdv.pNextOp = (rfc_radioOp_t *) &RF_cmdPropYYAdv;
RF_cmdPropYYAdv.pNextOp = (rfc_radioOp_t *) &RF_cmdPropZZAdv;
RF_cmdPropZZAdv.pNextOp = NULL;
RF_postCmd(rfHandle, (RF_Op *) &RF_cmdPropQQAdv), ....)
And it works great.
Now I'm trying to slightly modify and complicate logic.
It should work like that:
- when some command in chain is done there is a callback fired
- code placed in the callback have to decide should the RF Statemachine execute or cancel (skip) next command in chain.
As I see I can only cancel the whole chain posted by previous RF_postCmd() command.
And that's not what I need.
Please assist