[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-bluetooth
Subject:    [PATCH 3/5] android: Add stub for handling get_remote_services command
From:       Szymon Janc <szymon.janc () tieto ! com>
Date:       2013-10-31 15:25:50
Message-ID: 1383233152-15040-3-git-send-email-szymon.janc () tieto ! com
[Download RAW message or body]

From: Marcin Kraglak <marcin.kraglak@tieto.com>

Change-Id: I3a88c104a496fa3c3391b11dc85b6607861158f3
---
 android/adapter.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/android/adapter.c b/android/adapter.c
index 10d4a8e..6ee4a21 100644
--- a/android/adapter.c
+++ b/android/adapter.c
@@ -1215,6 +1215,11 @@ static uint8_t ssp_reply(void *buf, uint16_t len)
 	return status;
 }
 
+static uint8_t get_remote_services(void *buf, uint16_t len)
+{
+	return HAL_STATUS_UNSUPPORTED;
+}
+
 void bt_adapter_handle_cmd(GIOChannel *io, uint8_t opcode, void *buf,
 								uint16_t len)
 {
@@ -1308,6 +1313,11 @@ void bt_adapter_handle_cmd(GIOChannel *io, uint8_t opcode, void *buf,
 			goto error;
 
 		break;
+	case HAL_OP_GET_REMOTE_SERVICES:
+		status = get_remote_services(buf, len);
+		if (status != HAL_STATUS_SUCCESS)
+			goto error;
+		break;
 	default:
 		DBG("Unhandled command, opcode 0x%x", opcode);
 		goto error;
-- 
1.8.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic