|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Go to the source code of this file.
Enumerations | |
| enum | { IDLE = 0 , NMEA_BODY , NMEA_HEX_HI , NMEA_HEX_LO , UBX_SYNC2 , UBX_CLASS , UBX_ID , UBX_LEN_LO , UBX_LEN_HI , UBX_PAYLOAD , UBX_CK_A , UBX_CK_B } |
Functions | |
| static int | hex_value (uint8_t c) |
| static void | fletcher (gnss_frame_parser_t *p, uint8_t byte) |
| void | gnss_frame_init (gnss_frame_parser_t *parser) |
| static void | reject (gnss_frame_parser_t *p) |
| static void | start (gnss_frame_parser_t *p, uint8_t byte) |
| gnss_frame_kind_t | gnss_frame_feed (gnss_frame_parser_t *p, uint8_t byte) |
| anonymous enum |
| Enumerator | |
|---|---|
| IDLE | |
| NMEA_BODY | |
| NMEA_HEX_HI | |
| NMEA_HEX_LO | |
| UBX_SYNC2 | |
| UBX_CLASS | |
| UBX_ID | |
| UBX_LEN_LO | |
| UBX_LEN_HI | |
| UBX_PAYLOAD | |
| UBX_CK_A | |
| UBX_CK_B | |
Definition at line 5 of file gnss_frame.c.
|
static |
| gnss_frame_kind_t gnss_frame_feed | ( | gnss_frame_parser_t * | p, |
| uint8_t | byte ) |
Definition at line 57 of file gnss_frame.c.
References fletcher(), GNSS_FRAME_NMEA, GNSS_FRAME_NMEA_MAX_BODY, GNSS_FRAME_NONE, GNSS_FRAME_UBX, GNSS_FRAME_UBX_CAPTURE, GNSS_FRAME_UBX_MAX_PAYLOAD, hex_value(), IDLE, NMEA_BODY, NMEA_HEX_HI, NMEA_HEX_LO, p, reject(), start(), UBX_CK_A, UBX_CK_B, UBX_CLASS, UBX_ID, UBX_LEN_HI, UBX_LEN_LO, UBX_PAYLOAD, and UBX_SYNC2.
Referenced by feed(), gnss_core_feed(), gnss_probe(), module_rx(), test_frame_roundtrip_through_parser(), and test_nav_pvt_through_the_frame_parser().
| void gnss_frame_init | ( | gnss_frame_parser_t * | parser | ) |
Definition at line 35 of file gnss_frame.c.
Referenced by fake_gnss_init(), gnss_probe(), open_at(), test_corrupt_ubx(), test_frame_roundtrip_through_parser(), test_lowercase_checksum(), test_nav_pvt_through_the_frame_parser(), 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 gnss_frame.c.
Referenced by gnss_frame_feed().
|
static |
Definition at line 39 of file gnss_frame.c.
Referenced by gnss_frame_feed().
|
static |
Definition at line 45 of file gnss_frame.c.
References IDLE, NMEA_BODY, p, and UBX_SYNC2.
Referenced by t7_integration.FakeElodin::_accept(), backend.routers.layerx::_launch(), actuator_testing_gui.ActuatorTestingWindow::_on_send_heartbeat_changed(), sense_testing_gui.SenseTestingGUIWindow::_on_send_heartbeat_changed(), combined_gui.TopBarWidget::abort(), anonymous_namespace{flight_log.cpp}::appendSpanning(), board_bringup_read_battery(), checkMagnetPresence(), checkMagnetPresence(), fsw::time::elapsed_ns(), find(), gnss_frame_feed(), fsw::script::anonymous_namespace{Lexer.cpp}::Lexer::lexToken(), measure_lsi(), combined_gui.TopBarWidget::on_mode_button_clicked(), ball_valve_gui.BallValveGui::open_socket(), radio_link::FakeChip::packet_arrives(), StarOTA::Server::readSize(), radio_link::Sx1262::receive(), combined_gui.TopBarWidget::request_state(), calibration_orchestrator.CalibrationOrchestrator::run_phase2_background(), split(), calibration_orchestrator.CalibrationOrchestrator::start_receiver(), path::subpath(), path::subpath(), test_session_deadline(), test_wraparound(), and ball_valve_gui.BallValveGui::toggle_heartbeats().