<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://sdkwiki.wizarpos.com/index.php?action=history&amp;feed=atom&amp;title=How_to_Configure_Static_Ethernet_Parameters_Using_API</id>
	<title>How to Configure Static Ethernet Parameters Using API - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://sdkwiki.wizarpos.com/index.php?action=history&amp;feed=atom&amp;title=How_to_Configure_Static_Ethernet_Parameters_Using_API"/>
	<link rel="alternate" type="text/html" href="http://sdkwiki.wizarpos.com/index.php?title=How_to_Configure_Static_Ethernet_Parameters_Using_API&amp;action=history"/>
	<updated>2026-05-04T15:56:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>http://sdkwiki.wizarpos.com/index.php?title=How_to_Configure_Static_Ethernet_Parameters_Using_API&amp;diff=4366&amp;oldid=prev</id>
		<title>Mahong: Replaced content with &quot;{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/sim-ethenet-wifi/set-static-ethernet-api}}&quot;</title>
		<link rel="alternate" type="text/html" href="http://sdkwiki.wizarpos.com/index.php?title=How_to_Configure_Static_Ethernet_Parameters_Using_API&amp;diff=4366&amp;oldid=prev"/>
		<updated>2024-04-07T09:13:03Z</updated>

		<summary type="html">&lt;p&gt;Replaced content with &amp;quot;{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/sim-ethenet-wifi/set-static-ethernet-api}}&amp;quot;&lt;/p&gt;
&lt;a href=&quot;http://sdkwiki.wizarpos.com/index.php?title=How_to_Configure_Static_Ethernet_Parameters_Using_API&amp;amp;diff=4366&amp;amp;oldid=3835&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Mahong</name></author>
	</entry>
	<entry>
		<id>http://sdkwiki.wizarpos.com/index.php?title=How_to_Configure_Static_Ethernet_Parameters_Using_API&amp;diff=3835&amp;oldid=prev</id>
		<title>Simon no use at 20:30, 5 January 2024</title>
		<link rel="alternate" type="text/html" href="http://sdkwiki.wizarpos.com/index.php?title=How_to_Configure_Static_Ethernet_Parameters_Using_API&amp;diff=3835&amp;oldid=prev"/>
		<updated>2024-01-05T20:30:22Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:30, 5 January 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l38&quot;&gt;Line 38:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 38:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| ipBean|| &amp;#039;&amp;#039;&amp;#039;IpBean  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| ipBean|| &amp;#039;&amp;#039;&amp;#039;IpBean  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{|&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|   &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{|class=&quot;wizarpostable&quot;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;!  scope=&amp;quot;row&amp;quot; colspan=&amp;quot;2&amp;quot; | Returns&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;!  scope=&amp;quot;row&amp;quot; colspan=&amp;quot;2&amp;quot; | Returns&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key media_wiki-wk:diff::1.12:old-3793:rev-3835 --&gt;
&lt;/table&gt;</summary>
		<author><name>Simon no use</name></author>
	</entry>
	<entry>
		<id>http://sdkwiki.wizarpos.com/index.php?title=How_to_Configure_Static_Ethernet_Parameters_Using_API&amp;diff=3793&amp;oldid=prev</id>
		<title>Simon no use: Simon moved page How to set static Ethernet parameters by API to How to Configure Static Ethernet Parameters Using API: Normalize the title</title>
		<link rel="alternate" type="text/html" href="http://sdkwiki.wizarpos.com/index.php?title=How_to_Configure_Static_Ethernet_Parameters_Using_API&amp;diff=3793&amp;oldid=prev"/>
		<updated>2024-01-04T22:38:38Z</updated>

		<summary type="html">&lt;p&gt;Simon moved page &lt;a href=&quot;/index.php?title=How_to_set_static_Ethernet_parameters_by_API&quot; class=&quot;mw-redirect&quot; title=&quot;How to set static Ethernet parameters by API&quot;&gt;How to set static Ethernet parameters by API&lt;/a&gt; to &lt;a href=&quot;/index.php?title=How_to_Configure_Static_Ethernet_Parameters_Using_API&quot; title=&quot;How to Configure Static Ethernet Parameters Using API&quot;&gt;How to Configure Static Ethernet Parameters Using API&lt;/a&gt;: Normalize the title&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:38, 4 January 2024&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key media_wiki-wk:diff::1.12:old-3165:rev-3793 --&gt;
