aboutsummaryrefslogtreecommitdiff
path: root/src/dfu/dfu_application.h
blob: af50dda266e2568c058999ed8f2d356f9234ad4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/**
*********************************************************************************************************
*               Copyright(c) 2015, Realtek Semiconductor Corporation. All rights reserved.
*********************************************************************************************************
* @file      simple_ble_peripheral_application.h
* @brief     simple_ble_peripheral_application
* @details   simple_ble_peripheral_application
* @author    jane
* @date      2015-12-22
* @version   v0.1
* *********************************************************************************************************
*/

#ifndef _PERIPHERAL_APPLICATION__
#define _PERIPHERAL_APPLICATION__

#ifdef __cplusplus
extern "C" {
#endif
#include "app_msg.h"
//#include <gap_le.h>
#include "profile_server.h"

void  dfu_handle_io_msg(T_IO_MSG io_driver_msg_recv);
T_APP_RESULT dfu_profile_callback(T_SERVER_ID service_id, void *p_data);
T_APP_RESULT dfu_gap_callback(uint8_t cb_type, void *p_cb_data);

#ifdef __cplusplus
}
#endif

#endif