This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SignalK not receiving wind data
#8
(2022-01-05, 07:29 PM)tkurki Wrote: This is not correct advice. Your node-red code is off and it is generating data that has backslash as the first character, null as the second one and then the real data. The conversion to SK does not handle this because of the extra backslash.

I just tested and activating the null character removal makes this message pass. Likewise it should fix the original poster's issue




OK, learning lots today, ta. 

And of course you are correct, sending >>
msg.payload = new Buffer([0x00,0x24,0x57,0x49,0x4D,0x57,0x56,0x2C,0x33,0x34,0x35,0x2C,0x52,0x2C,0x30,0x2C,0x4E,0x2C,0x41,0x2A,0x32,0x31]);

with null at the start shows as \u0000$WIMWV,345,R,0,N,A*21, activate null char removal and it's $WIMWV,345,R,0,N,A*21

Every day a school day, for me anyway  Big Grin
Reply


Messages In This Thread
SignalK not receiving wind data - by ash_perry - 2022-01-04, 04:07 AM
RE: SignalK not receiving wind data - by PaddyB - 2022-01-04, 12:45 PM
RE: SignalK not receiving wind data - by tkurki - 2022-01-04, 04:13 PM
RE: SignalK not receiving wind data - by PaddyB - 2022-01-05, 01:31 AM
RE: SignalK not receiving wind data - by tkurki - 2022-01-05, 07:29 PM
RE: SignalK not receiving wind data - by PaddyB - 2022-01-05, 11:17 PM
RE: SignalK not receiving wind data - by tkurki - 2022-01-05, 12:45 AM
RE: SignalK not receiving wind data - by PaddyB - 2022-01-06, 12:23 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)