Home
last modified time | relevance | path

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

/mcuboot-latest/boot/boot_serial/src/
Dboot_serial.c160 static char in_buf[MCUBOOT_SERIAL_MAX_RECEIVE_SIZE + 1]; variable
1514 max_input = sizeof(in_buf); in boot_serial_read_console()
1533 rc = f->read(in_buf + off, sizeof(in_buf) - off, &full_line); in boot_serial_read_console()
1550 if (in_buf[0] == SHELL_NLIP_PKT_START1 && in boot_serial_read_console()
1551 in_buf[1] == SHELL_NLIP_PKT_START2) { in boot_serial_read_console()
1553 rc = boot_serial_in_dec(&in_buf[2], off - 2, dec_buf, &dec_off, max_input); in boot_serial_read_console()
1554 } else if (in_buf[0] == SHELL_NLIP_DATA_START1 && in boot_serial_read_console()
1555 in_buf[1] == SHELL_NLIP_DATA_START2) { in boot_serial_read_console()
1556 rc = boot_serial_in_dec(&in_buf[2], off - 2, dec_buf, &dec_off, max_input); in boot_serial_read_console()