Searched refs:mcumgr_state (Results 1 – 2 of 2) sorted by relevance
100 int mcumgr_state = read_mcumgr_byte(data, byte); in smp_shell_rx_bytes() local102 if (mcumgr_state == SMP_SHELL_MCUMGR_STATE_NONE) { in smp_shell_rx_bytes()104 } else if (mcumgr_state == SMP_SHELL_MCUMGR_STATE_HEADER && in smp_shell_rx_bytes()117 if (mcumgr_state == SMP_SHELL_MCUMGR_STATE_PAYLOAD && in smp_shell_rx_bytes()
401 int mcumgr_state; in handle_mcumgr() local403 mcumgr_state = read_mcumgr_byte(byte); in handle_mcumgr()404 if (mcumgr_state == CONSOLE_MCUMGR_STATE_NONE) { in handle_mcumgr()419 if (mcumgr_state == CONSOLE_MCUMGR_STATE_PAYLOAD && byte == '\n') { in handle_mcumgr()