I just found Steve's earlier posts explaining that op25_decoder_ff.cc was depreciated and to stick a slicer in front of the bf version. I also realized that the OP25 GRC blocks came from Baz. I was able to figure out how hook everything together by looking at that.
After setting the return from general_work in op25_decoder_bf to n, so it only gives output when samples are received, I am able to record P25 CAI voice channels off of a SmartNet system using C++.
I would like to be able to record multiple channels at the same time using multiple instances of OP25. The problem is that I don't think I have enough CPU. I am monitoring 8Mhz of spectrum because the channels are pretty spread out.
Are there any performance tweaks I could try to improve CPU utilization? Are there any Static variables or other things that would make running multiple instances of OP25 or libmbe tough?
- Luke
--- In op25-dev@yahoogroups.com, "trinmole" <lukekb@...> wrote:
I am trying to use the OP25 blocks for a C++ program. I have everything running fine as a .GRC. I also have a makefile to bundle everything up into a library.
I am confused which C++ blocks I should be using - should it be op25_fsk4_demod_ff.cc connected to op25_decoder_ff.cc ?
op25_decoder_ff.h get exported to /usr/include/ however only op25_decoder_bf.cc is included in the Makefile.am
There is no op25_fsk_demod_fb.cc so I am not sure how I would connect the decoder_bf block in.
What are the correct C++ blocks to use to replicate the "OP25 FSK4 Demod" & "OP25 Deocder" Python Blocks?
Are there any C++ programs I could use as an example?
Thanks for any pointers!
- Luke