BLE fota Lamp Demo
Dependencies: mbed-rtos mbed mbed_fota_fan_control
Fork of mbed_fota_fan_control by
Diff: dialog_fota/app_task.h
- Revision:
- 13:e714e2971c49
- Parent:
- 12:e3d3676753cc
--- a/dialog_fota/app_task.h Wed Sep 02 07:44:29 2015 +0000 +++ b/dialog_fota/app_task.h Tue Oct 13 06:35:19 2015 +0000 @@ -132,6 +132,42 @@ BleMsgHandler* BMH); /** **************************************************************************************** + * @brief Handles the LAMP_CONTROL_CREATE_DB_CFM message. + * + * @param[in] msgid Id of the message received. + * @param[in] param Pointer to the parameters of the message. + * @param[in] dest_id ID of the receiving task instance (TASK_GAP). + * @param[in] src_id ID of the sending task instance. + * @param[in] BMH Ble Message Handler class reference. + * + * @return If the message was consumed or not. + **************************************************************************************** + */ +void lamp_control_create_db_cfm_handler(unsigned short msgid, + struct lamp_control_create_db_cfm *param, + unsigned short dest_id, + unsigned short src_id, + BleMsgHandler* BMH); +/** + **************************************************************************************** + * @brief Handles the LAMP_CONTROL_COMMAND_IND message. + * + * @param[in] msgid Id of the message received. + * @param[in] param Pointer to the parameters of the message. + * @param[in] dest_id ID of the receiving task instance (TASK_GAP). + * @param[in] src_id ID of the sending task instance. + * @param[in] BMH Ble Message Handler class reference. + * + * @return If the message was consumed or not. + **************************************************************************************** + */ +void lamp_control_command_ind_handler(unsigned short msgid, + struct lamp_control_command_ind *param, + unsigned short dest_id, + unsigned short src_id, + BleMsgHandler* BMH); +/** + **************************************************************************************** * @brief Handles ready indication from the GAP. * * @param[in] msgid Id of the message received.