|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Go to the source code of this file.
Functions | |
| size_t | ubx_frame (uint8_t *out, size_t cap, uint8_t cls, uint8_t id, const uint8_t *payload, uint16_t len) |
| size_t | ubx_valset (uint8_t *out, size_t cap, const ubx_item_t *items, size_t count) |
| static uint32_t | u32 (const uint8_t *p) |
| static int32_t | i32 (const uint8_t *p) |
| bool | ubx_parse_nav_pvt (const uint8_t *p, uint16_t len, ubx_pvt_t *out) |
| size_t | ubx_poll (uint8_t *out, size_t cap, uint8_t cls, uint8_t id) |
| static uint16_t | u16 (const uint8_t *p) |
| bool | ubx_parse_mon_rf (const uint8_t *p, uint16_t len, ubx_rf_t *out) |
| bool | ubx_sat_summary (const uint8_t *p, uint16_t len, ubx_sats_t *out) |
|
static |
|
static |
|
static |
Definition at line 57 of file ubx.c.
References p.
Referenced by i32(), ubx_parse_nav_pvt(), and ubx_sat_summary().
| size_t ubx_frame | ( | uint8_t * | out, |
| size_t | cap, | ||
| uint8_t | cls, | ||
| uint8_t | id, | ||
| const uint8_t * | payload, | ||
| uint16_t | len ) |
Definition at line 5 of file ubx.c.
Referenced by ack(), pvt(), test_frame_roundtrip_through_parser(), ubx_poll(), and ubx_valset().
| bool ubx_parse_mon_rf | ( | const uint8_t * | p, |
| uint16_t | len, | ||
| ubx_rf_t * | out ) |
| bool ubx_parse_nav_pvt | ( | const uint8_t * | p, |
| uint16_t | len, | ||
| ubx_pvt_t * | out ) |
Definition at line 66 of file ubx.c.
References i32(), p, u32(), and UBX_NAV_PVT_LEN.
Referenced by on_pvt(), and test_nav_pvt_through_the_frame_parser().
| size_t ubx_poll | ( | uint8_t * | out, |
| size_t | cap, | ||
| uint8_t | cls, | ||
| uint8_t | id ) |
Definition at line 96 of file ubx.c.
References NULL, and ubx_frame().
Referenced by gnss_core_request_status().
| bool ubx_sat_summary | ( | const uint8_t * | p, |
| uint16_t | len, | ||
| ubx_sats_t * | out ) |
| size_t ubx_valset | ( | uint8_t * | out, |
| size_t | cap, | ||
| const ubx_item_t * | items, | ||
| size_t | count ) |
Definition at line 30 of file ubx.c.
References count(), ubx_item_t::size, UBX_CLASS_CFG, ubx_frame(), and UBX_ID_CFG_VALSET.
Referenced by configure(), send_config(), test_valset_baud(), and test_valset_configuration().