How to Activate the Portable Hotspot on a Smart POS Terminal: Difference between revisions

From wizarPOS
(Created page with "Here is [http://ftp.wizarpos.com/advanceSDK/HotspotConfig.zip a demo] of turning on the portable hotspot by application.")
 
No edit summary
Line 1: Line 1:
== In Q2 Android 6 ==
Here is [http://ftp.wizarpos.com/advanceSDK/HotspotConfig.zip a demo] of turning on the portable hotspot by application.
Here is [http://ftp.wizarpos.com/advanceSDK/HotspotConfig.zip a demo] of turning on the portable hotspot by application.
== In All of our POS ==
=== API ===
==== <big>Start</big> ====
  <syntaxhighlight lang="java">boolean startWifiAp(String wifiApName, String wifiApPassword, String wifiApSecurityKeyManagement)</syntaxhighlight >
Start Wifi AP.
{|class="wizarpostable"
|-
! scope="row" colspan="2" | Parameters
|-
| wifiApName || '''int:''' WLAN hotspot network name;
|-
| wifiApPassword || '''int:''' WLAN hotspot password;
|-
| wifiApSecurityKeyManagement || '''int:''' WLAN hotspot security: String None = "0", String WPA2_PSK = "4";
|}
{|
|-
|}
{|class="wizarpostable"
|-
! scope="row" colspan="2" | Returns
|-
| boolean || true or false
|}
==== <big>Stop</big> ====
  <syntaxhighlight lang="java">boolean stopWifiAp()</syntaxhighlight >
Stop Wifi AP.
{|class="wizarpostable"
|-
! scope="row" colspan="2" | Returns
|-
| boolean || true or false
|}
=== System APK ===
The API is provided by the [http://ftp.wizarpos.com/advanceSDK/HotspotConfig.zip system APK], please install it before testing the API.
=== Demo ===
Here is [http://ftp.wizarpos.com/advanceSDK/HotspotConfig.zip the demo].

Revision as of 02:11, 20 May 2022

In Q2 Android 6

Here is a demo of turning on the portable hotspot by application.

In All of our POS

API

Start

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

Start Wifi AP.

Parameters
wifiApName int: WLAN hotspot network name;
wifiApPassword int: WLAN hotspot password;
wifiApSecurityKeyManagement int: WLAN hotspot security: String None = "0", String WPA2_PSK = "4";
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.