Ant Wireless Communication Technology (4) Pairing instance

Source: Internet
Author: User

After understanding the concept of channel configuration, we then use an example to learn about ant pairing.

First, pairing

The process of establishing an ant channel between two nodes, called pairing (pairing). Specifically, a single channel ID is obtained from a node that is broadcast from a primary node and stored or staged in storage, and then the communication can begin between nodes. Pairing can be permanent, semi-permanent, or temporary. Ant offers a variety of features to meet different pairing requirements, but not all modules can support these features, depending on the module's manual.

    • Pairing Bit (Pairing bit)
    • include/exclude list (in/exclusion list)
    • near Search (Proximity search)
    • Search List (Search list)

  

Pairing bit

As mentioned before, the maximum 1 bits in 8bit of the device type are paired bits. The primary device sets the pairing bit and the device will be paired first. Using the pairing bit feature avoids pairing to the wrong primary device when the slave device does not know the full primary device channel ID, that is, using at least one of the pass-through channel parameters. For example, in the case of a heart rate watch paired with a heart rate band, it is common for xiaoming to wear a heart rate band and then operate the heart rate meter for pairing. According to Xiao Ming's operating habits, we can set the heart rate belt in the opening of the 10s pre-pairing bit, 10s automatically reset the pairing bit, so that, as long as the nearby surrounding other users not in 10s to open another heart rate belt, Xiaoming will be able to pair his heart rate quickly.

Include/Exclude list

As the name implies good function. The set field must be a full channel ID configuration and support a maximum of 4 entries.

Near search

Pairing is based on the main device RSSI scanned from the device, paired with only the primary device in the specified range.

Search list

Gets all the searched device numbers, which the MCU user decides to pair to.

The above 4 functions are combined with each other to achieve a variety of pairing. That sounds pretty good to me!

Second, matching examples

is completing

Ant Wireless Communication Technology (4) Pairing instance

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.