OSDN Git Service

DO NOT MERGE SDP: Fix the param_len recalculation
[android-x86/system-bt.git] / service / doc / IBluetoothLowEnergyCallback.txt
index 57cdf42..1ced0aa 100644 (file)
@@ -28,6 +28,16 @@ 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