Thingstream Client Library  BLD4131-v2.13
Variables
modem_init_string.c File Reference

Modem initialisation string. More...

#include <modem_transport.h>

Variables

const char Thingstream_Modem_initString []
 

Detailed Description

Modem initialisation string.

This file defines a modem initialisation string used by the Thingstream SDK and is provided for use (or modification) by customers.

Variable Documentation

◆ Thingstream_Modem_initString

const char Thingstream_Modem_initString[]
Initial value:
=
"ATZ\n"
"~100\n"
"ATE0\n"
"AT+CMEE=2\n"
"?AT+CREG=2\n"
"?AT+CUSD=1\n"
"?AT+CUSD=2\n"
"?AT&W\n"
"AT+CREG?\n"

This string is used to initialise the modem. Each entry in the string is terminated by "\n". If an entry starts with a "?" then the "?" is not passed to the modem, but any ERROR (or +CME ERROR:) produced will be ignored. An entry of the form ~n inserts a delay of n ms into the sequence.