BLE fota Lamp Demo

Dependencies:   mbed-rtos mbed mbed_fota_fan_control

Fork of mbed_fota_fan_control by KIM HyoengJun

Committer:
dudnwjs
Date:
Wed Jun 24 08:50:07 2015 +0000
Revision:
4:60be78a172c2
Child:
5:e11b23f9aacc
Add advertising feature;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dudnwjs 4:60be78a172c2 1 #ifndef APP_TASK_H
dudnwjs 4:60be78a172c2 2 #define APP_TASK_H
dudnwjs 4:60be78a172c2 3 #include "gapm_task.h"
dudnwjs 4:60be78a172c2 4 #include "BleMsgHandler.h"
dudnwjs 4:60be78a172c2 5
dudnwjs 4:60be78a172c2 6 namespace sevencore_fota{
dudnwjs 4:60be78a172c2 7
dudnwjs 4:60be78a172c2 8 int gapm_adv_report_ind_handler(unsigned short msgid,
dudnwjs 4:60be78a172c2 9 struct gapm_adv_report_ind *param,
dudnwjs 4:60be78a172c2 10 unsigned short dest_id,
dudnwjs 4:60be78a172c2 11 unsigned short src_id);
dudnwjs 4:60be78a172c2 12
dudnwjs 4:60be78a172c2 13 int diss_create_db_cfm_handler(unsigned short msgid,
dudnwjs 4:60be78a172c2 14 struct diss_create_db_cfm *param,
dudnwjs 4:60be78a172c2 15 unsigned short dest_id,
dudnwjs 4:60be78a172c2 16 unsigned short src_id,
dudnwjs 4:60be78a172c2 17 BleMsgHandler* BMH);
dudnwjs 4:60be78a172c2 18
dudnwjs 4:60be78a172c2 19 int gapm_device_ready_ind_handler(unsigned short msgid,
dudnwjs 4:60be78a172c2 20 void *param,
dudnwjs 4:60be78a172c2 21 unsigned short dest_id,
dudnwjs 4:60be78a172c2 22 unsigned short src_id,
dudnwjs 4:60be78a172c2 23 BleMsgHandler* BMH );
dudnwjs 4:60be78a172c2 24
dudnwjs 4:60be78a172c2 25 int gapm_reset_completion_handler(unsigned short msgid,
dudnwjs 4:60be78a172c2 26 struct gapm_cmp_evt *param,
dudnwjs 4:60be78a172c2 27 unsigned short dest_id,
dudnwjs 4:60be78a172c2 28 unsigned short src_id,
dudnwjs 4:60be78a172c2 29 BleMsgHandler* BMH);
dudnwjs 4:60be78a172c2 30
dudnwjs 4:60be78a172c2 31 int gapm_set_dev_config_completion_handler(unsigned short msgid,
dudnwjs 4:60be78a172c2 32 struct gapm_cmp_evt *param,
dudnwjs 4:60be78a172c2 33 unsigned short dest_id,
dudnwjs 4:60be78a172c2 34 unsigned short src_id,
dudnwjs 4:60be78a172c2 35 BleMsgHandler* BMH);
dudnwjs 4:60be78a172c2 36
dudnwjs 4:60be78a172c2 37 }//namespace
dudnwjs 4:60be78a172c2 38 #endif//APP_TASK_H