Skip to content

Set APN

Function: SET_APN

The SET_APN function renames the device's currently active APN (Access Point Name) to the value of DATA_APN_NAME and verifies that the change was applied. It does not create a new APN entry; to switch to an APN that already exists, use SELECT_APN.

Supported on: Android (Samsung, Xiaomi and Google Pixel) and iOS.

Parameters

Parameter Name Description Example Values Required Default Value
DATA_APN_NAME The new name for the active APN. internet, wap, apn123 Yes
EXPECT The expected result of the operation. SUCCESS when the APN is renamed successfully, FAIL when it should fail. SUCCESS, FAIL Yes SUCCESS

Explanation of Fields

  • DATA_APN_NAME: The name the active APN on the device is changed to.
  • EXPECT: Defines the expected outcome of the step — SUCCESS if the APN is renamed, FAIL if it should not be.