OSDN Git Service

DO NOT MERGE SDP: Fix the param_len recalculation
[android-x86/system-bt.git] / service / doc / IBluetoothLowEnergyCallback.txt
index c3e7995..1ced0aa 100644 (file)
@@ -28,6 +28,23 @@ oneway interface IBluetoothLowEnergyCallback {
    */
   void onClientRegistered(in int status, in int client_if);
 
+  /* Called asynchronously to notify the delegate of connection state change.
+   */
+  void OnConnectionState(in int status, in int client_id, in const char* address,
+                         in bool connected);
+
+  /* Called to report current MTU value. Can be a result of calling
+   * IBluetoothLowEnergy.setMtu or remote device trying to change MTU.
+   */
+  void OnMtuChanged(in int status, in const char* address, in int mtu);
+
+  /**
+   * Called to report BLE device scan results once a scan session is started for
+   * this client using IBluetoothLowEnergy.startScan. |scan_result| contains all
+   * the data related to the discovered BLE device.
+   */
+  void onScanResult(in ScanResult scan_result);
+
   /**
    * Called to report the result of a call to
    * IBluetoothLowEnergy.startMultiAdvertising or stopMultiAdvertising.