- Removed all serial devices and SignalK connections (except moitessier)
- Added wind sensor again, as NMEA0183 output, and a SignalK connection at 38400 baud.
The stream looks like this:
After running the command to ensure 38400, output looks much better:
But even at this stage, SignalK keeps showing the error: "7/28/2021, 12:59:43 PM: Error Resource temporarily unavailable Cannot lock port"
I must add that after restarting SignalK, the output is wrong again, even if I can clearly see that 38400 is the baud rate selected.
It seems something is setting the baud rate at 19200, but i have no clue what or how. This is after SignalK restart:
- Added wind sensor again, as NMEA0183 output, and a SignalK connection at 38400 baud.
The stream looks like this:
Code:
pi@openplotter:~ $ cat /dev/ttyOP_windsens
��/ZyLII*-��̙�/ZyLII*-��̙�/ZyLII*-��̙�/ZyLII*-��̙�/ZyLII*-��̙�/ZyLII*-��̙�/ZyLII*-��̙�
/ZyLII*-��̙�/ZyLII*-��̙�/ZyLII*-��̙�/ZyLII*-��̙�/ZyLII*-��̙�/ZyLII*-��̙�/ZyLII*-��̙�
/ZyLII*-��̙�/ZyLII*-��̙�/ZyLII*-��̙�/ZyLII*-��̙�/ZyLII*-��̙��)YI����������̊ę��Y��
After running the command to ensure 38400, output looks much better:
Code:
pi@openplotter:~ $ stty -F /dev/ttyOP_windsens 38400
pi@openplotter:~ $ cat /dev/ttyOP_windsens
$ARMWV,21.75,R,0.00,N,A*1f
$ARMWV,21.75,R,0.00,N,A*1f
$ARMWV,21.75,R,0.00,N,A*1f
$ARMWV,21.75,R,0.00,N,A*1f
But even at this stage, SignalK keeps showing the error: "7/28/2021, 12:59:43 PM: Error Resource temporarily unavailable Cannot lock port"
I must add that after restarting SignalK, the output is wrong again, even if I can clearly see that 38400 is the baud rate selected.
It seems something is setting the baud rate at 19200, but i have no clue what or how. This is after SignalK restart:
Code:
pi@openplotter:~ $ stty -F /dev/ttyOP_windsens
speed 19200 baud; line = 0;
min = 1; time = 0;
-brkint -icrnl -imaxbel
-opost -onlcr
-isig -icanon -iexten -echo -echoe -echok -echoctl -echoke