Current location - Recipe Complete Network - Complete cookbook of home-style dishes - On the distribution network function of blowing kisses
On the distribution network function of blowing kisses
If the equipment we use every day wants to access the network, we need a WIFI module, and WIFI must access the network to show its advantages. How to make the equipment realize through simple settings is a problem that every manufacturer should consider. Therefore, every manufacturer of WIFI chips or modules will make a set of their own device networking technology, and AirKiss is a technical solution for rapid networking of WIFI devices proposed by WeChat hardware platform. Due to the large number of users of WeChat, many chip and module manufacturers are slowly accessing and supporting AirKiss technology. This paper gives a general description of the development and use, and does not make a very in-depth technical discussion. If you encounter any problems in the development, you can leave a message at the back.

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.