47 int main(
int argc,
char *argv[]) {
50 fprintf(stderr,
"Usage: %s <file>\n", argv[0]);
55 FILE *testFile = fopen(argv[1],
"r");
56 if ((testFile == NULL) || errno) {
57 fprintf(stderr,
"Unable to open test file %s\n", argv[1]);
65 while (!(feof(testFile) || exit == 1)) {
91 fprintf(stdout,
"%d messages read\n", count);
int main(int argc, char *argv[])
bool ubx_readMessage(int handle, ubx_message *out)
Static wrapper around ubx_readMessage_buf()
Internal representation of a UBX message.
uint8_t sync1
Should always be 0xB5.