-19-
v7.3
Software
4.6. Setting operator parameters
When the 4G module uses data services like TCP/UDP connections, HTTP services, SMTP or FTP transfers, it is
mandatory to configure the parameters provided by the user’s Mobile Network Operator (MNO): APN, login and
password. The owner of a SIM should be notified with these parameters by the MNO.
The
set_APN()
function allows the user to save these parameters into Waspmote memory. Later, when data
connection functions are called, Waspmote will configure these parameters into the 4G module.
Example of use:
{
_4G.set_APN(“apn”, ”login”, ”password”);
}
The show_APN() function allows the user to display the current settings stored in Waspmote’s memory which are
used by the libraries when data connections are performed.
Example of use:
{
_4G.show_APN();
}
Related variable:
_4G._apn
→
Stores the APN name
_4G._apn_login
→
Stores the APN login
_4G._apn_password
→
Stores the APN password
4.7. SMS
4.7.1.
Setting SMS configuration
The
configureSMS()
function sets the SMS configuration to:
•
Correct SMS format to be read from the module
•
Select where SMSs are going to be stored
•
Configure the indication method for new SMS received
This function must be called before handling SMSs in the main code loop.
Example of use:
{
_4G.configureSMS();
}
Содержание LE910
Страница 1: ...Waspmote 4G Networking Guide ...