minivna tiny network connection

Here we will discuss only topics related to the miniVNA Android application
Post Reply
sq9png
Posts: 3
Joined: Thu Nov 07, 2019 6:35 pm

minivna tiny network connection

Post 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?
User avatar
yo3ggx
Site Admin
Posts: 836
Joined: Wed Aug 15, 2012 8:30 pm
Location: Bucharest, România
Contact:

Re: minivna tiny network connection

Post by yo3ggx »

Hi,

miniVNA Tiny connects at 921600 over USB/serial.

73 Dan YO3GGX
sq9png
Posts: 3
Joined: Thu Nov 07, 2019 6:35 pm

Re: minivna tiny network connection

Post 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.
User avatar
yo3ggx
Site Admin
Posts: 836
Joined: Wed Aug 15, 2012 8:30 pm
Location: Bucharest, România
Contact:

Re: minivna tiny network connection

Post 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
sq9png
Posts: 3
Joined: Thu Nov 07, 2019 6:35 pm

Re: minivna tiny network connection

Post 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)
User avatar
yo3ggx
Site Admin
Posts: 836
Joined: Wed Aug 15, 2012 8:30 pm
Location: Bucharest, România
Contact:

Re: minivna tiny network connection

Post 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
Post Reply