BLE fota Lamp Demo
Dependencies: mbed-rtos mbed mbed_fota_fan_control
Fork of mbed_fota_fan_control by
dialog_fota/app_task.h@6:8dd20294b2aa, 2015-07-17 (annotated)
- Committer:
- dudnwjs
- Date:
- Fri Jul 17 14:04:12 2015 +0000
- Revision:
- 6:8dd20294b2aa
- Parent:
- 5:e11b23f9aacc
- Child:
- 9:fcf91f563147
EXT DEMO FILE OPEN COMPLETE
Who changed what in which revision?
User | Revision | Line number | New 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 | 5:e11b23f9aacc | 4 | #include "gapc_task.h" |
dudnwjs | 4:60be78a172c2 | 5 | #include "BleMsgHandler.h" |
dudnwjs | 4:60be78a172c2 | 6 | |
dudnwjs | 4:60be78a172c2 | 7 | namespace sevencore_fota{ |
dudnwjs | 4:60be78a172c2 | 8 | |
dudnwjs | 4:60be78a172c2 | 9 | int gapm_adv_report_ind_handler(unsigned short msgid, |
dudnwjs | 4:60be78a172c2 | 10 | struct gapm_adv_report_ind *param, |
dudnwjs | 4:60be78a172c2 | 11 | unsigned short dest_id, |
dudnwjs | 4:60be78a172c2 | 12 | unsigned short src_id); |
dudnwjs | 4:60be78a172c2 | 13 | |
dudnwjs | 4:60be78a172c2 | 14 | int diss_create_db_cfm_handler(unsigned short msgid, |
dudnwjs | 4:60be78a172c2 | 15 | struct diss_create_db_cfm *param, |
dudnwjs | 4:60be78a172c2 | 16 | unsigned short dest_id, |
dudnwjs | 4:60be78a172c2 | 17 | unsigned short src_id, |
dudnwjs | 5:e11b23f9aacc | 18 | BleMsgHandler* BMH); |
dudnwjs | 5:e11b23f9aacc | 19 | |
dudnwjs | 5:e11b23f9aacc | 20 | int fota_server_create_db_cfm_handler(unsigned short msgid, |
dudnwjs | 5:e11b23f9aacc | 21 | struct fota_server_create_db_cfm *param, |
dudnwjs | 5:e11b23f9aacc | 22 | unsigned short dest_id, |
dudnwjs | 5:e11b23f9aacc | 23 | unsigned short src_id, |
dudnwjs | 5:e11b23f9aacc | 24 | BleMsgHandler* BMH); |
dudnwjs | 4:60be78a172c2 | 25 | |
dudnwjs | 4:60be78a172c2 | 26 | int gapm_device_ready_ind_handler(unsigned short msgid, |
dudnwjs | 5:e11b23f9aacc | 27 | struct gap_ready_evt *param, |
dudnwjs | 4:60be78a172c2 | 28 | unsigned short dest_id, |
dudnwjs | 4:60be78a172c2 | 29 | unsigned short src_id, |
dudnwjs | 4:60be78a172c2 | 30 | BleMsgHandler* BMH ); |
dudnwjs | 4:60be78a172c2 | 31 | |
dudnwjs | 4:60be78a172c2 | 32 | int gapm_reset_completion_handler(unsigned short msgid, |
dudnwjs | 4:60be78a172c2 | 33 | struct gapm_cmp_evt *param, |
dudnwjs | 4:60be78a172c2 | 34 | unsigned short dest_id, |
dudnwjs | 4:60be78a172c2 | 35 | unsigned short src_id, |
dudnwjs | 4:60be78a172c2 | 36 | BleMsgHandler* BMH); |
dudnwjs | 4:60be78a172c2 | 37 | |
dudnwjs | 4:60be78a172c2 | 38 | int gapm_set_dev_config_completion_handler(unsigned short msgid, |
dudnwjs | 4:60be78a172c2 | 39 | struct gapm_cmp_evt *param, |
dudnwjs | 4:60be78a172c2 | 40 | unsigned short dest_id, |
dudnwjs | 4:60be78a172c2 | 41 | unsigned short src_id, |
dudnwjs | 4:60be78a172c2 | 42 | BleMsgHandler* BMH); |
dudnwjs | 5:e11b23f9aacc | 43 | |
dudnwjs | 5:e11b23f9aacc | 44 | int gapc_connection_req_ind_handler(uint16_t msgid, |
dudnwjs | 5:e11b23f9aacc | 45 | struct gapc_connection_req_ind *param, |
dudnwjs | 5:e11b23f9aacc | 46 | uint16_t dest_id, |
dudnwjs | 5:e11b23f9aacc | 47 | uint16_t src_id, |
dudnwjs | 5:e11b23f9aacc | 48 | BleMsgHandler* BMH); |
dudnwjs | 5:e11b23f9aacc | 49 | |
dudnwjs | 5:e11b23f9aacc | 50 | int gapc_disconnect_ind_handler(uint16_t msgid, |
dudnwjs | 5:e11b23f9aacc | 51 | struct gapc_disconnect_ind *param, |
dudnwjs | 5:e11b23f9aacc | 52 | uint16_t dest_id, |
dudnwjs | 5:e11b23f9aacc | 53 | uint16_t src_id, |
dudnwjs | 5:e11b23f9aacc | 54 | BleMsgHandler* BMH); |
dudnwjs | 5:e11b23f9aacc | 55 | |
dudnwjs | 6:8dd20294b2aa | 56 | void fota_server_data_flash_ind_handler(unsigned short msgid, |
dudnwjs | 6:8dd20294b2aa | 57 | struct fota_server_data_flash_ind *param, |
dudnwjs | 6:8dd20294b2aa | 58 | unsigned short dest_id, |
dudnwjs | 6:8dd20294b2aa | 59 | unsigned short src_id, |
dudnwjs | 6:8dd20294b2aa | 60 | BleMsgHandler* BMH); |
dudnwjs | 5:e11b23f9aacc | 61 | |
dudnwjs | 4:60be78a172c2 | 62 | |
dudnwjs | 4:60be78a172c2 | 63 | }//namespace |
dudnwjs | 4:60be78a172c2 | 64 | #endif//APP_TASK_H |