summaryrefslogtreecommitdiffstats
path: root/stack/goep/goep_trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'stack/goep/goep_trace.c')
-rw-r--r--stack/goep/goep_trace.c35
1 files changed, 35 insertions, 0 deletions
diff --git a/stack/goep/goep_trace.c b/stack/goep/goep_trace.c
new file mode 100644
index 0000000..137f2cd
--- /dev/null
+++ b/stack/goep/goep_trace.c
@@ -0,0 +1,35 @@
+/******************************************************************************
+**
+** Name: goep_trace.c
+**
+** Description: This file contains the debug display prototypes
+**
+** Copyright (c) 2000-2004, WIDCOMM Inc., All Rights Reserved.
+** WIDCOMM Bluetooth Core. Proprietary and confidential.
+**
+******************************************************************************/
+#include "bt_target.h"
+
+#if (defined(GOEP_INCLUDED) && GOEP_INCLUDED == TRUE)
+
+#include "goep_int.h"
+
+#if (defined (BT_USE_TRACES) && BT_USE_TRACES == TRUE)
+
+
+char *GOEP_ErrorName (tGOEP_ERRORS error)
+{
+ switch (error)
+ {
+ case GOEP_SUCCESS: return "GOEP_SUCCESS (0x00)";
+ case GOEP_ERROR: return "GOEP_ERROR (0x01)";
+ case GOEP_RESOURCES: return "GOEP_RESOURCES (0x02)";
+ case GOEP_INVALID_PARAM: return "GOEP_INVALID_PARAM (0x03)";
+ default: return "UNKNOWN GOEP ERROR";
+ }
+}
+
+/* end if BT_TRACE_VERBOSE */
+#endif
+
+#endif /* GOEP_INCLUDED */