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.cpp File Reference

app.cpp File Reference

Application entry point Copyright 2015 SEVENCORE Co., Ltd. More...

Go to the source code of this file.

Functions

void app_rst_gap (BleMsgHandler *BMH)
 Send Reset request to GAPM task.
void app_diss_db_create (BleMsgHandler *BMH)
 Send enable request to DISS profile task.
void app_fota_server_db_create (BleMsgHandler *BMH)
 Send enable request to FOTA profile task.
void app_adv_start (BleMsgHandler *BMH)
 Send Start Advertising command to GAPM task.
void app_set_mode (BleMsgHandler *BMH)
 Set Bondabe mode.
void app_dis_enable (ble_dev *device, BleMsgHandler *BMH)
 Send enable request to DISS profile task.
void app_fota_server_enable (ble_dev *device, BleMsgHandler *BMH)
 Send enable request to FOTA profile task.
void app_connect_confirm (uint8_t auth, ble_dev *device, BleMsgHandler *BMH)
 Send connection confirmation.
void app_send_disconnect (uint16_t dst, uint16_t conhdl, uint8_t reason, BleMsgHandler *BMH)
 Send the GAPC_DISCONNECT_IND message to a task.

Detailed Description

Application entry point Copyright 2015 SEVENCORE Co., Ltd.

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

Definition in file app.cpp.