Page 1 of 1

minivna tiny network connection

Posted: Sat Nov 16, 2019 7:48 pm
by sq9png
I'm trying to connect to minivna tiny via network connection.

On linux I've tried:
socat -x /dev/ttyUSB0,raw,b9600 TCP-LISTEN:4000
It doesn't work.

Do I need specialized software to run network mode?

Re: minivna tiny network connection

Posted: Sun Nov 17, 2019 2:04 pm
by yo3ggx
Hi,

miniVNA Tiny connects at 921600 over USB/serial.

73 Dan YO3GGX

Re: minivna tiny network connection

Posted: Sun Nov 17, 2019 3:03 pm
by sq9png
I've changed to:
socat -x /dev/ttyUSB0,raw,b921600 TCP-LISTEN:4000

but still no results.
Option -x should hexdump messages going trough socat but there is no message going from bluevna app.

Re: minivna tiny network connection

Posted: Wed Nov 27, 2019 7:01 pm
by yo3ggx
Hi,

Did you tried to use jAReC or jarecmini from my web site (on your linux machine) with authentication disabled?

73 Dan YO3GGX

Re: minivna tiny network connection

Posted: Fri Nov 29, 2019 10:12 pm
by sq9png
I've tried jarecmini beacuse I don't have javafx on linux.

I've tried with configuration:

Code: Select all

#Fri Nov 29 21:07:05 CET 2019
bUseAuthentication=false
bUseEncryption=false
iPTTtimeout=30
sBaudrate=921600
sCATport=/dev/ttyUSB0
sPTTport=
bAutostart=true
iPlayInterface=2
PTT=CAT
bRTSpower=false
bUseAudio=false
iRecInterface=0
sHSecret=DA39A3EE5E6B4B0D3255BFEF95601890AFD80709
bDTRpower=false
nwPort=4000
And got error:

Code: Select all

 
jarecmini version 3.0b9  (2019/11/29--21:09:47)
 
 
  
  
Listening for connections on the following IPs: ; 192.168.9.117
On TCP/UDP port:4000
Remote IP Address: 192.168.9.105
java.lang.RuntimeException: Message size too large. Prefix mode can only work if both sides of the connection follow the 'prefix' protocol.
	at anywheresoftware.b4a.randomaccessfile.AsyncStreams$AIN.run(AsyncStreams.java:220)
	at java.lang.Thread.run(Thread.java:748)
Poket RxTx disconnected!
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted (core dumped)

Re: minivna tiny network connection

Posted: Tue Apr 21, 2020 12:47 pm
by yo3ggx
Hello,

I'm really sorry for the late reply. Seems to have some issues with forum notifications.
Network mode was designed to be used with potential network interfaces based on ESP and simple serial over network protocol.
Unfortunately I didn't had the possibility to test it in real life.

73 Dan YO3GGX