Skip to content

Set Apn

The SET_APN function adds a new APN (Access Point Name) entry on the device. Use the DATA_APN_NAME parameter to specify which APN should be created.

Parameters

Parameter Name Description Example Values Required Default Value
DATA_APN_NAME The name of the APN to add to the device. internet, wap, apn123 Yes
EXPECT The expected result of the operation. SUCCESS when the APN is added successfully, FAILURE when it should fail. SUCCESS, FAILURE Yes SUCCESS

Explanation of Fields

  • DATA_APN_NAME: The name of the new APN that will be created on the device.
  • EXPECT: Defines the expected outcome of the step — SUCCESS if the APN is added, FAILURE if it should not be.