Forum: GNU Radio pyserial Wrapper

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
John Malsbury (Guest)
on 2012-10-17 19:55
(Received via mailing list)
Hello list,

Just shooting out a quick update.  I wrote a simple wrapper for pyserial
provide a serial port block for use with GNU Radio/GRC.  The objective
was to support a legacy command generation program that would typically
output to an external, hardware-based transmitter via RS-232.   The user
wanted to move the radio functionality into GNU Radio/USRP, but re-use
legacy application and interface to save a little work.  This block,
combined with a socat generated virtual serial port permitted this
migration of functionality.

This block uses grextras and message passing:

Some possible use cases for this block:

   1. Interfacing to legacy programs.  For example, you could use this
   block to interface with older amateur radio programs that talked to
   external TNCs on a serial port.  You can also connect to AX25-tools
   this block [may require a KISS emulator block].  May be  a way to
   the amateur radio community in PHY evolution while keeping them in
   with familiar portions of their typical radio chain.
   2. Outputting USRP GPSDO sensor data to mapping applications that
   typically use a serial port.  This would require some manipulation to
   generate standard NMEA commands - I plan on doing this here soon.
   3. Deploying novel modems (i.e. in place of something like a
   900 MHz or xBee) with an RS-232 interface to other devices like
   etc. -  - perhaps with the E100?

I'm on the road and do not have hardware to test it thoroughly.  I've
done some cursory testing with virtual ports created with socat.

John Malsbury
This topic is locked and can not be replied to.