&lt;/table&gt;</summary>
		<author><name>Simon no use</name></author>
	</entry>
	<entry>
		<id>http://sdkwiki.wizarpos.com/index.php?title=How_to_Configure_Static_Ethernet_Parameters_Using_API&amp;diff=3165&amp;oldid=prev</id>
		<title>Mahong at 09:27, 19 June 2023</title>
		<link rel="alternate" type="text/html" href="http://sdkwiki.wizarpos.com/index.php?title=How_to_Configure_Static_Ethernet_Parameters_Using_API&amp;diff=3165&amp;oldid=prev"/>
		<updated>2023-06-19T09:27:06Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:27, 19 June 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The system provides the AIDL interface to set the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;preferred network type&lt;/del&gt;, When connect the service, the package name is &amp;#039;&amp;#039;&amp;#039;com.wizarpos.wizarviewagentassistant&amp;#039;&amp;#039;&amp;#039;, and the class name is &amp;#039;&amp;#039;&amp;#039;com.wizarpos.wizarviewagentassistant.Eth0MgrService&amp;#039;&amp;#039;&amp;#039;. When the application uses the interface, it must import wizarviewagentassistant and add permissions to the Android manifest file.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The system provides the AIDL interface to set the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;static Ethernet parameters&lt;/ins&gt;, When connect the service, the package name is &amp;#039;&amp;#039;&amp;#039;com.wizarpos.wizarviewagentassistant&amp;#039;&amp;#039;&amp;#039;, and the class name is &amp;#039;&amp;#039;&amp;#039;com.wizarpos.wizarviewagentassistant.Eth0MgrService&amp;#039;&amp;#039;&amp;#039;. When the application uses the interface, it must import wizarviewagentassistant and add permissions to the Android manifest file.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Permission ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Permission ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The application declares the following permissions in the manifest：&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The application declares the following permissions in the manifest：&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key media_wiki-wk:diff::1.12:old-2713:rev-3165 --&gt;
&lt;/table&gt;</summary>
		<author><name>Mahong</name></author>
	</entry>
	<entry>
		<id>http://sdkwiki.wizarpos.com/index.php?title=How_to_Configure_Static_Ethernet_Parameters_Using_API&amp;diff=2713&amp;oldid=prev</id>
		<title>Mahong: /* Demo */</title>
		<link rel="alternate" type="text/html" href="http://sdkwiki.wizarpos.com/index.php?title=How_to_Configure_Static_Ethernet_Parameters_Using_API&amp;diff=2713&amp;oldid=prev"/>
		<updated>2021-12-24T08:06:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Demo&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:06, 24 December 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l144&quot;&gt;Line 144:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 144:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Download ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Download ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Demo ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Demo ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Please download the [http://ftp.wizarpos.com/advanceSDK/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ApiTestDemoForEth0Mgr&lt;/del&gt;.zip demo]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Please download the [http://ftp.wizarpos.com/advanceSDK/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;cloudpos/Eth0MgrTestDemo&lt;/ins&gt;.zip demo]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key media_wiki-wk:diff::1.12:old-2550:rev-2713 --&gt;
&lt;/table&gt;</summary>
		<author><name>Mahong</name></author>
	</entry>
	<entry>
		<id>http://sdkwiki.wizarpos.com/index.php?title=How_to_Configure_Static_Ethernet_Parameters_Using_API&amp;diff=2550&amp;oldid=prev</id>
		<title>Mahong: Created page with &quot;The system provides the AIDL interface to set the preferred network type, When connect the service, the package name is &#039;&#039;&#039;com.wizarpos.wizarviewagentassistant&#039;&#039;&#039;, and the cla...&quot;</title>
		<link rel="alternate" type="text/html" href="http://sdkwiki.wizarpos.com/index.php?title=How_to_Configure_Static_Ethernet_Parameters_Using_API&amp;diff=2550&amp;oldid=prev"/>
		<updated>2021-09-01T09:49:51Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The system provides the AIDL interface to set the preferred network type, When connect the service, the package name is &amp;#039;&amp;#039;&amp;#039;com.wizarpos.wizarviewagentassistant&amp;#039;&amp;#039;&amp;#039;, and the cla...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The system provides the AIDL interface to set the preferred network type, When connect the service, the package name is &amp;#039;&amp;#039;&amp;#039;com.wizarpos.wizarviewagentassistant&amp;#039;&amp;#039;&amp;#039;, and the class name is &amp;#039;&amp;#039;&amp;#039;com.wizarpos.wizarviewagentassistant.Eth0MgrService&amp;#039;&amp;#039;&amp;#039;. When the application uses the interface, it must import wizarviewagentassistant and add permissions to the Android manifest file.&lt;br /&gt;
== Permission ==&lt;br /&gt;
The application declares the following permissions in the manifest：&lt;br /&gt;
  android.permission.CONNECTIVITY_INTERNAL&lt;br /&gt;
&lt;br /&gt;
== API Overview ==&lt;br /&gt;
=== &amp;lt;big&amp;gt;enableStaticIp&amp;lt;/big&amp;gt;===&lt;br /&gt;
   &amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;void enableStaticIp(boolean isStaticIp);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Enable static IP, true for static ip, else for dhcp.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wizarpostable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; colspan=&amp;quot;2&amp;quot; | Parameters&lt;br /&gt;
|-&lt;br /&gt;
| isStaticIp|| &amp;#039;&amp;#039;&amp;#039;boolean:&amp;#039;&amp;#039;&amp;#039; true for static ip, else for dhcp.&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|   &lt;br /&gt;
|}&lt;br /&gt;
=== &amp;lt;big&amp;gt;isStaticIp&amp;lt;/big&amp;gt;===&lt;br /&gt;
   &amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;boolean isStaticIp();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
