Nordic Semiconductor nRF5 AirFuel SDK  version 2.2.0
app_profile.h
Go to the documentation of this file.
1 /* Copyright (c) Nordic Semiconductor. All Rights Reserved.
2  *
3  * The information contained herein is property of Nordic Semiconductor ASA.
4  * Terms and conditions of usage are described in detail in NORDIC
5  * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
6  *
7  * Licensees are granted free, non-transferable use of the information. NO
8  * WARRANTY of ANY KIND is provided. This heading must NOT be removed from
9  * the file.
10  *
11  */
12 
15 #ifndef APP_PROFILE_H__
16 #define APP_PROFILE_H__
17 
18 #include <stdint.h>
19 #include "ble.h"
20 
23 void app_profile_init(void);
24 
28 void app_profile_on_ble_evt(ble_evt_t * p_ble_evt);
29 
33 void app_profile_on_sys_evt(uint32_t sys_evt);
34 
37 void app_profile_start(void);
38 
42 void app_profile_stop(void);
43 
44 #endif // APP_PROFILE_H__
void app_profile_start(void)
Start profile. Is called every time profile is activated.
Definition: ble_app_hrs.c:736
void app_profile_on_ble_evt(ble_evt_t *p_ble_evt)
Handle BLE event.
Definition: ble_app_hrs.c:726
void app_profile_stop(void)
Stop profile. Note: Needs to set the softdevice in a state where it is ok to initialize PRU profile...
Definition: ble_app_hrs.c:752
void app_profile_on_sys_evt(uint32_t sys_evt)
Handle system event.
Definition: ble_app_hrs.c:731
void app_profile_init(void)
Initialize profile. Is only called once.
Definition: ble_app_hrs.c:716