This is an old revision of the document!
Script reference
SetSystemItem( item, value )
Change value of a given system parameter
Description
SetSystemItem( item, value )
Change the value of a given system parameter
Parameters
item | The system item to set (see below) |
value | The new value |
Parameter | Description |
---|---|
SYSITEM_GPSX | GPS latitude in degrees x 106 |
SYSITEM_GPSY | GPS longitude in degrees x 106 |
SYSITEM_GPSZ | GPS elevation in meters x 10 |
SYSITEM_GPSSIGNAL | Received signal level from GPS |
SYSITEM_CELLINHIBIT | 0=normal operation. 1=cellular modem is off |
SYSITEM_GPSLOCK | 0=No current GPS position. 1=GPS position current |
Return value
None
Example usage
SetSystemItem( SYSITEM_CELLINHIBIT, 600 ); // Power off the cell modem for 10 minutes