990ab00e30
Some commands need to be processed before a "\r\n" is available and there might also be commands that have "\r\n" as data but doesn't mean the end of the command. To solve this a MODEM_CMD_DIRECT has been added. cmd_handler_process() will look for matching direct commands before checking if a whole line is available for matching the normal commands. A direct command can return either -EAGAIN, meaning that more data is needed or it will return the number of bytes to skip forward, ie the length of the command that was handled. Signed-off-by: Tobias Svehagen <tobias.svehagen@gmail.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.gsm | ||
Kconfig.ublox-sara-r4 | ||
Kconfig.wncm14a2a | ||
gsm_ppp.c | ||
modem_cmd_handler.c | ||
modem_cmd_handler.h | ||
modem_context.c | ||
modem_context.h | ||
modem_iface_uart.c | ||
modem_iface_uart.h | ||
modem_pin.c | ||
modem_receiver.c | ||
modem_receiver.h | ||
modem_shell.c | ||
modem_socket.c | ||
modem_socket.h | ||
ublox-sara-r4.c | ||
wncm14a2a.c |