Home
last modified time | relevance | path

Searched refs:escaped_frame_buffer (Results 1 – 1 of 1) sorted by relevance

/openthread-2.7.6/tools/spi-hdlc-adapter/
Dspi-hdlc-adapter.c817 static uint8_t escaped_frame_buffer[MAX_FRAME_SIZE * 2]; in push_hdlc() local
827 memcpy(escaped_frame_buffer, kHdlcResetSignal, sizeof(kHdlcResetSignal)); in push_hdlc()
849 escaped_frame_buffer[escaped_frame_len++] = HDLC_BYTE_ESC; in push_hdlc()
850 escaped_frame_buffer[escaped_frame_len++] = c ^ HDLC_ESCAPE_XFORM; in push_hdlc()
854 escaped_frame_buffer[escaped_frame_len++] = c; in push_hdlc()
863 escaped_frame_buffer[escaped_frame_len++] = HDLC_BYTE_ESC; in push_hdlc()
864 escaped_frame_buffer[escaped_frame_len++] = c ^ HDLC_ESCAPE_XFORM; in push_hdlc()
868 escaped_frame_buffer[escaped_frame_len++] = c; in push_hdlc()
874 escaped_frame_buffer[escaped_frame_len++] = HDLC_BYTE_ESC; in push_hdlc()
875 escaped_frame_buffer[escaped_frame_len++] = c ^ HDLC_ESCAPE_XFORM; in push_hdlc()
[all …]