gsmPower (Function) |
Top Previous Next |
This function controls the power to the on-board cellular engine. This function must be called before any functions depending on an active cellular connection is used - for example gprsOpen().
Note: when the devices faults (see fault log), the cellular engine will automatically be turned on, so that a remote connection can be established. The device will automatically (if configured) connect to the RTCU Communication Hub in this situation.
Input: power : BOOL
hs : BOOL
Note: This parameter is only supported on the RTCU NX-900 series. Please refer to the technical manual for details.
Returns: INT
Declaration: FUNCTION gsmPower : INT;
Example: INCLUDE rtcu.inc |