HM2_PKTUART_SEND

NAME
SYNTAX
DESCRIPTION

NAME

hm2_pktuart_send - write data to a Hostmot2 PktUART

SYNTAX

#include <hostmot2-serial.h>
int hm2_uart_send(char* name, unsigned char data[], rtapi_u8* num_frames,
rtapi_u16 frame_sizes[]);

DESCRIPTION

hm2_pktuart_send writes "num_frames" of data to the PktUART "name" from the buffer "data" with frame sizes preset in "frame_sizes[]" array.

Please see the combined document hm2_pktuart.3hm2 for how to use this function.