summaryrefslogtreecommitdiffstats
path: root/btif/include/btif_sm.h
diff options
context:
space:
mode:
Diffstat (limited to 'btif/include/btif_sm.h')
-rw-r--r--btif/include/btif_sm.h27
1 files changed, 8 insertions, 19 deletions
diff --git a/btif/include/btif_sm.h b/btif/include/btif_sm.h
index fb8ddc7..c66987f 100644
--- a/btif/include/btif_sm.h
+++ b/btif/include/btif_sm.h
@@ -60,6 +60,11 @@
** Constants & Macros
******************************************************************************/
+/* Generic Enter/Exit state machine events */
+#define BTIF_SM_ENTER_EVT 0xFFFF
+#define BTIF_SM_EXIT_EVT 0xFFFE
+
+
/*****************************************************************************
** Type definitions and return values
******************************************************************************/
@@ -68,28 +73,14 @@ typedef UINT32 btif_sm_event_t;
typedef void* btif_sm_handle_t;
typedef BOOLEAN(*btif_sm_handler_t)(btif_sm_event_t event, void *data);
-/* Generic Enter/Exit state machine events */
-#define BTIF_SM_ENTER_EVT 0xFFFF
-#define BTIF_SM_EXIT_EVT 0xFFFE
-
-/*****************************************************************************
-** Extern variables and functions
-******************************************************************************/
/*****************************************************************************
** Functions
+**
+** NOTE: THESE APIs SHOULD BE INVOKED ONLY IN THE BTIF CONTEXT
+**
******************************************************************************/
-/*
- *
- * ########################################################################
- *
- * NOTE: THESE APIs SHOULD BE INVOKED ONLY IN THE BTIF CONTEXT
- *
- * #######################################################################
- *
- */
-
/*****************************************************************************
**
** Function btif_sm_init
@@ -154,5 +145,3 @@ bt_status_t btif_sm_dispatch(btif_sm_handle_t handle, btif_sm_event_t event,
bt_status_t btif_sm_change_state(btif_sm_handle_t handle, btif_sm_state_t state);
#endif /* BTIF_SM_H */
-
-