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
app.h File Reference
Application entry point Copyright 2015 SEVENCORE Co., Ltd. More...
Go to the source code of this file.
Enumerations | |
enum | { APP_IDLE, APP_CONNECTABLE, APP_CONNECTED, APP_STATE_MAX, APP_SCAN } |
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.
- Version:
- 1.0.0
- Date:
- 2015-08-17
Definition in file app.h.
Generated on Tue Jul 12 2022 16:20:47 by 1.7.2