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