projects
/
platform
/
core
/
connectivity
/
bluetooth-frwk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de5cd27
)
CAPI/Socket: Implement function bt_socket_send_data()
13/22713/1
author
Wu Jiangbo
<jiangbox.wu@intel.com>
Tue, 10 Jun 2014 05:07:34 +0000
(13:07 +0800)
committer
Wu Jiangbo
<jiangbox.wu@intel.com>
Tue, 10 Jun 2014 11:35:02 +0000
(19:35 +0800)
Change-Id: I05bb84b7a7c6c64e71c5141231006a59c5e675cb
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
capi/bluetooth.c
patch
|
blob
|
history
diff --git
a/capi/bluetooth.c
b/capi/bluetooth.c
index
c5bc434
..
70c56dd
100644
(file)
--- a/
capi/bluetooth.c
+++ b/
capi/bluetooth.c
@@
-4143,6
+4143,11
@@
int bt_socket_reject(int socket_fd)
return BT_SUCCESS;
}
+int bt_socket_send_data(int socket_fd, const char *data, int length)
+{
+ return bt_spp_send_data(socket_fd, data, length);
+}
+
int bt_socket_set_connection_state_changed_cb(
bt_socket_connection_state_changed_cb callback,
void *user_data)