nrf51822 Bluetooth Chip ble_app_proximity Program Summary

Source: Internet
Author: User

Recently, due to the key thing, the study of the official self-ble_app_proximity procedures, in fact, with the anti-lost program.

At the same time also found some of the doorway to see the Nordic program, mainly to see the protocol stack inside some service, first from the macro understanding. Then a closer look at, than now the day we want to do a project related to anti-loss, it is fully able to participate in proximity this program. Why participate in it, first look at their service.

Host computer software Nordic Toolbox

Hardware: AK II, program:ble_app_proximity

1,TX Power Service-Transmit power services

The service can adjust the transmission power of Bluetooth, which can affect the device and mobile phone Bluetooth direct detection and communication distance, personal understanding.

2,immediate Alert Service-Instant alarm Services

The service can use the button to trigger the alarm service, press the button. After setting the level of alarm in the key handler, send to phone via Bluetooth App,app different actions according to the alarm level. ble_app_proximity program, press the key to control the phone ringing and stop ringing.

3. Link Loss Service-Connection Loss Services

When the connection is lost (either the battery is out of power or it is too far away from the app), the connection is lost, and is then sent to the mobile app as a notification when it is lost, and the phone responds to the event. ble_app_proximity is displayed using notifications in the program.

4,battery Service-Battery services

Send to mobile app via AD sample battery voltage

5. Immediate Alert Service Client-locator Role of the The Find Me Profile Locator Service

The service is able to find devices through the mobile app.

After the Bluetooth connection is established, find Mebutton is available in the app for the phone. Press Find Me, hardware Development Board AK II will light up, this time find Mebutton become Silent Mebutton, and then press Silent Mebutton. The corresponding lantern is extinguished. The Immediate Alert service, introduced in comparison to 2, is an opposite way of looking.

This program has a very large reference value. Have time to study the procedure inside.

Beijing Chaoyang Book


nrf51822 Bluetooth Chip ble_app_proximity Program Summary

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.