Wiicom API Lib
|
Command/message structure type. Continua...
#include <wiicom_libcommunication.h>
Campi | |
char | head [2] |
uint8_t | msgCnt [2] |
uint8_t | dest |
uint8_t | dataLength [2] |
uint8_t | action [2] |
uint8_t | data [WIICOM_CMD_MAX_BUFFER_DATA] |
uint8_t | crc [2] |
char | term [2] |
uint8_t | step_elab |
uint8_t | buffer [WIICOM_CMD_MAX_BUFFER_DATA] |
uint16_t | idx_buffer |
uint16_t | idx_stop_buffer |
uint16_t | idx_data |
Command/message structure type.
uint8_t action[2] |
Action type
uint8_t buffer[WIICOM_CMD_MAX_BUFFER_DATA] |
reserved
uint8_t crc[2] |
CRC16 of the message
uint8_t data[WIICOM_CMD_MAX_BUFFER_DATA] |
Data frame that contains datas to be sent or to be received
uint8_t dataLength[2] |
Length in bytes of data to be transmitted
uint8_t dest |
Recipient ID message
char head[2] |
Opening sequence message ("ST")
uint16_t idx_buffer |
reserved
uint16_t idx_data |
reserved
uint16_t idx_stop_buffer |
reserved
uint8_t msgCnt[2] |
progressive counter of sent messages
uint8_t step_elab |
reserved
char term[2] |
Closing sequence message ("EN")