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