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
Tank Adapter YDTA-01N to SK via Shipmodule Miniplex
#6
Boat is on the dry so started to use the http://localhost:3000/admin/#/serverConf...atafiddler to further investigate.

I added logging to stringMSG.js
I found exports.encodeMXPGN code mentioned above is not used.
Only exports.parseMXPGN is being used.

Also I tried to reverse the HEX words manualy so tested:
$MXPGN,01F211,68BB,004EA80000044CFF

Then I get at least some valid data:
Code:
"values": [
  {
    "path": "tanks.fuel.0.currentLevel",
    "value": 1.7234399999999999
  },
  {
    "path": "tanks.fuel.0.capacity",
    "value": 127533.056
  }
]

this looks better however values not yet correct.

==> which piece of code should reverse the HEX words?
==> where are the values calculated

to be continued.
Tips are welcome Tongue
Reply


Messages In This Thread
RE: Tank Adapter YDTA-01N to SK via Shipmodule Miniplex - by Sjoerd02 - 2021-11-11, 09:32 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)