nRF51 SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
BLE S110

Example applications implementing BLE profiles and demonstrating the use of BLE services. More...

Modules

 'Sequence Diagrams'
 
 Alert Notification Application
 
 Blood Glucose Application
 
 Blood Pressure Application
 
 Cycling Speed and Cadence Application
 
 DTM
 
 HID Keyboard Application
 
 HID Mouse Application
 
 Health Thermometer Application
 
 Heart Rate Application
 
 Multiprotocol Application
 
 Power Profiling Application
 
 Proximity Application
 
 Running Speed and Cadence Application
 
 Template Application
 

Detailed Description

We have two types of example application designs:

In both designs, the example applications have many similarities:

Note
For more information of low power modes used in the example applications, see Power Management section in the documentation of Power profiling example.

In an application using the Scheduler, instead of calling service/application event handlers directly from the BLE Stack Event Handler callback function, the callback function passes "wrapper" events to the Scheduler, and the "wrapper" event handler will call the service/application event handlers, thus making all service/application event handlers execute in thread mode.

When initializing the Application Timer module, applications using the Scheduler must supply a pointer to the app_sched_timer_event_schedule() function to app_timer_init(). This function will transfer execution of timer timeout handlers to the main loop by using the Scheduler.

See 'Sequence Diagrams' for illustrations showing the flow of events for various application scenarios, both with and without the Scheduler.