1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-15 04:15:28 +03:00

We now successfully fetch and parse ublox data and send as msp messages

This commit is contained in:
Marcelo Bezerra 2024-06-23 19:31:57 +02:00
parent ee98c70807
commit a3f6a99d02
4 changed files with 91 additions and 34 deletions

View file

@ -1588,11 +1588,14 @@ var mspHelper = (function () {
FC.OSD_CUSTOM_ELEMENTS .items.push(customElement)
}
break;
case MSPCodes.MSP2_INAV_GPS_UBLOX_COMMAND:
// Just and ACK from the fc.
break;
default:
console.log('Unknown code detected: ' + dataHandler.code);
console.log('Unknown code detected: 0x' + dataHandler.code.toString(16));
} else {
console.log('FC reports unsupported message error: ' + dataHandler.code);
console.log('FC reports unsupported message error: 0x' + dataHandler.code.toString(16));
}
// trigger callbacks, cleanup/remove callback after trigger