Searched refs:mcumgr_state (Results 1 – 2 of 2) sorted by relevance
147 int mcumgr_state = read_mcumgr_byte(data, byte); in smp_shell_rx_bytes() local149 if (mcumgr_state == SMP_SHELL_MCUMGR_STATE_NONE) { in smp_shell_rx_bytes()151 } else if (mcumgr_state == SMP_SHELL_MCUMGR_STATE_HEADER && in smp_shell_rx_bytes()164 if (mcumgr_state == SMP_SHELL_MCUMGR_STATE_PAYLOAD && in smp_shell_rx_bytes()
402 int mcumgr_state; in handle_mcumgr() local404 mcumgr_state = read_mcumgr_byte(byte); in handle_mcumgr()405 if (mcumgr_state == CONSOLE_MCUMGR_STATE_NONE) { in handle_mcumgr()420 if (mcumgr_state == CONSOLE_MCUMGR_STATE_PAYLOAD && byte == '\n') { in handle_mcumgr()