true for static ip, else for dhcp.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wizarpostable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  scope=&amp;quot;row&amp;quot; colspan=&amp;quot;2&amp;quot; | Returns&lt;br /&gt;
|-&lt;br /&gt;
|  boolean || true is static IP.&lt;br /&gt;
|}&lt;br /&gt;
=== &amp;lt;big&amp;gt;setStaticIp&amp;lt;/big&amp;gt;===&lt;br /&gt;
   &amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;boolean setStaticIp(IpBean ipBean);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Set static IP.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wizarpostable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; colspan=&amp;quot;2&amp;quot; | Parameters&lt;br /&gt;
|-&lt;br /&gt;
| ipBean|| &amp;#039;&amp;#039;&amp;#039;IpBean &lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|   &lt;br /&gt;
|}&lt;br /&gt;
{|class=&amp;quot;wizarpostable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  scope=&amp;quot;row&amp;quot; colspan=&amp;quot;2&amp;quot; | Returns&lt;br /&gt;
|-&lt;br /&gt;
|  boolean || true is success, false is failure.&lt;br /&gt;
|}&lt;br /&gt;
=== &amp;lt;big&amp;gt;getStaticIp&amp;lt;/big&amp;gt;===&lt;br /&gt;
   &amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;IpBean getStaticIp();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Get static IP parameters.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wizarpostable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  scope=&amp;quot;row&amp;quot; colspan=&amp;quot;2&amp;quot; | Returns&lt;br /&gt;
|-&lt;br /&gt;
|  IpBean|| IpBean.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;public class IpBean implements Parcelable {&lt;br /&gt;
    private String ipAddress;&lt;br /&gt;
    private String prefixLength;&lt;br /&gt;
    private String gateway;&lt;br /&gt;
    private String dnsServer;&lt;br /&gt;
&lt;br /&gt;
    public IpBean(){}&lt;br /&gt;
&lt;br /&gt;
    protected IpBean(Parcel in) {&lt;br /&gt;
        ipAddress = in.readString();&lt;br /&gt;
        prefixLength = in.readString();&lt;br /&gt;
        gateway = in.readString();&lt;br /&gt;
        dnsServer = in.readString();&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    public static final Creator&amp;lt;IpBean&amp;gt; CREATOR = new Creator&amp;lt;IpBean&amp;gt;() {&lt;br /&gt;
        @Override&lt;br /&gt;
        public IpBean createFromParcel(Parcel in) {&lt;br /&gt;
            return new IpBean(in);&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
        @Override&lt;br /&gt;
        public IpBean[] newArray(int size) {&lt;br /&gt;
            return new IpBean[size];&lt;br /&gt;
        }&lt;br /&gt;
    };&lt;br /&gt;
&lt;br /&gt;
    public String getIpAddress() {&lt;br /&gt;
        return ipAddress;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    public void setIpAddress(String ipAddress) {&lt;br /&gt;
        this.ipAddress = ipAddress;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    public String getPrefixLength() {&lt;br /&gt;
        return prefixLength;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    public void setPrefixLength(String prefixLength) {&lt;br /&gt;
        this.prefixLength = prefixLength;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    public String getGateway() {&lt;br /&gt;
        return gateway;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    public void setGateway(String gateway) {&lt;br /&gt;
        this.gateway = gateway;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    public String getDnsServer() {&lt;br /&gt;
        return dnsServer;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    public void setDnsServer(String dnsServer) {&lt;br /&gt;
        this.dnsServer = dnsServer;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    @Override&lt;br /&gt;
    public int describeContents() {&lt;br /&gt;
        return 0;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    @Override&lt;br /&gt;
    public void writeToParcel(Parcel dest, int flags) {&lt;br /&gt;
        dest.writeString(this.ipAddress);&lt;br /&gt;
        dest.writeString(this.prefixLength);&lt;br /&gt;
        dest.writeString(this.gateway);&lt;br /&gt;
        dest.writeString(this.dnsServer);&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    @Override&lt;br /&gt;
    public String toString() {&lt;br /&gt;
        return &amp;quot;IpBean{&amp;quot; +&lt;br /&gt;
                &amp;quot;ipAddress=&amp;#039;&amp;quot; + ipAddress + &amp;#039;\&amp;#039;&amp;#039; +&lt;br /&gt;
                &amp;quot;, prefixLength=&amp;#039;&amp;quot; + prefixLength + &amp;#039;\&amp;#039;&amp;#039; +&lt;br /&gt;
                &amp;quot;, gateway=&amp;#039;&amp;quot; + gateway + &amp;#039;\&amp;#039;&amp;#039; +&lt;br /&gt;
                &amp;quot;, dnsServer=&amp;#039;&amp;quot; + dnsServer + &amp;#039;\&amp;#039;&amp;#039; +&lt;br /&gt;
                &amp;#039;}&amp;#039;;&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
== Download ==&lt;br /&gt;
=== Demo ===&lt;br /&gt;
Please download the [http://ftp.wizarpos.com/advanceSDK/ApiTestDemoForEth0Mgr.zip demo]&lt;/div&gt;</summary>
		<author><name>Mahong</name></author>
	</entry>
</feed>