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.
dialog_fota/app_task.h@5:e11b23f9aacc, 2015-07-13 (annotated)
- Committer:
- dudnwjs
- Date:
- Mon Jul 13 06:32:05 2015 +0000
- Revision:
- 5:e11b23f9aacc
- Parent:
- 4:60be78a172c2
- Child:
- 6:8dd20294b2aa
Fota Service Add 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 | 5:e11b23f9aacc | 56 | void fota_server_data_flash_ind_handler(BleMsgHandler* BMH); |
dudnwjs | 5:e11b23f9aacc | 57 | |
dudnwjs | 4:60be78a172c2 | 58 | |
dudnwjs | 4:60be78a172c2 | 59 | }//namespace |
dudnwjs | 4:60be78a172c2 | 60 | #endif//APP_TASK_H |