aboutsummaryrefslogtreecommitdiffstats
path: root/attrib/client.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2010-07-22 19:04:40 -0300
committerJohan Hedberg <johan.hedberg@nokia.com>2010-08-09 18:06:45 -0400
commit2448a8ba038009ab5a89d6e141ee4e1b0c71aa53 (patch)
treea643bfbb4eb7288c811c37f6c78d4075bc0639ac /attrib/client.c
parentd2657982a8a7f4caace5b6bd8d701c5c8f8ba644 (diff)
downloadbluez-2448a8ba038009ab5a89d6e141ee4e1b0c71aa53.tar.gz
bluez-2448a8ba038009ab5a89d6e141ee4e1b0c71aa53.tar.xz
bluez-2448a8ba038009ab5a89d6e141ee4e1b0c71aa53.zip
Move gatt_discover_char to gatt.c
Diffstat (limited to 'attrib/client.c')
-rw-r--r--attrib/client.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/attrib/client.c b/attrib/client.c
index 23c80393..605b7560 100644
--- a/attrib/client.c
+++ b/attrib/client.c
@@ -138,23 +138,6 @@ static GDBusMethodTable char_methods[] = {
{ }
};
-static guint gatt_discover_char(GAttrib *attrib, uint16_t start, uint16_t end,
- GAttribResultFunc func, gpointer user_data)
-{
- uint8_t pdu[ATT_MTU];
- uuid_t uuid;
- guint16 plen;
-
- sdp_uuid16_create(&uuid, GATT_CHARAC_UUID);
-
- plen = enc_read_by_type_req(start, end, &uuid, pdu, sizeof(pdu));
- if (plen == 0)
- return 0;
-
- return g_attrib_send(attrib, ATT_OP_READ_BY_TYPE_REQ,
- pdu, plen, func, user_data, NULL);
-}
-
static void char_discovered_cb(guint8 status, const guint8 *pdu, guint16 plen,
gpointer user_data)
{