gprsClose (Function)

Top  Previous  Next

Architecture:

X32 / NX32 / NX32L

Firmware version:

1.00 / 1.00.00

Deprecated:

Use netClose(iface:=1) instead


This stops the cellular network connection to the internet. When this function returns, no communication that uses cellular network should occur. After this functions returns, the gprsConnected() function will indicate than the network connection is unavailable.

 

 

Input:

None.

 

 

Returns: INT

0

- Success.

 

 

Declaration:

FUNCTION gprsClose : INT;

 

 


Example:

 

Please see the "Examples - Socket Communication"