gprsConnected (Function)

Top  Previous  Next

Architecture:

X32 / NX32 / NX32L

Device support:

All

Firmware version:

1.00 / 1.00.00


This returns information about whether a cellular network connection is established.

 

Note that that this does not mean that a connection to the RTCU Communication Hub  has been established yet, even if it is enabled in Device: Network: RTCU Communication Hub settings. Use the function gwConnected() to check if connection has been established.

 

 

Input:

None.

 

 

Returns: BOOL

true if connection to the cellular network is established, false if not.

 

 

Declaration:

FUNCTION gprsConnected : BOOL;

 

 


Example:

 

Please see the "Examples - Socket Communication"