Fan Control Demo

Dependencies:   mbed-rtos mbed

Fork of mbed_fota by KIM HyoengJun

Revision:
12:e3d3676753cc
Parent:
9:fcf91f563147
diff -r 1ed93accb3fb -r e3d3676753cc dialog_fota/app_task.h
--- a/dialog_fota/app_task.h	Mon Aug 24 03:24:19 2015 +0000
+++ b/dialog_fota/app_task.h	Wed Sep 02 07:44:29 2015 +0000
@@ -96,6 +96,42 @@
                                   BleMsgHandler* BMH); 
 /**
  ****************************************************************************************
+ * @brief Handles the FAN_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 fan_control_create_db_cfm_handler(unsigned short msgid,
+                                  struct fan_control_create_db_cfm *param,
+                                  unsigned short dest_id,
+                                  unsigned short src_id,
+                                  BleMsgHandler* BMH);
+/**
+ ****************************************************************************************
+ * @brief Handles the FAN_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 fan_control_command_ind_handler(unsigned short msgid,
+                                  struct fan_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.