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

From wizarPOS
No edit summary
(Replaced content with "{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/sim-ethenet-wifi/activate-pos-hotspot}}")
Tag: Replaced
 
Line 1: Line 1:
== Special Method for Q2 with Android 6 ==
{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/sim-ethenet-wifi/activate-pos-hotspot}}
* A specific [http://ftp.wizarpos.com/advanceSDK/HotspotConfig.zip 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:
=== <big>Start WiFi AP</big> ===
  <syntaxhighlight lang="java">boolean startWifiAp(String wifiApName, String wifiApPassword, String wifiApSecurityKeyManagement)</syntaxhighlight >
* Initiates the WiFi Access Point (AP) with specified network name (''''wifiApName''''), password (''''wifiApPassword''''), and security key management (''''wifiApSecurityKeyManagement'''').
{|class="wizarpostable"
|-
! scope="row" colspan="2" | 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";
|-
! scope="row" colspan="2" | Returns
|-
| boolean || true or false
|}
=== <big>Stop WiFi AP</big> ===
  <syntaxhighlight lang="java">boolean stopWifiAp()</syntaxhighlight >
* Disables the WiFi Access Point.
{|class="wizarpostable"
|-
! scope="row" colspan="2" | Returns
|-
| boolean || true or false
|}
== System APK Requirement ==
* The APIs are provided by the [http://ftp.wizarpos.com/advanceSDK/WifiApHelper-release-q1_platform-0520.apk system APK]. Ensure this APK is installed before testing the APIs.
== Demo Availability ==
* [http://ftp.wizarpos.com/advanceSDK/HotspotConfigClient-0520.zip The demo] is available for practical guidance on implementing these features.

Latest revision as of 09:04, 7 April 2024

Please visit new link of same subject:

https://smartpossdk.gitbook.io/cloudpossdk/faq/sim-ethenet-wifi/activate-pos-hotspot

We're making a move! Our site's content is migrating to a new URL, to provide you with an enhanced browsing experience. Please update your bookmarks accordingly. Thank you for your continuous support!