Function ublox::calculateChecksum(const uint8_t *, uint32_t, uint16_t&)

Function Documentation

static inline uint16_t ublox::calculateChecksum(const uint8_t *data, uint32_t size, uint16_t &checksum)

calculate the checksum of a u-blox_message.

Parameters:
  • data – the start of the u-blox message

  • data – the size of the u-blox message

  • checksum – the checksum output

Returns:

the checksum