HDLC_FRAME
if (value == HDLC_FRAME || value == HDLC_ESC) {
hdlc_append(bg, HDLC_FRAME);
case HDLC_FRAME: