Select APN
Function: SELECT_APN
The SELECT_APN function allows the user to select a specific APN (Access Point Name) from the list of APNs configured on a device's SIM card. This function is essential for testing different data connection settings when multiple APNs are available.
The APN must already exist on the device: SELECT_APN makes it the active one and does not create a new entry.
Supported on: Android (Samsung, Xiaomi and Google Pixel).
Parameters¶
| Parameter Name | Description | Example Values | Required | Default Value |
|---|---|---|---|---|
DATA_APN_NAME |
The name of the data APN that should be selected. The APN name needs to be entered manually. | internet, wap, apn123 | Yes | |
EXPECT |
The expected result of selecting the APN. If the APN is successfully selected, it returns SUCCESS. If the APN is not found or not selectable, it returns FAIL. | SUCCESS, FAIL |
Yes | SUCCESS |
Explanation of Fields¶
- DATA_APN_NAME: The APN name the user wants to select from the available list of APNs configured on the SIM card.
- EXPECT: Defines the expected result of the APN selection.
SUCCESSmeans the APN was found and selected, whileFAILindicates it was not found or not selectable.