I think that this will receive data in udp port 12345 and encode on codec2 and modulate at gmsk to hw:0 and receive encoded modulated data from hw:0 and transmit via 12346 udp port to localhost.
This can work for a remote station over an network just switching the IP addresses. But I tried and get some error: parallels@ubuntu:~/Desktop/on1arf-gmsk-b208682/gmskmodem_codec2$ ./gmskmodem -format c -siu 12345 -soa hw:0 -ria hw:0 -rou 127.0.0.1 12346 Segmentation fault parallels@ubuntu:~/Desktop/on1arf-gmsk-b208682/gmskmodem_codec2$ sudo ./gmskmodem -format c -siu 12345 -soa hw:0 -ria hw:0 -rou 127.0.0.1 12346 gmskmodem: malloc.c:4631: _int_malloc: Assertion `(unsigned long)(size) >= (unsigned long)(nb)' failed. parallels@ubuntu:~/Desktop/on1arf-gmsk-b208682/gmskmodem_codec2$ Em 21/06/2012, às 06:45, Kristoff Bonne escreveu: > > > Finally, a small quiz question. What would be the usefullness of this setup: > - (session 1) > gmskmodem -format c -siu 12345 -soa hw:0 -ptt_cs /dev/ttyS0 -ria hw:0 > -rou 127.0.0.1 12346 > > - (session 2) > nc -l -u 12346 | c2dec - - | play -D hw:1 -r 8000 -c 1 - > > - (session 3) > rec -D hw:1 -r 8000 - | c2enc - - | nc 127.0.0.1 12345 > > (I hope the options for "play" and "rec" are correct). ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Freetel-codec2 mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freetel-codec2
