org.bluez.Device: Add documentation for GetServiceRecords()
authorVibhav Pant <vibhavp@gmail.com>
Sat, 7 Sep 2024 21:33:01 +0000 (03:03 +0530)
committerWootak Jung <wootak.jung@samsung.com>
Thu, 20 Feb 2025 07:43:23 +0000 (16:43 +0900)
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
doc/org.bluez.Device.rst

index 07c12f602c5eaed16506ef75a763b3629a4745ce..d82ccee7955b20e6675eccbed54383ff5a701729 100644 (file)
@@ -173,6 +173,25 @@ void CancelPairing()
        :org.bluez.Error.DoesNotExist:
        :org.bluez.Error.Failed:
 
+array{array{byte}} GetServiceRecords() [experimental]
+`````````````````````````````````````````````````````
+
+       Returns all currently known BR/EDR service records for the device. Each
+       individual byte array represents a raw SDP record, as defined by the
+       Bluetooth Service Discovery Protocol specification.
+
+       This method is intended to be only used by compatibility layers like
+       Wine, that need to provide access to raw SDP records to support foreign
+       Bluetooth APIs. General applications should instead use the Profile API
+       for services-related functionality.
+
+       Possible errors:
+
+       :org.bluez.Error.Failed:
+       :org.bluez.Error.NotReady:
+       :org.bluez.Error.NotConnected:
+       :org.bluez.Error.DoesNotExist:
+
 #ifdef TIZEN_FEATURE_BLUEZ_MODIFY
 void ConnectLe()
 ````````````````