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

Public Member Functions

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

Member Function Documentation

◆ set() [1/3]

String set ( )
Description
This api enables or disables sending of unsolicited result codes +CGEV: XXX from MT to TE in the case of certain events occurring in the packet domain MT or the network.
Syntax
bg77.cgerep.set()
Returns
String response

◆ set() [2/3]

String set ( int  )
Description
This api enables or disables sending of unsolicited result codes +CGEV: XXX from MT to TE in the case of certain events occurring in the packet domain MT or the network.
Syntax
bg77.cgerep.set(mode)
Parameters
modeint Integer type.
0 Buffer unsolicited result codes in the MT. If MT result code buffer is full, the oldest ones can be discarded. No codes are forwarded to the TE.
1 Discard unsolicited result codes when MT-TE link is reserved (e.g. in on-line data mode); otherwise forward them directly to the TE.
2 Buffer unsolicited result codes in the MT when MT-TE link is reserved (e.g. in data mode) and flush them to the TE when MT-TE link becomes available. Otherwise forward them directly to the TE.
Returns
String response

◆ set() [3/3]

String set ( int  ,
int   
)
Description
This api enables or disables sending of unsolicited result codes +CGEV: XXX from MT to TE in the case of certain events occurring in the packet domain MT or the network.
Syntax
bg77.cgerep.set(mode,bfr)
Parameters
modeint Integer type.
0 Buffer unsolicited result codes in the MT. If MT result code buffer is full, the oldest ones can be discarded. No codes are forwarded to the TE.
1 Discard unsolicited result codes when MT-TE link is reserved (e.g. in on-line data mode); otherwise forward them directly to the TE.
2 Buffer unsolicited result codes in the MT when MT-TE link is reserved (e.g. in data mode) and flush them to the TE when MT-TE link becomes available. Otherwise forward them directly to the TE.
bfrint Integer type.
0 MT buffer of unsolicited result codes defined within this command is cleared when <mode> 1 or 2 is entered.
1 MT buffer of unsolicited result codes defined within this command is flushed to the TE when <mode> 1 or 2 is entered (OK response shall be given before flushing the codes).
Returns
String response

◆ get()

String get ( )
Description
This api enables or disables sending of unsolicited result codes +CGEV: XXX from MT to TE in the case of certain events occurring in the packet domain MT or the network.
Syntax
bg77.cgerep.get()
Returns
String response