Porting flight mode logic to HAL
[platform/core/connectivity/bluetooth-frwk.git] / bt-oal / include / oal-manager.h
index 427fdc1..387a0cb 100755 (executable)
@@ -248,3 +248,35 @@ void server_event_catch_register(oal_event_callback dbg_cb);
 }
 #endif /* __cplusplus */
 #endif /*_OAL_HARDWARE_H_*/
+
+/**
+ * @brief calls function to set the is_activating variable in HAL to true
+ *
+ * @remarks It is required to let adapter switched on event propagate upwards
+ *
+ * @details EVENT: N/A
+ *
+ * @return sucess if variable set in HAL
+ * @retval BT_STATUS_SUCCESS
+ *
+ * @pre N/A
+ *
+ * @see  N/A
+*/
+int oal_set_adapter_request_state(int enable);
+
+/*
+* @brief calls function to set the is_activating variable in HAL to true
+ *
+ * @remarks It is required to let le adapter switched on event propagate upwards
+ *
+ * @details EVENT: N/A
+ *
+ * @return sucess if variable set in HAL
+ * @retval BT_STATUS_SUCCESS
+ *
+ * @pre N/A
+ *
+ * @see  N/A
+*/
+int oal_set_le_request_state(int enable);