@@ -5,7 +5,7 @@
*
* Copyright (C) 2006-2010 Nokia Corporation
* Copyright (C) 2004-2010 Marcel Holtmann <marcel@holtmann.org>
- *
+ * Copyright 2024 NXP
*
*/
@@ -7374,3 +7374,9 @@ void btd_device_set_conn_param(struct btd_device *device, uint16_t min_interval,
max_interval, latency,
timeout);
}
+
+void btd_device_foreach_service_data(struct btd_device *dev, bt_ad_func_t func,
+ void *data)
+{
+ bt_ad_foreach_service_data(dev->ad, func, data);
+}
@@ -5,7 +5,7 @@
*
* Copyright (C) 2006-2010 Nokia Corporation
* Copyright (C) 2004-2010 Marcel Holtmann <marcel@holtmann.org>
- *
+ * Copyright 2024 NXP
*
*/
@@ -211,3 +211,6 @@ void btd_device_foreach_ad(struct btd_device *dev, bt_device_ad_func_t func,
void btd_device_set_conn_param(struct btd_device *device, uint16_t min_interval,
uint16_t max_interval, uint16_t latency,
uint16_t timeout);
+void btd_device_foreach_service_data(struct btd_device *dev,
+ bt_device_ad_func_t func,
+ void *data);