Bluetooth Low Energy based Firmware Over The Air with Mbed. Mbed part is a external processor of the IoT devices and communicate with a Bluetooth module. The Bluetooth module have to support BLE and implement BLE FOTA profile designed by ours. BLE FOTA profile specification is available from our GIT hub wiki(https://github.com/sevencore/BLEFOTA).
Dependencies: mbed
Fork of mbed_fota by
Bluetooth Low Energy based Firmware Over The Air with Mbed. Mbed part is a external processor of the IoT devices and communicate with a Bluetooth module. The Bluetooth module have to support BLE and implement BLE FOTA profile designed by ours. BLE FOTA profile specification is available from our GIT hub wiki.
Diff: dialog_fota/app_task.h
- Revision:
- 4:60be78a172c2
- Child:
- 5:e11b23f9aacc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dialog_fota/app_task.h Wed Jun 24 08:50:07 2015 +0000 @@ -0,0 +1,38 @@ +#ifndef APP_TASK_H +#define APP_TASK_H +#include "gapm_task.h" +#include "BleMsgHandler.h" + +namespace sevencore_fota{ + +int gapm_adv_report_ind_handler(unsigned short msgid, + struct gapm_adv_report_ind *param, + unsigned short dest_id, + unsigned short src_id); + + int diss_create_db_cfm_handler(unsigned short msgid, + struct diss_create_db_cfm *param, + unsigned short dest_id, + unsigned short src_id, + BleMsgHandler* BMH); + +int gapm_device_ready_ind_handler(unsigned short msgid, + void *param, + unsigned short dest_id, + unsigned short src_id, + BleMsgHandler* BMH ); + +int gapm_reset_completion_handler(unsigned short msgid, + struct gapm_cmp_evt *param, + unsigned short dest_id, + unsigned short src_id, + BleMsgHandler* BMH); + +int gapm_set_dev_config_completion_handler(unsigned short msgid, + struct gapm_cmp_evt *param, + unsigned short dest_id, + unsigned short src_id, + BleMsgHandler* BMH); + +}//namespace +#endif//APP_TASK_H