![]() |
ISSDK
1.7
IoT Sensing Software Development Kit
|
The data_format_hdlc.h file contains the Host interface definitions and configuration. More...
Go to the source code of this file.
Enumerations | |
enum | { HOST_RX_STATE_WAITFORPACKETMARKER, HOST_RX_STATE_GETTINGPACKETDATA } |
States for receiving a packet. More... | |
Functions | |
bool | HDLC_Process_Rx_Byte (uint8_t c, host_rx_packet_t *pHostRxPkt) |
size_t | HDLC_Process_Tx_Msg (const uint8_t *pBuffer, uint8_t *pMsg, size_t size) |
The data_format_hdlc.h file contains the Host interface definitions and configuration.
Definition in file data_format_hdlc.h.
anonymous enum |
States for receiving a packet.
Enumerator | |
---|---|
HOST_RX_STATE_WAITFORPACKETMARKER | |
HOST_RX_STATE_GETTINGPACKETDATA |
Definition at line 57 of file data_format_hdlc.h.
bool HDLC_Process_Rx_Byte | ( | uint8_t | c, |
host_rx_packet_t * | pHostRxPkt | ||
) |
Definition at line 50 of file data_format_hdlc.c.
References HOST_RX_STATE_GETTINGPACKETDATA, HOST_RX_STATE_WAITFORPACKETMARKER, host_rx_packet_t::mIndex, host_rx_packet_t::pRxbuf, and host_rx_packet_t::rxState.
Referenced by Host_IO_Receive().
size_t HDLC_Process_Tx_Msg | ( | const uint8_t * | pBuffer, |
uint8_t * | pMsg, | ||
size_t | size | ||
) |
Definition at line 129 of file data_format_hdlc.c.
Referenced by Host_IO_Send().