Home
last modified time | relevance | path

Searched full:modem (Results 1 – 25 of 263) sorted by relevance

1234567891011

/Zephyr-Core-3.5.0/drivers/modem/
DKconfig1 # Modem configuration options
6 menuconfig MODEM config
7 bool "Modem drivers"
9 Enable config options for modem drivers.
11 if MODEM
13 module = MODEM
14 module-str = modem
18 bool "Modem receiver helper driver"
23 This driver allows modem drivers to communicate over UART with custom
31 int "Maximum number of modem receiver contexts"
[all …]
DKconfig.gsm18 prompt "Modem type"
21 Type/manufacturer of the GSM modem
24 bool "Generic GSM modem"
26 The modem does not need any special handling etc.
29 bool "SIMCOM modem"
31 Use this if you have SIMCOM based modem like SIM800 etc.
34 bool "Quectel modem"
36 Use this if you have Quectel based modem like EC2X etc.
41 int "Size of the stack allocated for receiving data from modem"
54 int "Init priority for the GSM modem driver"
[all …]
Dmodem_socket.h2 * @brief Modem socket header file.
4 * Generic modem socket and packet size implementation for modem context
33 /** The number identifying the socket handle inside the modem */
63 /* dynamically assign id when modem socket is allocated */
91 * @brief Initialize modem socket config struct and associated modem sockets
94 * @param sockets The array of sockets associated with the modem socket config
95 * @param sockets_len The length of the array of sockets associated with the modem socket config
96 * @param base_socket_id The lowest socket id supported by the modem
97 * @param assign_id Dynamically assign modem socket id when allocated using modem_socket_get()
108 * @brief Check if modem socket has been allocated
[all …]
Dmodem_context.h2 * @brief Modem context header file.
4 * A modem context driver allowing application to handle all
47 /* modem data */
97 * @brief Gets modem context by id.
99 * @param id: modem context id.
101 * @retval modem context or NULL.
106 * @brief Finds modem context which owns the iface device.
108 * @param dev: device used by the modem iface.
110 * @retval Modem context or NULL.
115 * @brief Registers modem context.
[all …]
DKconfig.quectel-bg9x7 bool "Quectel modem driver"
14 Choose this setting to enable quectel BG9x LTE-CatM1/NB-IoT modem
20 int "Stack size for the quectel BG9X modem driver RX thread"
26 int "Stack size for the quectel BG9X modem driver work queue"
58 string "Unsolicited response string expected from the modem"
61 This string is used to determine when modem powered and ready
62 to accept AT commands. If this value is not matching the modem
DKconfig.ublox-sara-r47 bool "U-blox SARA modem driver"
15 Choose this setting to enable u-blox SARA-R4 LTE-CatM1/NB-IoT modem
27 Enable support for SARA-R4 modem
32 Enable support for SARA-U2 modem
37 Enable automatic detection of modem variant (SARA-R4 or SARA-U2)
42 int "Stack size for the u-blox SARA-R4 modem driver RX thread"
48 int "Stack size for the u-blox SARA-R4 modem driver work queue"
96 Choose this setting to use a modem GPIO pin as network indication.
104 This setting is used to configure one of the modem's GPIO pins
Dmodem_iface_uart.h2 * @brief Modem interface for UART header file.
4 * Modem interface UART handling for modem context driver.
41 * @brief Init modem interface device for UART
45 * @param iface: modem interface to initialize.
54 * @brief Modem uart interface configuration
69 * @brief Initialize modem interface for UART
72 * @param data UART data structure used by the modem interface
DKconfig.hl78001 # Sierra Wireless HL7800 modem driver options
7 bool "Sierra Wireless HL7800 modem driver"
13 Sierra Wireless HL7800 LTE-M/NB-IoT modem driver.
55 Leave the HL7800 RAT unchanged during modem init.
60 Enable LTE Cat-M1 mode during modem init.
65 Enable LTE Cat-NB1 mode during modem init.
70 bool "Configure modem bands"
74 HL7800 modem should use at boot time.
193 Choose this setting to enable a low power mode for the HL7800 modem
265 Highest power consumption of modem sleep states
[all …]
Dmodem_shell.c2 * @brief Modem shell module
4 * Provide some modem shell commands that can be useful to applications.
54 shell_fprintf(sh, SHELL_NORMAL, "Modem receivers:\n"); in cmd_modem_list()
114 "Please enter a modem index\n"); in cmd_modem_send()
118 /* <index> of modem receiver */ in cmd_modem_send()
122 "Please enter a modem index\n"); in cmd_modem_send()
128 shell_fprintf(sh, SHELL_ERROR, "Modem receiver not found!"); in cmd_modem_send()
196 "Please enter a modem index\n"); in cmd_modem_info()
200 /* <index> of modem receiver */ in cmd_modem_info()
204 "Please enter a modem index\n"); in cmd_modem_info()
[all …]
Dgsm_ppp.c18 #include <zephyr/drivers/modem/gsm_ppp.h>
53 /* Modem network registration state */
120 } modem; variable
138 return k_work_reschedule_for_queue(&modem.workq, dwork, delay); in gsm_work_reschedule()
188 k_sem_give(&modem.sem_response); in MODEM_CMD_DEFINE()
196 k_sem_give(&modem.sem_response); in MODEM_CMD_DEFINE()
205 k_sem_give(&modem.sem_response); in MODEM_CMD_DEFINE()
233 modem.context.data_operator = unquoted_atoi(argv[2], 10); in MODEM_CMD_DEFINE()
235 modem.context.data_operator); in MODEM_CMD_DEFINE()
239 modem.context.is_automatic_oper = true; in MODEM_CMD_DEFINE()
[all …]
Dmodem_context.c2 * @brief Modem context helper driver
4 * A modem context driver allowing application to handle all
77 * @brief Finds modem context which owns the iface device.
79 * @param dev: device used by the modem iface.
81 * @retval Modem context or NULL.
97 * @brief Assign a modem context if there is free space.
99 * @note Amount of stored modem contexts is determined by
102 * @param ctx: modem context to persist.
/Zephyr-Core-3.5.0/tests/drivers/build_all/modem/
Dtestcase.yaml6 - modem
8 drivers.modem.build:
9 extra_args: CONF_FILE=modem.conf
18 drivers.modem.ublox_sara.build:
26 drivers.modem.simcom_sim7080.build:
34 drivers.modem.quectel_bg9x.build:
43 drivers.modem.gsm.build:
52 drivers.modem.gsm_mux.build:
64 drivers.modem.esp_at.build:
69 drivers.modem.esp_at.async.build:
[all …]
/Zephyr-Core-3.5.0/samples/net/cellular_modem/
DREADME.rst1 .. zephyr:code-sample:: cellular-modem
2 :name: Cellular modem
4 Use a cellular modem to communicate with a UDP server.
10 the modem, brings up the net interface, then sends a packet
19 This sample uses the devicetree alias modem to identify
20 the modem instance to use. The sample also presumes that
21 the modem driver creates the only network interface.
35 modem = &modem;
46 modem: modem {
Dsample.yaml2 description: Sample for cellular modem
3 name: Sample for cellular modem using native networking
5 tags: cellular modem
8 tags: cellular modem
9 filter: dt_alias_exists("modem")
/Zephyr-Core-3.5.0/doc/services/modem/
Dindex.rst3 Modem modules
12 The modem modules are inter-connected dynamically using
16 Modem pipe
23 A modem backend will internally contain an instance of a modem_pipe
27 The modem backend will return a pointer to its internal modem_pipe
29 backend through the modem pipe API.
33 Modem PPP
37 :ref:`net_l2_interface`, to a modem backend. The L2 PPP interface sends
39 in PPP frames before being transported via a modem backend. This module
44 Modem CMUX
[all …]
/Zephyr-Core-3.5.0/samples/net/gsm_modem/
DREADME.rst1 .. zephyr:code-sample:: gsm-modem
2 :name: Generic GSM modem
4 Use a GSM modem to connect to a GPRS network.
9 The Zephyr GSM modem sample application allows user to have a connection
10 to GPRS network. The connection to GSM modem is done using
19 - GSM modem card. The sample has been tested with SIMCOM SIM808 card. All
20 GSM modem cards should work as long as they support **AT+CGDCONT** command.
27 If you are using an external modem like the SIMCOM card, then connect
29 modem card. Internal modems, like what is found in :ref:`particle_boron`
Dsample.yaml7 - modem
12 description: Sample for generic GSM modem
13 name: Generic GSM modem using PPP
15 sample.net.ppp.gsm.modem:
18 sample.net.ppp.gsm.modem.mux:
/Zephyr-Core-3.5.0/subsys/modem/
DKconfig5 bool "Modem modules"
10 bool "Modem chat module"
17 int "Modem chat log buffer size"
23 bool "Modem CMUX module"
30 bool "Modem pipe module"
33 bool "Modem PPP module"
/Zephyr-Core-3.5.0/doc/connectivity/networking/api/
Dgsm_modem.rst3 Generic GSM Modem
9 The generic GSM modem driver allows the user to connect Zephyr to a GSM modem
12 to the GSM modem using UART. Note that some cellular modems have proprietary
15 See :zephyr:code-sample:`GSM modem sample application <gsm-modem>` how to setup Zephyr
16 to use the GSM modem.
/Zephyr-Core-3.5.0/subsys/modem/backends/
DKconfig5 bool "Modem TTY backend module"
10 bool "Modem UART backend module"
18 bool "Modem UART backend module interrupt driven implementation"
22 bool "Modem UART backend module async implementation"
28 int "Modem UART async transmit timeout in milliseconds"
/Zephyr-Core-3.5.0/samples/net/gsm_modem/boards/
Db_u585i_iot02a.overlay3 modem-uart = &usart2;
4 modem = &modem;
33 modem: modem {
/Zephyr-Core-3.5.0/samples/net/cellular_modem/boards/
Db_u585i_iot02a.overlay3 modem-uart = &usart2;
4 modem = &modem;
33 modem: modem {
/Zephyr-Core-3.5.0/samples/net/cloud/tagoio_http_post/
Dsample.yaml8 - modem
35 sample.net.cloud.tagoio_http_post.modem:
36 extra_args: OVERLAY_CONFIG="overlay-modem.conf"
38 sample.net.cloud.tagoio_http_post.modem.arduino:
40 - OVERLAY_CONFIG="overlay-modem.conf"
/Zephyr-Core-3.5.0/include/zephyr/modem/
Dppp.h14 #include <zephyr/modem/pipe.h>
24 * @brief Modem PPP
25 * @defgroup modem_ppp Modem PPP
26 * @ingroup modem
125 * @param ppp Modem PPP instance
126 * @param pipe Pipe to attach to modem PPP instance
131 * @brief Get network interface modem PPP instance is bound to
133 * @param ppp Modem PPP instance
134 * @returns Pointer to network interface modem PPP instance is bound to
141 * @param ppp Modem PPP instance
[all …]
/Zephyr-Core-3.5.0/samples/net/gsm_modem/src/
Dmain.c14 #include <zephyr/drivers/modem/gsm_ppp.h>
34 shell_fprintf(sh, SHELL_NORMAL, "Modem is already stopped.\n"); in cmd_sample_modem_suspend()
51 shell_fprintf(sh, SHELL_NORMAL, "Modem is already started.\n"); in cmd_sample_modem_resume()
63 "Resume the modem\n",
66 "Suspend the modem\n",
102 LOG_INF("GSM modem on callback fired"); in modem_on_cb()
110 LOG_INF("GSM modem off callback fired"); in modem_off_cb()
117 /* Optional register modem power callbacks */ in main()

1234567891011