Please forgive me if the questions are silly/basic. I’ve learnt a lot
replies on this forum and I’m making steps in the right direction, if
I am trying to implement a state machine based synchronization
The 2 states being “search for synch sequence” and “pass data through”.
As far as I can see, the ideal way to do this is to have the work
check what state it is in before proceeding. If it is in search state,
work function will search for the synch sequence and once found, switch
“pass data” and get out.
Next time work is called (use forecast to make sure that the number of
input items available matches the amount I have data I have after the
sequence), it will pass data through. Switch state back to “search” and
My questions are these:
Before each work call, does GNURadio automatically know the state
left it in in the previous call? (Am I allowed to make work return
else apart from len(output_items)?
Is it better/possible to implement a separate block for the state
machine that can somehow make the system aware of what state it is in?