Tools/raw materials
Wechat service platform
Wifi hardware devices conforming to Airkiss technology
Airkiss development
1
Develop HTML content. We mainly call the built-in Airkiss plug-in of WeChat through JSAPI. The main implementation code is shown in the following figure, and other platform-related details will not be repeated. If you need to do the corresponding development, you must read the relevant development documents.
2
After other pages are developed, put them into your own server, as shown in the figure below. The server must be accessible through an external network, preferably in a browser.
three
This function is implemented on your own public platform, so you must add the corresponding menu items on your own public platform, as shown in the figure below, and set the URL to jump to the previously developed web page.
end
Airkiss uses
Open WeChat and enter the official account of WeChat. This official WeChat account is the public service number I developed earlier. Please pay attention to this.
Then select the corresponding menu to pop up the menu item of Airkiss, which is set in the service platform development. Click to jump to the URL.
Then open the previously developed webpage. The picture below is a simple page written by myself. In fact, it doesn't need a gorgeous page, just a button, and then click it to call the built-in plug-in of WeChat.
Next, click the button on the page and the following page will appear. This is built into WeChat, so you don't need to develop it yourself. The WIFI name is the WIFI that the current mobile phone is connected to, and mobile and Unicom networks cannot be used. After entering the password, open the device according to the previous instructions, and then click "Connect".
The connection process may take a long time, and the page will display "Connecting". During this time, WeChat APP will broadcast the WIFI password to the device until the device connects to WIFI or times out.
After a period of time, the configuration was finally successful, as shown in the figure below. The returned information was written when developing HTML. Press OK to return, or click Close Page to exit. The development and use of Airkiss is ok here, it is very simple, and you can try it if you have the ability.