How to Activate the Portable Hotspot on a Smart POS Terminal: Difference between revisions
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
| wifiApPassword || '''String:''' WLAN hotspot password; | | wifiApPassword || '''String:''' WLAN hotspot password; | ||
|- | |- | ||
| wifiApSecurityKeyManagement || '''String:''' WLAN hotspot security: String None = " | | wifiApSecurityKeyManagement || '''String:''' WLAN hotspot security: String None = "None", String WPA2_PSK = "WPA2_PSK"; | ||
|} | |} | ||
{| | {| | ||
Line 37: | Line 37: | ||
|} | |} | ||
=== System APK === | === System APK === | ||
The API is provided by the [http://ftp.wizarpos.com/advanceSDK/WifiApHelper-release-q1_platform.apk system APK], please install it before testing the API. | The API is provided by the [http://ftp.wizarpos.com/advanceSDK/WifiApHelper-release-q1_platform-0520.apk system APK], please install it before testing the API. | ||
=== Demo === | === Demo === | ||
Here is [http://ftp.wizarpos.com/advanceSDK/HotspotConfigClient.zip the demo]. | Here is [http://ftp.wizarpos.com/advanceSDK/HotspotConfigClient-0520.zip the demo]. |
Revision as of 09:02, 20 May 2022
Special Method For Q2 with Android 6
Here is a demo of turning on the portable hotspot by application.
Common Method For All POS
API
Start
boolean startWifiAp(String wifiApName, String wifiApPassword, String wifiApSecurityKeyManagement)
Start Wifi AP.
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
boolean stopWifiAp()
Stop Wifi AP.
Returns | |
---|---|
boolean | true or false |
System APK
The API is provided by the system APK, please install it before testing the API.
Demo
Here is the demo.