RUI3 (RAK Unified Interface 3) - RAK4631
bg77::cereg

Public Member Functions

String set ()
 
String set (int)
 
String get ()
 

Member Function Documentation

◆ set() [1/2]

String set ( )
Description
This api queries the LTE network registration status and controls the presentation of an unsolicited result code +CEREG: <stat> when <n>=1 and there is a change in the MT’s EPS network registration status in E-UTRAN, or unsolicited result code +CEREG: <stat>[,[<tac>],[<ci>],[<AcT>]] when <n>=2 and there is a change of the network cell in E-UTRAN.
Syntax
bg77.cereg.set()
Returns
String response

◆ set() [2/2]

String set ( int  )
Description
This api queries the LTE network registration status and controls the presentation of an unsolicited result code +CEREG: <stat> when <n>=1 and there is a change in the MT’s EPS network registration status in E-UTRAN, or unsolicited result code +CEREG: <stat>[,[<tac>],[<ci>],[<AcT>]] when <n>=2 and there is a change of the network cell in E-UTRAN.
Syntax
bg77.cereg.set(n)
Parameters
nint Integer type.
0 Disable network registration unsolicited result code
1 Enable network registration unsolicited result code: +CEREG: <stat>
2 Enable network registration and location information unsolicited result code: +CEREG: <stat>[,[<tac>],[<ci>],[<AcT>]]
4 For a UE that has applied PSM, and network assigns T3324 to UE, enable network registration and location information unsolicited result code: +CEREG: <stat>[,[<tac>],[<ci>],[<AcT>][,,[,[<Active-Time>],[<Periodic-TAU> ]]]]
       @return  String  response

◆ get()

String get ( )
Description
This api queries the LTE network registration status and controls the presentation of an unsolicited result code +CEREG: <stat> when <n>=1 and there is a change in the MT’s EPS network registration status in E-UTRAN, or unsolicited result code +CEREG: <stat>[,[<tac>],[<ci>],[<AcT>]] when <n>=2 and there is a change of the network cell in E-UTRAN.
Syntax
bg77.cereg.get()
Returns
String response