General method for configuring WiFi device to make same to connect WiFi router
A general method and device connection technology, which is applied in the field of wireless communication, can solve the problems that ordinary users cannot obtain MAC addresses, increase the security risk of WIFI devices, and the low configuration success rate, and achieve fast configuration speed, low cost, and high configuration success rate Effect
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2016-05-04
Abstract
Description
technical field
[0001] The invention belongs to the technical field of wireless communication, and in particular relates to a method for configuring an embedded device with a WiFi function to connect to a WiFi router. Background technique
[0002] Today, when intelligence and convenience become a trend, more and more devices come with or require remote control, and WiFi has become the mainstream. How to quickly configure intelligent embedded devices with WiFi functions (referred to as WiFi devices, such as WiFi speakers) , WiFi socket, etc.) to connect to the WiFi router conveniently and quickly to improve the experience is one of the important considerations for users to choose WiFi devices, and it is also one of the important topics that developers are committed to researching.
[0003] At present, there are many ways to connect WiFi devices to WiFi routers, and the details are listed as follows:
[0004] 1. WiFi devices with input and output devices (such as: keyboards, ...
Examples
Embodiment Construction
[0023] The present invention will be further described in conjunction with specific embodiments.
[0024] The present invention relies on the IEEE802.11 protocol cluster and uses all routers meeting the IEEE802.11 protocol cluster. In IEEE802.11, multicast addresses in the range of 01-00-5E-00-00-00 to 01-00-5E-7F-FF-FF are reserved for Ethernet and optical fiber distributed data interface media access control (MAC) )address. Therefore, the first 4 bits of the IP multicast address are fixed, and the adjacent 5 bits do not need to be mapped to the MAC layer multicast address. The 23 low-order bits of the IP multicast address are directly mapped to the MAC layer multicast address 23 low-order bits. According to the class D address convention, in order to use those 23 low-order bits, the first octet will not be used, and only the last 7 bits of the second octet will be used. The third and fourth octets will be directly converted to hexadecimal numbers. It is inevitable that a ho...