Anyvody experience with socat? (only slightly related to SDRplay)
Posted: 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.
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.
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]
Any ideas?
Thanks,
Ton.