gsmGetCellID (Function)

Top  Previous  Next

Architecture:

X32 / NX32 / NX32L

Device support:

All

Firmware version:

1.00 / 1.00.00


This function returns the Cell ID (CID) of the GSM base station the RTCU device is connected to.

 

Input:

None.

 

Returns: DINT

GSM CID.

 

Declaration:

FUNCTION gsmGetCellID : DINT;

 

 

Example:

INCLUDE rtcu.inc
 
PROGRAM test;
 
BEGIN
  ...
DebugFmt(message := "Current CellID =\4", v4 := gsmGetCellID());
  // The Cell ID is shown in the debug window
  ...
END;
 
END_PROGRAM;