 
            Hi,
Is it possible to use the op25 block from c++? I have it built and working with GRC but now I would like to use it from a c++ program. I looked but I could not find a library anywhere?
stephen
 
            Hi Stephen,
The OP25 block is actually a Python block the combines many of the commonly used OP25 C++ blocks together into one package for immediate use in GRC, so unfortunately you won't be able to drop it into C++.
If you're constructing a flowgraph in C++, then you could write your code so that it matches (using the appropriate GNU Radio API calls) the flow in the Python block.
Hope that helps,
Balint
From: op25-dev@yahoogroups.com [mailto:op25-dev@yahoogroups.com] On Behalf Of Stephen Sent: Saturday, 16 June 2012 12:45 PM To: op25-dev@yahoogroups.com Subject: [op25-dev] using op25 from c++
Hi,
Is it possible to use the op25 block from c++? I have it built and working with GRC but now I would like to use it from a c++ program. I looked but I could not find a library anywhere?
stephen
 
            I've been planning to refactor things for ages so that accessing P25 from C++ is easier.
The idea is to move everything that isn't GNURadio-specific into a new p25lib library and have the blocks link to that. The blocks (repeater, vocoder, decoder) would then all be integrated into one GNURadio project which links to p25lib. Then new utilities could simply be written to process the P25 traffic using p25lib - without a dependency on GNURadio (they'd simply receive traffic using the CAI-in-UDP encapsulation. I did start on it but did some private work in p25lib that diverged and I simply haven't had time to get the blocks re-organized and the C++ refactored. With luck that will change before too long :-)
 
            If you’re constructing a flowgraph in C++, then you could write your code so that it matches (using the appropriate GNU Radio API calls) the flow in the Python block.
Hope that helps,
Balint
That and the grc file help a lot.
thanks,
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to: http://groups.yahoo.com/group/op25-dev/
<*> Your email settings: Individual Email | Traditional
<*> To change settings online go to: http://groups.yahoo.com/group/op25-dev/join (Yahoo! ID required)
<*> To change settings via email: op25-dev-digest@yahoogroups.com op25-dev-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to: op25-dev-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/


