|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Go to the source code of this file.
Classes | |
| struct | counts_t |
Macros | |
| #define | CHECK(condition) |
Functions | |
| static counts_t | feed (gnss_frame_parser_t *p, const uint8_t *bytes, size_t n) |
| static counts_t | feed_str (gnss_frame_parser_t *p, const char *s) |
| static void | test_valid_frames (void) |
| static void | test_lowercase_checksum (void) |
| static void | test_wrong_nmea_checksum (void) |
| static void | test_corrupt_ubx (void) |
| static void | test_noise_then_frame (void) |
| static void | test_overlong_and_binary_nmea (void) |
| static void | test_ubx_length_limit (void) |
| int | main (void) |
Variables | |
| static const char | gga [] |
| static const char | txt [] = "$GNTXT,01,01,02,u-blox AG - www.u-blox.com*4E\r\n" |
| static const uint8_t | ack [] |
| #define CHECK | ( | condition | ) |
Definition at line 7 of file test_gnss_frame.c.
Referenced by test_corrupt_ubx(), test_lowercase_checksum(), test_noise_then_frame(), test_overlong_and_binary_nmea(), test_ubx_length_limit(), test_valid_frames(), and test_wrong_nmea_checksum().
|
static |
Definition at line 20 of file test_gnss_frame.c.
References gnss_frame_feed(), GNSS_FRAME_NMEA, GNSS_FRAME_UBX, counts_t::nmea, p, and counts_t::ubx.
Referenced by feed_str(), test_corrupt_ubx(), test_noise_then_frame(), test_ubx_length_limit(), and test_valid_frames().
|
static |
Definition at line 32 of file test_gnss_frame.c.
Referenced by test_lowercase_checksum(), test_noise_then_frame(), test_overlong_and_binary_nmea(), test_valid_frames(), and test_wrong_nmea_checksum().
| int main | ( | void | ) |
Definition at line 123 of file test_gnss_frame.c.
References test_corrupt_ubx(), test_lowercase_checksum(), test_noise_then_frame(), test_overlong_and_binary_nmea(), test_ubx_length_limit(), test_valid_frames(), and test_wrong_nmea_checksum().
|
static |
Definition at line 77 of file test_gnss_frame.c.
References ack, CHECK, feed(), gnss_frame_init(), p, and counts_t::ubx.
Referenced by main().
|
static |
Definition at line 56 of file test_gnss_frame.c.
References CHECK, feed_str(), gnss_frame_init(), and p.
Referenced by main().
|
static |
Definition at line 89 of file test_gnss_frame.c.
References CHECK, feed(), feed_str(), gga, gnss_frame_init(), and p.
Referenced by main().
|
static |
Definition at line 100 of file test_gnss_frame.c.
References CHECK, feed_str(), gnss_frame_init(), and p.
Referenced by main().
|
static |
Definition at line 113 of file test_gnss_frame.c.
References ack, CHECK, feed(), gnss_frame_init(), and p.
Referenced by main().
|
static |
Definition at line 44 of file test_gnss_frame.c.
References ack, CHECK, feed(), feed_str(), gga, gnss_frame_init(), counts_t::nmea, p, txt, and counts_t::ubx.
Referenced by main().
|
static |
Definition at line 63 of file test_gnss_frame.c.
References CHECK, feed_str(), gga, gnss_frame_init(), and p.
Referenced by main().
|
static |
Definition at line 41 of file test_gnss_frame.c.
Referenced by on_valset(), sendReplyTo(), test_corrupt_ubx(), test_frame_roundtrip_through_parser(), test_ubx_length_limit(), and test_valid_frames().
|
static |
Definition at line 38 of file test_gnss_frame.c.
Referenced by fake_gnss_emit(), test_noise_then_frame(), test_valid_frames(), and test_wrong_nmea_checksum().
|
static |
Definition at line 40 of file test_gnss_frame.c.
Referenced by test_valid_frames().