Activate POS Hotspot

Common Method for All POS Terminals

Here is the API Overview:

Start WiFi AP

boolean startWifiAp(String apName,
                    String apPassword,
                    String apSecurityKeyManagement,
                    boolean hiddenSSID)
             throws DeviceException

Initiates the WiFi Access Point (AP) with specified network name ('wifiApName'), password ('wifiApPassword'), and security key management ('wifiApSecurityKeyManagement').

Parameters

wifiApName

WLAN hotspot network name.

wifiApPassword

WLAN hotspot password.

wifiApSecurityKeyManagement

WLAN hotspot security: String None = "None", String WPA2_PSK = "WPA2_PSK".

Returns

boolean

a boolean representation of the result.

true if success. false if failure.

Stop WiFi AP

boolean stopWifiAp()
            throws DeviceException

Disables the WiFi Access Point.

Returns

boolean

a boolean representation of the result.

true if success. false if failure.

Not finished......

Last updated