Activate POS Hotspot

Special Method for Q2 with Android 6

  • A specific demo is provided for activating the portable hotspot on Q2 terminals running Android 6 using an application.

Common Method for All POS Terminals

Here is the API Overview:

Start WiFi AP

boolean startWifiAp(String wifiApName, String wifiApPassword, String wifiApSecurityKeyManagement)

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()

Disables the WiFi Access Point.

Returns

boolean

a boolean representation of the result.

true if success. false if failure.

System APK Requirement

  • The APIs are provided by the system APK. Ensure this APK is installed before testing the APIs.

Demo Availability

  • The demo is available for practical guidance on implementing these features.

Last updated