OpenMarine
Multiplexeur - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=2)
+--- Thread: Multiplexeur (/showthread.php?tid=468)



Multiplexeur - petrouch - 2017-04-20

Hello, I have a pi3 with openplotter 9beta 02.
I using a mimiplex-3usb,  create in openplotter usb0, baud 57600. No data in inspector.
I write in lxterminal : sudo stty -F /dev/ttyUS0 460800
All the data is coming, good.
Have you got a solution to automatically a connection usb0.
Thanks for your response.
I am sorry for English, i am French !!!


RE: Multiplexeur - SkipperEarly - 2017-04-26

Suggest you upgrade to op 0.10.2 and run option autoconfig.


RE: Multiplexeur - petrouch - 2017-04-28

(2017-04-26, 05:50 AM)SkipperEarly Wrote: Suggest you upgrade to op 0.10.2 and run option autoconfig.

I update 0.10.2 and run autoconfig :

"Auto setup detects hardware. Please make sure that all devices are turned on.


search for tty devices
found: /dev/ttyUSB0 0403 fd4b 31000638 1-1.3:1.0  Future Technology Devices International, Ltd

sort tty devices

check if we have to switch from dev to port
test  ['', '0403', 'fd4b', '31000638', '1-1.3:1.0', 'dev', 'ttyUSB', '/dev/ttyUSB0', '', 'Future Technology Devices International, Ltd', 0]

search for NMEA0183 in tty devices

search NMEA0183 on /dev/ttyUSB0 with baudrate 4800
search NMEA0183 on /dev/ttyUSB0 with baudrate 38400
search NMEA0183 on /dev/ttyUSB0 with baudrate 115200
search NMEA0183 on /dev/ttyUSB0 with baudrate 9600
search NMEA0183 on /dev/ttyUSB0 with baudrate 19200
search NMEA0183 on /dev/ttyUSB0 with baudrate 57600

create an autoname for found NMEA0183 devices

search for NMEA2000 in tty devices
['', '0403', 'fd4b', '31000638', '1-1.3:1.0', 'dev', 'ttyUSB', '/dev/ttyUSB0', '', 'Future Technology Devices International, Ltd', 0]
n2k ['', '0403', 'fd4b', '31000638', '1-1.3:1.0', 'dev', 'ttyUSB', '/dev/ttyUSB0', '', 'Future Technology Devices International, Ltd', 0] 115200
start
search NMEA2000 on /dev/ttyUSB0 with baudrate 115200
not found NMEA2000 on /dev/ttyUSB0 with baudrate 115200

########################## result ################################

add new devices to openplotter.conf
- none -

add new devices to kplex (not activated and no filter)
- none -

"
and now on the lxterminal :
pi@openplotter:~ $ sudo stty -F /dev/ttyUSB0/ 460800

stty: /dev/ttyUSB0/: Not a directory

Huh

Thank for you help.


RE: Multiplexeur - e-sailing - 2017-04-28

OpenPlotter does use kplex.
kplex does work with up to 115200 baud in standard.

But there was a discussion with 460800.
https://groups.google.com/forum/#!msg/kplex/XMGPJLhkb5Y/ouHNUJb9EAAJ

It could be that the actual version is capable of 460800. You can try to do the configuration by hand (click "Advanced" button).