Home
last modified time | relevance | path

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

/openthread-2.7.6/tools/spi-hdlc-adapter/
Dspi-hdlc-adapter.c819 static uint16_t escaped_frame_len; in push_hdlc() local
822 if (escaped_frame_len == 0) in push_hdlc()
828 escaped_frame_len = 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()
[all …]