How to Enable and Disable Ethernet Connectivity: Difference between revisions

From wizarPOS
(Created page with "The system provides the AIDL interface to enable/disable ethernet, When connect the service, the package name is '''com.wizarpos.wizarviewagentassistant''', and the class name...")
 
(Replaced content with "{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/sim-ethenet-wifi/toggle-ethernet-connectivity}}")
Tag: Replaced
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
The system provides the AIDL interface to enable/disable ethernet, When connect the service, the package name is '''com.wizarpos.wizarviewagentassistant''', and the class name is '''com.wizarpos.wizarviewagentassistant.Eth0MgrService'''. When the application uses the interface, it must import wizarviewagentassistant.
{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/sim-ethenet-wifi/toggle-ethernet-connectivity}}
 
Version of wizarviewagentassistant should equal or larger than 2.10.60.
== API Overview ==
=== <big>enableEthernet</big>===
  <syntaxhighlight lang="java">void enableEthernet(boolean enable);</syntaxhighlight>
Open or close Ethernet.
 
{|class="wizarpostable"
|-
! scope="row" colspan="2" | Parameters
|-
| enable|| '''boolean:''' true, open etherent, false, close ethernet.
|}
{|
|-
|}
=== <big>getEthernetStatus</big>===
  <syntaxhighlight lang="java">boolean getEthernetStatus();</syntaxhighlight>
true, open ethernet; false, close ethernet.
 
{|class="wizarpostable"
|-
!  scope="row" colspan="2" | Returns
|-
|  boolean || true or false.
|}
 
== Download ==
=== AIDL===
Please download the [http://ftp.wizarpos.com/advanceSDK/IEth0MgrService.aidl AIDL]
=== Demo ===
Please download the [http://ftp.wizarpos.com/advanceSDK/example_enableethernet_mtp_setlanguage.7z demo]

Latest revision as of 09:15, 7 April 2024

Please visit new link of same subject:

https://smartpossdk.gitbook.io/cloudpossdk/faq/sim-ethenet-wifi/toggle-ethernet-connectivity

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!