How to Activate the Portable Hotspot on a Smart POS Terminal

From wizarPOS
Revision as of 21:38, 3 January 2024 by Simon (talk | contribs)

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 String: WLAN hotspot network name;
wifiApPassword String: WLAN hotspot password;
wifiApSecurityKeyManagement String: WLAN hotspot security: String None = "None", String WPA2_PSK = "WPA2_PSK";
Returns
boolean true or false

Stop WiFi AP

  • 'boolean stopWifiAp()';
  • Disables the WiFi Access Point.
Returns
boolean true or false

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.