We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, Here is an modified decoder script for TT Stack V3:
function decodeUplink(input) { var decoded = {}; decoded.lat = ((input.bytes[0]<<16)>>>0) + ((input.bytes[1]<<8)>>>0) + input.bytes[2]; decoded.lat = (decoded.lat / 16777215.0 * 180) - 90; decoded.lon = ((input.bytes[3]<<16)>>>0) + ((input.bytes[4]<<8)>>>0) + input.bytes[5]; decoded.lon = (decoded.lon / 16777215.0 * 360) - 180; var altValue = ((input.bytes[6]<<8)>>>0) + input.bytes[7]; var sign = input.bytes[6] & (1 << 7); if (sign) { decoded.alt = 0xFFFF0000 | altValue; } else { decoded.alt = altValue; } decoded.hdop = input.bytes[8] / 10.0; return { data: decoded, warnings: [], errors: [] }; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, Here is an modified decoder script for TT Stack V3:
The text was updated successfully, but these errors were encountered: