service: Implement IBluetooth IsEnabled, Enable, and Disable
Implemented the IsEnabled, Enable, and Disable methods of the IBluetooth
interface. Added a simple REPL logic to client/main.cpp so that these commands
can be tested real-time via command-line.
Bug: 23169366
Change-Id: Id27a82e5cdadc5ea0b6f88d3ab3a6b7882f6212a
diff --git a/service/logging_helpers.cpp b/service/logging_helpers.cpp
index 59cde12..4c00596 100644
--- a/service/logging_helpers.cpp
+++ b/service/logging_helpers.cpp
@@ -82,6 +82,11 @@
CASE_RETURN_TEXT(BT_STATUS_DONE);
CASE_RETURN_TEXT(BT_STATUS_BUSY);
CASE_RETURN_TEXT(BT_STATUS_UNSUPPORTED);
+ CASE_RETURN_TEXT(BT_STATUS_PARM_INVALID);
+ CASE_RETURN_TEXT(BT_STATUS_UNHANDLED);
+ CASE_RETURN_TEXT(BT_STATUS_AUTH_FAILURE);
+ CASE_RETURN_TEXT(BT_STATUS_RMT_DEV_DOWN);
+ CASE_RETURN_TEXT(BT_STATUS_AUTH_REJECTED);
default:
return "unknown status code";
}