gsmVoLTEStatus (Function)

Top  Previous  Next

Architecture:

NX32L

Device support:

All

Firmware version:

2.30.00


This function returns the VoLTE status.

 

VoLTE can be enabled with gsmEnableVoLTE() and its success can be checked using gsmVoLTEStatus.

 

 

 

Input:

None

 

Returns: INT: TODO: Update

1

Success

0

Not supported.

-1

Not an LTE module.

-2

No SIM card present.

-3

No power to the LTE engine.

-4

Could not enable VoLTE.

 

Declaration:

FUNCTION gsmVoLTEStatus : INT;

 

 

Example:

INCLUDE rtcu.inc
 
PROGRAM test;
 
// Turn on power to the GSM module
gsmPower(power := TRUE);
 
BEGIN
  ...
  // Get VoLTE status
  DebugFmt(message:="VoLTE: \1", v1:=gsmVoLTEStatus());
  ...
END;
 
END_PROGRAM;