Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
modem_cellular_vendor_config Struct Reference

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.

Detailed Description

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.

Field Documentation

◆ force_autostart

bool modem_cellular_vendor_config::force_autostart

Force autostart regardless of the devicetree autostarts property.

◆ matches

const struct modem_chat_match* modem_cellular_vendor_config::matches

Array of unsolicited response matches, or NULL when size is zero.

◆ power_pulse_duration_ms

uint16_t modem_cellular_vendor_config::power_pulse_duration_ms

Duration of the modem power-key pulse, in milliseconds.

◆ reset_pulse_duration_ms

uint16_t modem_cellular_vendor_config::reset_pulse_duration_ms

Duration of the modem reset pulse, in milliseconds.

◆ scripts

struct modem_cellular_config_scripts modem_cellular_vendor_config::scripts

Chat scripts implementing the modem lifecycle.

◆ shutdown_time_ms

uint16_t modem_cellular_vendor_config::shutdown_time_ms

Maximum modem shutdown delay, in milliseconds.

◆ size

uint16_t modem_cellular_vendor_config::size

Number of elements in matches.

◆ startup_time_ms

uint16_t modem_cellular_vendor_config::startup_time_ms

Maximum modem startup delay, in milliseconds.

◆ [struct]

struct { ... } modem_cellular_vendor_config::unsol_matches

Unsolicited modem response matches.


The documentation for this struct was generated from the following file: