33 #ifndef TRANSPORT_PAYLOAD_LEN
34 #define TRANSPORT_PAYLOAD_LEN 256
volatile bool_t msg_received
message received flag
TransportDataFormat
Data format (scalar or array)
end_message_t end_message
transport trailer
Generic reception transport header.
Generic transmission transport header.
uint8_t payload[TRANSPORT_PAYLOAD_LEN]
payload buffer
uint8_t(* size_of_t)(void *, uint8_t)
Function pointers definition.
void(* end_message_t)(void *, struct link_device *)
size_of_t size_of
get size of payload with transport header and trailer
volatile uint8_t payload_len
payload buffer length
void(* overrun_t)(void *, struct link_device *)
TransportDataType
Data type.
count_bytes_t count_bytes
count bytes to send
void(* start_message_t)(void *, struct link_device *, uint8_t)
void(* put_named_byte_t)(void *, struct link_device *, enum TransportDataType, enum TransportDataFormat, uint8_t, const char *)
start_message_t start_message
transport header
put_named_byte_t put_named_byte
send a single byte or its name
int(* check_available_space_t)(void *, struct link_device *, uint8_t)
void(* put_bytes_t)(void *, struct link_device *, enum TransportDataType, enum TransportDataFormat, uint8_t, const void *)
void * impl
pointer to parent implementation
check_available_space_t check_available_space
check if transmit buffer is not full
put_bytes_t put_bytes
send bytes
void(* count_bytes_t)(void *, struct link_device *, uint8_t)
uint8_t error
overrun and error flags
#define TRANSPORT_PAYLOAD_LEN