From c304a4c96393b0eeb652df6604771ea7fe4c1de0 Mon Sep 17 00:00:00 2001 From: Marcin Kraglak Date: Mon, 4 Nov 2013 09:06:48 +0100 Subject: [PATCH] android: Add stub of get_remote_services command --- android/adapter.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/android/adapter.c b/android/adapter.c index 6f2a06104..af62b11b2 100644 --- a/android/adapter.c +++ b/android/adapter.c @@ -1459,6 +1459,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) { @@ -1563,6 +1568,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; -- 2.47.3