1# Copyright (c) 2024 Trackunit Corporation 2# SPDX-License-Identifier: Apache-2.0 3 4config MODEM_AT_USER_PIPE 5 bool "Modem AT command user pipe helpers" 6 depends on $(dt_alias_enabled,modem) 7 select MODEM_CHAT 8 select MODEM_PIPE 9 select MODEM_PIPELINK 10 help 11 Utility functions for managing access to user pipes 12 for arbitrary AT commands 13 14config MODEM_AT_USER_PIPE_IDX 15 int "User pipe number to use" 16 depends on MODEM_AT_USER_PIPE 17 default 0 18 19config MODEM_AT_SHELL 20 bool "AT command shell based on modem modules" 21 select MODEM_MODULES 22 select MODEM_AT_USER_PIPE 23 depends on !MODEM_SHELL 24 depends on !SHELL_WILDCARD 25 26if MODEM_AT_SHELL 27 28config MODEM_AT_SHELL_RESPONSE_TIMEOUT_S 29 int "Timeout waiting for response to AT command in seconds" 30 default 5 31 32config MODEM_AT_SHELL_COMMAND_MAX_SIZE 33 int "Maximum size of AT command" 34 default 32 35 36config MODEM_AT_SHELL_RESPONSE_MAX_SIZE 37 int "Maximum size of AT response" 38 default 64 39 40config MODEM_AT_SHELL_CHAT_RECEIVE_BUF_SIZE 41 int "Size of modem chat receive buffer in bytes" 42 default 128 43 44endif # MODEM_AT_SHELL 45