gsmSetListOfCallers (Function)

Top  Previous  Next

Architecture:

X32 / NX32

Device support:

All

Firmware version:

1.00


gsmSetListOfCallers will save a list of callers that are allowed to make data call (CSD) to the RTCU device. When an incoming data call is arriving, the caller id of the caller is checked against this list, and if the number is present in the list, the data call will be allowed and answered.

 

Input:

str : STRING

List of phone numbers that are allowed to make data calls to the device. Each number must be separated with a ",". If the string is empty, i.e. "", no data call is allowed at all. If the string equals "*" (a star), all callers are allowed.

 

Returns:

None.

 

Declaration:

FUNCTION gsmSetListOfCallers;
VAR_INPUT
  str : STRING;
END_VAR;

 

 

Example:

INCLUDE rtcu.inc
 
PROGRAM test;
 
BEGIN
  ...
  gsmSetListOfCallers(str:="+441233445,+4544778833");
  // The numbers +441233445 and +4544778833 is allowed to make datacalls
  ...
END;
 
END_PROGRAM;