|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Vendor-specific cellular modem configuration. More...
#include <zephyr/drivers/modem/modem_cellular.h>
Data Fields | |
| struct modem_cellular_config_scripts | scripts |
| Chat scripts implementing the modem lifecycle. | |
| struct { | |
| const struct modem_chat_match * matches | |
Array of unsolicited response matches, or NULL when size is zero. More... | |
| uint16_t size | |
Number of elements in matches. More... | |
| } | unsol_matches |
| Unsolicited modem response matches. | |
| uint16_t | power_pulse_duration_ms |
| Duration of the modem power-key pulse, in milliseconds. | |
| uint16_t | reset_pulse_duration_ms |
| Duration of the modem reset pulse, in milliseconds. | |
| uint16_t | startup_time_ms |
| Maximum modem startup delay, in milliseconds. | |
| uint16_t | shutdown_time_ms |
| Maximum modem shutdown delay, in milliseconds. | |
| bool | force_autostart |
Force autostart regardless of the devicetree autostarts property. | |
Vendor-specific cellular modem configuration.
Define one constant object for each modem variant. The referenced scripts and unsolicited-match array must remain valid for the lifetime of every device instance that uses this configuration.
| bool modem_cellular_vendor_config::force_autostart |
Force autostart regardless of the devicetree autostarts property.
| const struct modem_chat_match* modem_cellular_vendor_config::matches |
Array of unsolicited response matches, or NULL when size is zero.
| uint16_t modem_cellular_vendor_config::power_pulse_duration_ms |
Duration of the modem power-key pulse, in milliseconds.
| uint16_t modem_cellular_vendor_config::reset_pulse_duration_ms |
Duration of the modem reset pulse, in milliseconds.
| struct modem_cellular_config_scripts modem_cellular_vendor_config::scripts |
Chat scripts implementing the modem lifecycle.
| uint16_t modem_cellular_vendor_config::shutdown_time_ms |
Maximum modem shutdown delay, in milliseconds.
| uint16_t modem_cellular_vendor_config::size |
Number of elements in matches.
| uint16_t modem_cellular_vendor_config::startup_time_ms |
Maximum modem startup delay, in milliseconds.
| struct { ... } modem_cellular_vendor_config::unsol_matches |
Unsolicited modem response matches.