Home
last modified time | relevance | path

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

/openthread-latest/tools/spi-hdlc-adapter/
Dspi-hdlc-adapter.c805 static uint8_t escaped_frame_buffer[MAX_FRAME_SIZE * 2]; in push_hdlc() local
815 memcpy(escaped_frame_buffer, kHdlcResetSignal, sizeof(kHdlcResetSignal)); in push_hdlc()
837 escaped_frame_buffer[escaped_frame_len++] = HDLC_BYTE_ESC; in push_hdlc()
838 escaped_frame_buffer[escaped_frame_len++] = c ^ HDLC_ESCAPE_XFORM; in push_hdlc()
842 escaped_frame_buffer[escaped_frame_len++] = c; in push_hdlc()
851 escaped_frame_buffer[escaped_frame_len++] = HDLC_BYTE_ESC; in push_hdlc()
852 escaped_frame_buffer[escaped_frame_len++] = c ^ HDLC_ESCAPE_XFORM; in push_hdlc()
856 escaped_frame_buffer[escaped_frame_len++] = c; in push_hdlc()
862 escaped_frame_buffer[escaped_frame_len++] = HDLC_BYTE_ESC; in push_hdlc()
863 escaped_frame_buffer[escaped_frame_len++] = c ^ HDLC_ESCAPE_XFORM; in push_hdlc()
[all …]