|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Chat scripts for cellular modem. More...
#include <zephyr/drivers/modem/modem_cellular.h>
Data Fields | |
| const struct modem_chat_script * | set_baudrate |
| Optional script that configures the modem's UART baud rate. | |
| const struct modem_chat_script * | init |
| Script that initializes the modem and enables CMUX. | |
| const struct modem_chat_script * | network |
| Optional script that waits for network registration before dialing. | |
| const struct modem_chat_script * | dial |
| Script that starts the PPP data connection. | |
| const struct modem_chat_script * | periodic |
| Optional script that periodically polls modem state while registered. | |
| const struct modem_chat_script * | shutdown |
| Optional script that prepares the modem for power-off. | |
Chat scripts for cellular modem.
Only the init and dial scripts are mandatory, other scripts are optional.
If the network script is provided, it will be used to wait for network registration before issuing the dial script.
If the network script is not provided, the dial script is expected to configure the network registration and the modem will wait for registration after the dial script completes.
| const struct modem_chat_script* modem_cellular_config_scripts::dial |
Script that starts the PPP data connection.
Must not be NULL.
| const struct modem_chat_script* modem_cellular_config_scripts::init |
Script that initializes the modem and enables CMUX.
Must not be NULL.
| const struct modem_chat_script* modem_cellular_config_scripts::network |
Optional script that waits for network registration before dialing.
| const struct modem_chat_script* modem_cellular_config_scripts::periodic |
Optional script that periodically polls modem state while registered.
| const struct modem_chat_script* modem_cellular_config_scripts::set_baudrate |
Optional script that configures the modem's UART baud rate.
| const struct modem_chat_script* modem_cellular_config_scripts::shutdown |
Optional script that prepares the modem for power-off.