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

Public Member Functions

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

Member Function Documentation

◆ set() [1/3]

String set ( int  ,
String   
)
Description
This api injects XTRA time to GNSS engine when the module cannot synchronize time from network.
Syntax
bg77.qgpsxtratime.set(op,XTRA_time)
Parameters
opint Integer type. Operation type.
  • 0 Inject XTRA time
XTRA_timeString String type. Current UTC time to be injected. Format: "YYYY/MM/DD,hh:mm:ss". e.g. "2020/04/03,15:34:50".
Returns
String response

◆ set() [2/3]

String set ( int  ,
String  ,
int   
)
Description
This api injects XTRA time to GNSS engine when the module cannot synchronize time from network.
Syntax
bg77.qgpsxtratime.set(op,XTRA_time,UTC)
Parameters
opint Integer type. Operation type.
  • 0 Inject XTRA time
XTRA_timeString String type. Current UTC time to be injected. Format: "YYYY/MM/DD,hh:mm:ss". e.g. "2020/04/03,15:34:50".
UTCint Integer type. The type of time.
  • 0 Reserved
  • 1 UTC time
Returns
String response

◆ set() [3/3]

String set ( int  ,
String  ,
int  ,
int  ,
int   
)
Description
This api injects XTRA time to GNSS engine when the module cannot synchronize time from network.
Syntax
bg77.qgpsxtratime.set(op,XTRA_time,UTC,reserved,uncrtn)
Parameters
opint Integer type. Operation type.
  • 0 Inject XTRA time
XTRA_timeString String type. Current UTC time to be injected. Format: "YYYY/MM/DD,hh:mm:ss". e.g. "2020/04/03,15:34:50".
UTCint Integer type. The type of time.
  • 0 Reserved
  • 1 UTC time
reservedint Reserved. Always 0
uncrtnint Integer type. Uncertainty of time. Range: 1–3600000. Default value: 3500. Unit: millisecond. If this parameter is omitted or less than 3.5 seconds, it will be counted as 3.5 seconds.
Returns
String response

◆ get()

String get ( )
Description
This api injects XTRA time to GNSS engine when the module cannot synchronize time from network.
Syntax
bg77.qgpsxtratime.get()
Returns
String response