Studer Innotec Xtender Serial Communication C Library
1.5.0
|
a structure representing a frame More...
#include <scom_data_link.h>
Data Fields | |
scom_frame_flags_t | frame_flags |
flags specific to the datalink layer | |
uint32_t | src_addr |
source address of this frame | |
uint32_t | dst_addr |
destination address of this frame | |
scom_service_flags_t | service_flags |
flags specific to the service layer | |
scom_service_t | service_id |
identifier of the service used by this frame | |
size_t | data_length |
length of the data payload of the frame without header and checksum | |
scom_error_t | last_error |
last error that occurred in the frame processing | |
char * | buffer |
buffer where the frame is build | |
size_t | buffer_size |
maximum usable size of the buffer | |
a structure representing a frame
The data buffer is variable and specified by the user with scom_initialize_frame().