0.2.0
Loading...
Searching...
No Matches
EmlidUtilities.hpp File Reference

Helper Functions to work with Emlid Sensors. More...

Go to the source code of this file.

Functions

std::pair< uint8_t, uint8_t > NAV::vendor::emlid::checksumUBX (const std::vector< uint8_t > &data)
 Calculates the two UBX checksums for the provided data vector.
 
void NAV::vendor::emlid::decryptEmlidObs (const std::shared_ptr< NAV::EmlidObs > &obs, uart::protocol::Packet &packet)
 Decrypts the provided Emlid observation.
 

Detailed Description

Helper Functions to work with Emlid Sensors.

Author
T. Topp (topp@.nosp@m.ins..nosp@m.uni-s.nosp@m.tutt.nosp@m.gart..nosp@m.de)
Date
2020-07-22

Function Documentation

◆ checksumUBX()

std::pair< uint8_t, uint8_t > NAV::vendor::emlid::checksumUBX ( const std::vector< uint8_t > & data)

Calculates the two UBX checksums for the provided data vector.

Parameters
[in]dataData Vector for which the checksum should be calculated
Returns
The checksums CK_A and CK_B

◆ decryptEmlidObs()

void NAV::vendor::emlid::decryptEmlidObs ( const std::shared_ptr< NAV::EmlidObs > & obs,
uart::protocol::Packet & packet )

Decrypts the provided Emlid observation.

Parameters
[in]obsEmlid Observation to decrypt
[in,out]packetUart packet with the data (content gets changed because data gets extracted)