43#ifndef __SPRESENSE_LTEACCESSPROVIDER_H__
44#define __SPRESENSE_LTEACCESSPROVIDER_H__
47#error "LTE library is NOT supported by SubCore."
175 const char *userName = NULL,
176 const char *password = NULL,
179 bool synchronous =
true);
228 const char *userName = NULL,
229 const char *password = NULL,
232 bool synchronous =
true);
Definition used in LTE library.
LTENetworkRatType
RAT(Radio Access Technology)
Definition LTEDefinition.h:111
LTEModemStatus attach(LTENetworkRatType rat, const char *apn, const char *userName=NULL, const char *password=NULL, LTENetworkAuthType authType=LTE_NET_AUTHTYPE_CHAP, LTENetworkIPType ipType=LTE_NET_IPTYPE_V4V6, bool synchronous=true)
Register the modem on the LTE network after configuring RAT.
unsigned long getTime()
Gets the number of seconds since the epoch.
LTEModemStatus getStatus()
Get the modem status.
LTEModemStatus attach(const char *apn, const char *userName=NULL, const char *password=NULL, LTENetworkAuthType authType=LTE_NET_AUTHTYPE_CHAP, LTENetworkIPType ipType=LTE_NET_IPTYPE_V4V6, bool synchronous=true)
Register the modem on the LTE network.
void shutdown()
Power off the LTE modem and detach the modem from the LTE network.
LTEModemStatus begin(char *pinCode=NULL, bool restart=true, bool synchronous=true)
Power on the modem and start the network search.
IPAddress getIPAddress()
Get IP address assigned by LTE network.
LTEAccessProvider()
Construct LTEAccessProvider instance.
LTEModemStatus detach()
Detach the modem from the LTE network.
~LTEAccessProvider()
Destruct LTEAccessProvider instance.
LTENetworkAuthType
[en] Authentication type. [ja] 認証形式
Definition LTEDefinition.h:98
LTEModemStatus
[en] Status code of the modem. [ja] モデムのステータスコード
Definition LTEDefinition.h:70
LTENetworkIPType
[en] Internet protocol type. [ja] インターネット・プロトコル形式
Definition LTEDefinition.h:85
@ LTE_NET_AUTHTYPE_CHAP
Definition LTEDefinition.h:101
@ LTE_NET_IPTYPE_V4V6
Definition LTEDefinition.h:88