Re: [Discuss-gnuradio] question on implementing a state machine

2015-06-09 Thread Vanush Vaswani
I believe this is a very common pattern for decoding simple protocols (once you have the bits) Here's an example https://github.com/jmalsbury/gr-tnc/blob/master/lib/hdlc_deframer_impl.cc On Tue, Jun 9, 2015 at 2:22 PM, Martin Braun wrote: > On 06/08/2015 07:16 PM, Anil Kumar Yerrapragada wrote:

Re: [Discuss-gnuradio] question on implementing a state machine

2015-06-08 Thread Martin Braun
On 06/08/2015 07:16 PM, Anil Kumar Yerrapragada wrote: > I am trying to implement a state machine based synchronization > algorithm. 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 > function check wha

[Discuss-gnuradio] question on implementing a state machine

2015-06-08 Thread Anil Kumar Yerrapragada
Hi Please forgive me if the questions are silly/basic. I've learnt a lot from replies on this forum and I'm making steps in the right direction, if only baby ones. I am trying to implement a state machine based synchronization algorithm. The 2 states being "search for synch sequence" and "pass da