How to forward a character device from remote to local using socat
?
I'm trying to use URH with an SPI (cc1101) device. My local computer has a lack of SPI Interface and my BananaPI can't run URH (at least I gave up after days of compiling)
My idea is to forward the SPI-Device to my local computer using socat
. I did lots of tests but with no luck.
The 'easy' way terminates after 0.5 seconds. Is it possible to create a bidirectional listener? I searched around lots of time with no luck.
socat -d -d $HOME/dev/spidev0 EXEC:"ssh me@bananapi socat -d -d - /dev/spidev0.0"
bananapi:~:% ls -al /dev/spidev0.0
crw-rw---- 1 root me 153, 0 Dez 7 23:54 /dev/spidev0.0