OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5658fad
)
android: Add stub of get_remote_services command
author
Marcin Kraglak
<marcin.kraglak@tieto.com>
Mon, 4 Nov 2013 08:06:48 +0000
(09:06 +0100)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Mon, 4 Nov 2013 08:20:28 +0000
(10:20 +0200)
android/adapter.c
patch
|
blob
|
history
diff --git
a/android/adapter.c
b/android/adapter.c
index
6f2a061
..
af62b11
100644
(file)
--- 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;