![]() |
SSP21-CPP
|
Link-layer constants. More...
Variables | |
const uint8_t | sync1 = 0x07 |
const uint8_t | sync2 = 0xAA |
const uint16_t | max_config_payload_size = 4092 |
const uint16_t | crc_size = 4 |
const uint16_t | header_fields_size = 8 |
const uint16_t | header_total_size = header_fields_size + crc_size |
const uint16_t | min_frame_size = header_total_size + crc_size |
const uint16_t | max_frame_size = min_frame_size + max_config_payload_size |
const uint16_t | default_responder_local_address = 1 |
const uint16_t | default_responder_remote_address = 10 |
Link-layer constants.
const uint8_t ssp21::consts::link::sync1 = 0x07 |
Link-layer first sync byte value.
Definition at line 21 of file LinkConstants.h.
const uint8_t ssp21::consts::link::sync2 = 0xAA |
Link-layer second sync byte value.
Definition at line 25 of file LinkConstants.h.
const uint16_t ssp21::consts::link::max_config_payload_size = 4092 |
Link-layer maximum payload size.
Definition at line 29 of file LinkConstants.h.
const uint16_t ssp21::consts::link::crc_size = 4 |
Length of CRCs.
Definition at line 33 of file LinkConstants.h.
const uint16_t ssp21::consts::link::header_fields_size = 8 |
Link-layer header length (with sync bytes, without CRC).
Definition at line 37 of file LinkConstants.h.
const uint16_t ssp21::consts::link::header_total_size = header_fields_size + crc_size |
Link-layer header total length.
Definition at line 41 of file LinkConstants.h.
const uint16_t ssp21::consts::link::min_frame_size = header_total_size + crc_size |
Link-layer minimum frame length.
Definition at line 45 of file LinkConstants.h.
const uint16_t ssp21::consts::link::max_frame_size = min_frame_size + max_config_payload_size |
Link-layer maximum frame length.
Definition at line 49 of file LinkConstants.h.
const uint16_t ssp21::consts::link::default_responder_local_address = 1 |
Default link-layer local address.
Definition at line 54 of file LinkConstants.h.
const uint16_t ssp21::consts::link::default_responder_remote_address = 10 |
Default link-layer remote address.
Definition at line 58 of file LinkConstants.h.