diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-09-11 11:02:04 -0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-09-11 11:18:20 -0300 |
commit | 78eadf19bbee1f52b738d39133296186b3e944fe (patch) | |
tree | 10664d6b084c94742f2e3899035c7972d83aaf11 /src/device.c | |
parent | 58d8ea3c3a8ea69e652d8a39649a19426f31933b (diff) |
Search for l2cap uuid if no record is found.
Diffstat (limited to 'src/device.c')
-rw-r--r-- | src/device.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/device.c b/src/device.c index 9acbe334..52fae4ed 100644 --- a/src/device.c +++ b/src/device.c @@ -992,6 +992,13 @@ static void browse_cb(sdp_list_t *recs, int err, gpointer user_data) return; } + /* Search for l2cap uuid */ + if (!req->records) { + sdp_uuid16_create(&uuid, L2CAP_UUID); + bt_search_service(&src, &dst, &uuid, search_cb, user_data, NULL); + return; + } + done: search_cb(recs, err, user_data); } |