![]() |
ISSDK
1.8
IoT Sensing Software Development Kit
|
The data_format_hdlc.c file contains definitions for encoding and decoding HDLC messages to and from Host. More...
#include "data_format_hdlc.h"
Go to the source code of this file.
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.c file contains definitions for encoding and decoding HDLC messages to and from Host.
Definition in file data_format_hdlc.c.
bool HDLC_Process_Rx_Byte | ( | uint8_t | c, |
host_rx_packet_t * | pHostRxPkt | ||
) |
Definition at line 24 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 103 of file data_format_hdlc.c.
Referenced by Host_IO_Send().