9 const uint8_t control = 0x80 | (ack_num & ASH_MAX_SEQUENCE);
11 output[0] = ASH_FLAG_BYTE;
14 output[4] = ASH_FLAG_BYTE;
uint16_t crc16be(const uint8_t *data, uint16_t len, uint16_t crc, uint16_t poly, bool refin, bool refout)
constexpr uint8_t * put_be16(uint8_t *dst, uint16_t value)
Write the low 16, 24 or 32 bits of value to dst, most significant byte first (be) or least significan...