Appearance
struct gsm_modem_init_t
GSM modem initialization parameters. #include <modem/gsm_modem.h>
Public Attributes
| Name | |
|---|---|
| uint32_t | bands Bitfield containing the or'ed frequency bands the modem should search. |
| char[8] | oper numeric operator code (3-digit MCC, 2-digit MNC, List of MNC for the EU). If left empty (0) the modem selects from the operators stored on the SIM card. |
| gsm_technology_t | tech Radio access technology (RAT) to use. |
| uint8_t | power_on_reset Force a modem power on reset. |
| uint8_t | edrx Extended discontinuous reception settings. |
| uint8_t | psm Power saving mode settings. |
| char[100] | apn APN to use. |
| apn_auth_t | apn_auth_type PPP authentication type for the APN. |
| char[128] | apn_user PPP APN username. |
| char[512] | apn_pwd PPP APN password. |
| char[10] | scanseq the order in which different RATs shall be preferably used |
| uint8_t | use_peer_dns 1= use dns servers from PPP negotiation, 0= use custom DNS server |
| uint32_t | baudrate Baudrate for the modem. If set to 0 default is 115200;. |
Public Attributes Documentation
variable bands
cpp
uint32_t gsm_modem_init_t::bandsBitfield containing the or'ed frequency bands the modem should search.
variable oper
cpp
char gsm_modem_init_t::oper[8]numeric operator code (3-digit MCC, 2-digit MNC, List of MNC for the EU). If left empty (0) the modem selects from the operators stored on the SIM card.
variable tech
cpp
gsm_technology_t gsm_modem_init_t::techRadio access technology (RAT) to use.
variable power_on_reset
cpp
uint8_t gsm_modem_init_t::power_on_resetForce a modem power on reset.
variable edrx
cpp
uint8_t gsm_modem_init_t::edrxExtended discontinuous reception settings.
variable psm
cpp
uint8_t gsm_modem_init_t::psmPower saving mode settings.
variable apn
cpp
char gsm_modem_init_t::apn[100]APN to use.
variable apn_auth_type
cpp
apn_auth_t gsm_modem_init_t::apn_auth_typePPP authentication type for the APN.
variable apn_user
cpp
char gsm_modem_init_t::apn_user[128]PPP APN username.
variable apn_pwd
cpp
char gsm_modem_init_t::apn_pwd[512]PPP APN password.
variable scanseq
cpp
char gsm_modem_init_t::scanseq[10]the order in which different RATs shall be preferably used
variable use_peer_dns
cpp
uint8_t gsm_modem_init_t::use_peer_dns1= use dns servers from PPP negotiation, 0= use custom DNS server
variable baudrate
cpp
uint32_t gsm_modem_init_t::baudrateBaudrate for the modem. If set to 0 default is 115200;.