summaryrefslogtreecommitdiff
path: root/src/device.h
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@codecoup.pl>2017-11-08 20:38:27 +0100
committerSzymon Janc <szymon.janc@codecoup.pl>2017-11-09 09:29:23 +0100
commit6da6a8360bd00e09a0bf098d970fe472e6e1d39f (patch)
tree0762954795e6e046f1d627adf3e228cc3ad64b17 /src/device.h
parentf986462d20331de558ce8d49e341a10318200434 (diff)
downloadbluez-6da6a8360bd00e09a0bf098d970fe472e6e1d39f.tar.gz
core/device: Add support for setting SDP record
This allows to set SDP record for device without resolving services over SDP. After SDP is provided profiles are probed.
Diffstat (limited to 'src/device.h')
-rw-r--r--src/device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/device.h b/src/device.h
index 850561729..32f8edce5 100644
--- a/src/device.h
+++ b/src/device.h
@@ -62,6 +62,9 @@ struct device_addr_type {
int device_addr_type_cmp(gconstpointer a, gconstpointer b);
GSList *btd_device_get_uuids(struct btd_device *device);
void device_probe_profiles(struct btd_device *device, GSList *profiles);
+
+void btd_device_set_record(struct btd_device *device, const char *uuid,
+ const char *record);
const sdp_record_t *btd_device_get_record(struct btd_device *device,
const char *uuid);
struct gatt_primary *btd_device_get_primary(struct btd_device *device,