Re: configure tnc-pi on polaric server(java app)


Randy Greig
 

Is it possible that the port is open in another application and java just says that it cannot find it?

Randy
VE3YRG



On Thu, Oct 22, 2020 at 8:55 AM k - HJ4JGG via groups.io <kalashnikov=compelect.com.co@groups.io> wrote:

hi
i am configuring an app called polaric server, it's like a APRS node whit web interface and other functionalities. a java app.
using a TNC-PI v1 connected to a Rpi3b+, via serial port.

i can access to tncpi via serial0
https://user-images.githubusercontent.com/44566/96772497-d55ce300-13a8-11eb-98c3-e82308866790.png

the java app can not access the port serial0

errorĀ 
-----
okt. 21 14:19:10 ERROR (TncChannel): [rf0] Serial port /dev/serial0 not found gnu.io.NoSuchPortException at gnu.io.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:269) at no.polaric.aprsd.TncChannel.connect(TncChannel.java:105) at no.polaric.aprsd.TncChannel.run(TncChannel.java:153) at java.base/java.lang.Thread.run(Thread.java:834
----

here port serial0 permission
https://user-images.githubusercontent.com/44566/96772411-b52d2400-13a8-11eb-874f-d0d5e627c5a2.png

How is the correct way to configure the port permissions so that the java application can access the port?

about polaric server
http://aprs.no/dokuwiki/doku.php/polaricserver
https://github.com/PolaricServer

Thanks for the help
juan
HJ4JGG

Join RaspberryPi-4-HamRadio@groups.io to automatically receive all group messages.