-- Requesting a probe status as a string
sys.get_status_str(string VarName)
-- Requesting a probe status as an integer
sys.get_status_int(string VarName)
Variable names:
Var Name | Str Value | Int Value |
---|---|---|
GP-Probe Status | ||
NEW_STATUS | Offline Normal Spoofing Jamming PPS Offset Low Time Accuracy Low Position Accuracy Hardware Error No Fix Server Error | 0 1 2 3 4 5 6 100 101 200 |
OLD_STATUS | ||
GNSS Spoofing Status | ||
NEW_GPS_SPOOFING | true false | 1 0 |
OLD_GPS_SPOOFING | ||
NEW_GLO_SPOOFING | ||
OLD_GLO_SPOOFING | ||
NEW_GAL_SPOOFING | ||
OLD_GAL_SPOOFING | ||
NEW_BDS_SPOOFING | ||
OLD_BDS_SPOOFING | ||
GNSS Jamming Status | ||
NEW_GPS_JAMMING | true false | 1 0 |
OLD_GPS_JAMMING | ||
NEW_GLO_JAMMING | ||
OLD_GLO_JAMMING | ||
NEW_GAL_JAMMING | ||
OLD_GAL_JAMMING | ||
NEW_BDS_JAMMING | ||
OLD_BDS_JAMMING |
Example:
old = sys.get_status_int("OLD_STATUS"); new = sys.get_status_int("NEW_STATUS"); oldstr = sys.get_status_str("OLD_STATUS"); newstr = sys.get_status_str("NEW_STATUS");
Delay in milliseconds. Maximum value 100e+6
sys.delay(number msec);
The function sends a warning message to GP-Cloud for logging
sys.warning(string);
The function sends an error message to GP-Cloud for logging
sys.error(string);