OpenWSN Firmware
openhdlc.h File Reference
#include "openwsn.h"

Go to the source code of this file.

Macros

#define HDLC_FLAG   0x7e
 
#define HDLC_ESCAPE   0x7d
 
#define HDLC_ESCAPE_MASK   0x20
 
#define HDLC_CRCINIT   0xffff
 
#define HDLC_CRCGOOD   0xf0b8
 

Functions

uint16_t crcIteration (uint16_t crc, uint8_t byte)
 Definition of the "openserial" driver. More...