Nrf58122 Bluetooth Chip ble_app_proximity Program Summary,

Source: Internet
Author: User

Nrf58122 Bluetooth Chip ble_app_proximity Program Summary,

Recently, the ble_app_proximity program that comes with the official research on the key is actually a program related to anti-loss.

At the same time, I also found some channels for reading the nordic program, mainly looking at some services in the protocol stack. First, I learned from the macro perspective, and then I will take a closer look, for example, if we want to create a project related to anti-loss, we can refer to the proximity program. Why do we refer to it? Let's first look at their services.

PC software Nordic Toolbox

Hardware: ak ii, program: ble_app_proximity

1, TX Power Service-transmit Power Service

This service can adjust the transmit power of Bluetooth, thus affecting the direct detection and communication distance between devices and mobile phone Bluetooth.

2, Immediate Alert Service-instant alarm Service

This service can trigger the alarm service by pressing the key, set the alarm level in the key processing program, and send it to the mobile APP through Bluetooth. The APP performs different actions based on the alarm level, in the ble_app_proximity program, press the button to control the phone's ring and stop the ring.

3. Link Loss Service-connection Loss Service

When the connection is lost (it may be that the battery has no power or it is too far away from the APP), the connection will be lost, and the loss will be sent to the mobile phone APP in the form of a notification, and the mobile phone will respond to the event. Ble_app_proximity is displayed as a notification in the program.

4. Battery Service-Battery Service

Sample the battery voltage through AD and send it to the mobile APP

5. Immediate Alert Service client-locator role of the Find Me profile locator Service

The service can be found on the mobile APP. After a Bluetooth connection is established, the Find Me button is valid in the APP of the mobile phone. Press Find Me. The ak ii of the hardware development board will be on. At this time, the Find Me button is changed to the Silent Me button, then press the Silent Me button, and the corresponding light will go off. Compared with the Immediate Alert Service described in 2, it is an inverse search method.

This program has a great reference value and has time to study the program. Chaoyang, Beijing





Related Article

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.