Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed-rtos mbed mbed_fota_fan_control
Fork of mbed_fota_lamp_control 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_fan_control_db_create (BleMsgHandler *BMH) |
Send enable request to Fan Control profile task. | |
void | app_lamp_control_db_create (BleMsgHandler *BMH) |
Send enable request to Lamp Control 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_fan_control_enable (ble_dev *device, BleMsgHandler *BMH) |
Send enable request to fan_control profile task. | |
void | app_lamp_control_enable (ble_dev *device, BleMsgHandler *BMH) |
Send enable request to lamp_control 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 21:25:06 by
