nrf58122 Bluetooth Chip ble_app_proximity Program Summary

Source: Internet
Author: User

Recently, because of the key thing, the study of the official self-ble_app_proximity program, in fact, is related to 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, and then a closer look, such as today we want to do a project with the anti-lost, it can refer to proximity this program, why reference it, Well, 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 key to trigger the alarm service, press the button, in the key processing program set the level of alarm, send via Bluetooth to the phone App,app according to the alarm level to do different actions,ble_app_proximity program, key control 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

Sample battery voltage via AD, send to mobile app

5,immediate Alert Service Client-locator Role of the The Find Me Profile Locator Service

The service can be found on the device via the mobile app. After the Bluetooth connection is established, there is a Find Me button in the phone app, press find me, the Hardware Development Board AK II will light up, this time the Find Me button becomes the Silent me button, and then press the Silent me button, the corresponding lantern will go off. The Immediate Alert service, introduced in comparison to 2, is an opposite way of looking.

This program has a lot of reference value, there is time to the inside of the program to study well. Beijing Chaoyang Book


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.