Anyvody experience with socat? (only slightly related to SDRplay)

Add useful snippets of code or links to entire SDR projects.
Toontje
Posts: 50
Joined: Fri Aug 07, 2015 8:36 am

Anyvody experience with socat? (only slightly related to SDRplay)

Postby Toontje » Thu Feb 11, 2016 11:50 am

Hi all!

I am trying to replicate the Kenwood serial port so i can have my radio connected to my logging program and to CubicSDR which runs the SDRplay as panadapter.
I tried with socat to replicate the Kenwood port to a new serial port, but no success.

Code: Select all

TM-MBP:~ Ton$ sudo socat -d -d /dev/cu.SLAB_USBtoUART,raw,echo=0 pty,raw,echo=0
2016/02/11 12:42:04 socat[7589] N opening character device "/dev/cu.SLAB_USBtoUART" for reading and writing
2016/02/11 12:42:04 socat[7589] N PTY is /dev/ttys002
2016/02/11 12:42:04 socat[7589] N starting data transfer loop with FDs [5,5] and [6,6]


I connect the logging software to /dev/cu.SLAP_USBtoUART which works fine, but the connection from CubicSDR to /dev/ttys002 doesn't do anything.

Any ideas?

Thanks,

Ton.
Last edited by Toontje on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

Return to “Code Corner”

Who is online

Users browsing this forum: No registered users and 2 guests