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 KIM HyoengJun

Embed: (wiki syntax)

« Back to documentation index

app_task.h File Reference

app_task.h File Reference

Header file for application handlers for ble events and responses. More...

Go to the source code of this file.

Functions

int gapm_adv_report_ind_handler (unsigned short msgid, struct gapm_adv_report_ind *param, unsigned short dest_id, unsigned short src_id)
 Handles GAPM_ADV_REPORT_IND event.
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)
 Handles the DISS_CREATE_DB_CFM message.
int fota_server_create_db_cfm_handler (unsigned short msgid, struct fota_server_create_db_cfm *param, unsigned short dest_id, unsigned short src_id, BleMsgHandler *BMH)
 Handles the FOTA_SERVER_CREATE_DB_CFM message.
void fota_server_data_flash_ind_handler (unsigned short msgid, struct fota_server_data_flash_ind *param, unsigned short dest_id, unsigned short src_id, BleMsgHandler *BMH)
 Handles Firmware Data Copy event.
int gapm_device_ready_ind_handler (unsigned short msgid, struct gap_ready_evt *param, unsigned short dest_id, unsigned short src_id, BleMsgHandler *BMH)
 Handles ready indication from the GAP.
int gapm_reset_completion_handler (unsigned short msgid, struct gapm_cmp_evt *param, unsigned short dest_id, unsigned short src_id, BleMsgHandler *BMH)
 Handle reset GAP request completion event.
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)
 Handles GAPM_CMP_EVT event for GAPM_SET_DEV_CONFIG_CMD.
int gapc_connection_req_ind_handler (uint16_t msgid, struct gapc_connection_req_ind *param, uint16_t dest_id, uint16_t src_id, BleMsgHandler *BMH)
 Handles Connection request indication event.
int gapc_disconnect_ind_handler (uint16_t msgid, struct gapc_disconnect_ind *param, uint16_t dest_id, uint16_t src_id, BleMsgHandler *BMH)
 Handles Discconnection indication event.

Detailed Description

Header file for application handlers for ble events and responses.

Copyright 2015 SEVENCORE Co., Ltd.

Author:
HyeongJun Kim
Version:
1.0.0
Date:
2015-08-20

Definition in file app_task.h.