******************************************************************/
#include <jni.h>
-/* Header for class org_iotivity_ca_caLeClientInterface */
+/* Header for class org_iotivity_ca_CaLeClientInterface */
-#ifndef CA_Included_org_iotivity_ca_caLeClientInterface_H_
-#define CA_Included_org_iotivity_ca_caLeClientInterface_H_
+#ifndef CA_Included_org_iotivity_ca_CaLeClientInterface_H_
+#define CA_Included_org_iotivity_ca_CaLeClientInterface_H_
#ifdef __cplusplus
extern "C"
{
#endif
/*
- * Class: org_iotivity_ca_caLeClientInterface
+ * Class: org_iotivity_ca_CaLeClientInterface
* Method: caLeRegisterLeScanCallback
* Signature: (Landroid/bluetooth/BluetoothAdapter/LeScanCallback;)V
*/
JNIEXPORT void JNICALL
-Java_org_iotivity_ca_caLeClientInterface_caLeRegisterLeScanCallback
+Java_org_iotivity_ca_CaLeClientInterface_caLeRegisterLeScanCallback
+(JNIEnv *, jobject, jobject);
+
+/*
+ * Class: org_iotivity_ca_CaLeClientInterface
+ * Method: caLeRegisterLeScanCallback
+ * Signature: (Landroid/bluetooth/le/ScanCallback;)V
+ */
+JNIEXPORT void JNICALL
+Java_org_iotivity_ca_CaLeClientInterface_caLeRegisterLeScanCallbackForV21
(JNIEnv *, jobject, jobject);
/*
* Signature: (Landroid/bluetooth/BluetoothGattCallback;)V
*/
JNIEXPORT void JNICALL
-Java_org_iotivity_ca_caLeClientInterface_caLeRegisterGattCallback
+Java_org_iotivity_ca_CaLeClientInterface_caLeRegisterGattCallback
(JNIEnv *, jobject, jobject);
/*
- * Class: org_iotivity_ca_caLeClientInterface
+ * Class: org_iotivity_ca_CaLeClientInterface
* Method: caLeScanCallback
- * Signature: (Landroid/bluetooth/BluetoothDevice;I[B)V
+ * Signature: (Landroid/bluetooth/BluetoothDevice;)V
+ */
+JNIEXPORT void JNICALL
+Java_org_iotivity_ca_CaLeClientInterface_caLeScanCallback
+(JNIEnv *, jobject, jobject);
+
+/*
+ * Class: org_iotivity_ca_CaLeClientInterface
+ * Method: caLeScanFailedCallback
+ * Signature: (I)V
*/
JNIEXPORT void JNICALL
-Java_org_iotivity_ca_caLeClientInterface_caLeScanCallback
-(JNIEnv *, jobject, jobject, jint, jbyteArray);
+Java_org_iotivity_ca_CaLeClientInterface_caLeScanFailedCallback
+(JNIEnv *, jobject, jint);
/*
* Class: org_iotivity_ca_caLeClientInterface
* Signature: (Landroid/bluetooth/BluetoothGatt;II)V
*/
JNIEXPORT void JNICALL
-Java_org_iotivity_ca_caLeClientInterface_caLeGattConnectionStateChangeCallback
+Java_org_iotivity_ca_CaLeClientInterface_caLeGattConnectionStateChangeCallback
(JNIEnv *, jobject, jobject, jint, jint);
/*
- * Class: org_iotivity_ca_caLeClientInterface
+ * Class: org_iotivity_ca_CaLeClientInterface
+ * Method: caLeGattNWConnectionStateChangeCallback
+ * Signature: (Landroid/bluetooth/BluetoothGatt;II)V
+ */
+JNIEXPORT void JNICALL
+Java_org_iotivity_ca_CaLeClientInterface_caLeGattNWConnectionStateChangeCallback
+(JNIEnv *, jobject, jobject, jint, jint);
+
+/*
+ * Class: org_iotivity_ca_CaLeClientInterface
* Method: caLeGattServicesDiscoveredCallback
* Signature: (Landroid/bluetooth/BluetoothGatt;I)V
*/
JNIEXPORT void JNICALL
-Java_org_iotivity_ca_caLeClientInterface_caLeGattServicesDiscoveredCallback
+Java_org_iotivity_ca_CaLeClientInterface_caLeGattServicesDiscoveredCallback
(JNIEnv *, jobject, jobject, jint);
/*
- * Class: org_iotivity_ca_caLeClientInterface
- * Method: caLeGattCharacteristicReadCallback
- * Signature: (Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattCharacteristic;I)V
+ * Class: org_iotivity_ca_CaLeClientInterface
+ * Method: caLeGattNWServicesDiscoveredCallback
+ * Signature: (Landroid/bluetooth/BluetoothGatt;I)V
*/
JNIEXPORT void JNICALL
-Java_org_iotivity_ca_caLeClientInterface_caLeGattCharacteristicReadCallback
-(JNIEnv *, jobject, jobject, jobject, jbyteArray, jint);
-
+Java_org_iotivity_ca_CaLeClientInterface_caLeGattNWServicesDiscoveredCallback
+(JNIEnv *, jobject, jobject, jint);
/*
- * Class: org_iotivity_ca_caLeClientInterface
+ * Class: org_iotivity_ca_CaLeClientInterface
* Method: caLeGattCharacteristicWritjclasseCallback
- * Signature: (Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattCharacteristic;I)V
+ * Signature: (Landroid/bluetooth/BluetoothGatt;[BI)V
*/
JNIEXPORT void JNICALL
-Java_org_iotivity_ca_caLeClientInterface_caLeGattCharacteristicWriteCallback
-(JNIEnv *, jobject, jobject, jobject, jbyteArray, jint);
+Java_org_iotivity_ca_CaLeClientInterface_caLeGattCharacteristicWriteCallback
+(JNIEnv *, jobject, jobject, jbyteArray, jint);
/*
- * Class: org_iotivity_ca_caLeClientInterface
+ * Class: org_iotivity_ca_CaLeClientInterface
* Method: caLeGattCharacteristicChangedCallback
* Signature: (Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattCharacteristic;)V
*/
JNIEXPORT void JNICALL
-Java_org_iotivity_ca_caLeClientInterface_caLeGattCharacteristicChangedCallback
-(JNIEnv *, jobject, jobject, jobject, jbyteArray);
+Java_org_iotivity_ca_CaLeClientInterface_caLeGattCharacteristicChangedCallback
+(JNIEnv *, jobject, jobject, jbyteArray);
/*
- * Class: org_iotivity_ca_caLeClientInterface
- * Method: caLeGattDescriptorReadCallback
- * Signature: (Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattDescriptor;I)V
+ * Class: org_iotivity_ca_CaLeClientInterface
+ * Method: caLeGattDescriptorWriteCallback
+ * Signature: (Landroid/bluetooth/BluetoothGatt;I)V
*/
JNIEXPORT void JNICALL
-Java_org_iotivity_ca_caLeClientInterface_caLeGattDescriptorReadCallback
-(JNIEnv *, jobject, jobject, jobject, jint);
+Java_org_iotivity_ca_CaLeClientInterface_caLeGattDescriptorWriteCallback
+(JNIEnv *, jobject, jobject, jint);
/*
- * Class: org_iotivity_ca_caLeClientInterface
- * Method: caLeGattDescriptorWriteCallback
- * Signature: (Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattDescriptor;I)V
+ * Class: org_iotivity_ca_CaLeClientInterface
+ * Method: caLeStateChangedCallback
+ * Signature: (I)V
*/
JNIEXPORT void JNICALL
-Java_org_iotivity_ca_caLeClientInterface_caLeGattDescriptorWriteCallback
-(JNIEnv *, jobject, jobject, jobject, jint);
+Java_org_iotivity_ca_CaLeClientInterface_caLeStateChangedCallback
+(JNIEnv *, jobject, jint);
/*
- * Class: org_iotivity_ca_caLeClientInterface
- * Method: caLeGattReliableWriteCompletedCallback
- * Signature: (Landroid/bluetooth/BluetoothGatt;I)V
+ * Class: org_iotivity_ca_CaLeClientInterface
+ * Method: caLeBondStateChangedCallback
+ * Signature: (Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL
-Java_org_iotivity_ca_caLeClientInterface_caLeGattReliableWriteCompletedCallback
-(JNIEnv *, jobject, jobject, jint);
+Java_org_iotivity_ca_CaLeClientInterface_caLeBondStateChangedCallback
+(JNIEnv *, jobject, jstring);
/*
- * Class: org_iotivity_ca_caLeClientInterface
- * Method: caLeGattReadRemoteRssiCallback
+ * Class: org_iotivity_ca_CaLeClientInterface
+ * Method: caManagerLeGattConnectionStateChangeCB
* Signature: (Landroid/bluetooth/BluetoothGatt;II)V
*/
JNIEXPORT void JNICALL
-Java_org_iotivity_ca_caLeClientInterface_caLeGattReadRemoteRssiCallback
+Java_org_iotivity_ca_CaLeClientInterface_caManagerLeGattConnectionStateChangeCB
(JNIEnv *, jobject, jobject, jint, jint);
/*
- * Class: org_iotivity_ca_caLeClientInterface
- * Method: caLeStateChangedCallback
+ * Class: org_iotivity_ca_CaLeClientInterface
+ * Method: caManagerAdapterStateChangedCallback
* Signature: (I)V
*/
JNIEXPORT void JNICALL
-Java_org_iotivity_ca_caLeClientInterface_caLeStateChangedCallback
+Java_org_iotivity_ca_CaLeClientInterface_caManagerAdapterStateChangedCallback
(JNIEnv *, jobject, jint);
/*
- * Class: org_iotivity_ca_caLeClientInterface
- * Method: caLeBondStateChangedCallback
- * Signature: (I)V
+ * Class: org_iotivity_ca_CaLeClientInterface
+ * Method: caManagerBondStateChangedCallback
+ * Signature: (Landroid/bluetooth/BluetoothDevice;)V
*/
JNIEXPORT void JNICALL
-Java_org_iotivity_ca_caLeClientInterface_caLeBondStateChangedCallback
-(JNIEnv *, jobject, jstring);
+Java_org_iotivity_ca_CaLeClientInterface_caManagerBondStateChangedCallback
+(JNIEnv *, jobject, jobject);
+
+/*
+ * Class: org_iotivity_ca_CaLeClientInterface
+ * Method: caManagerLeServicesDiscoveredCallback
+ * Signature: (Landroid/bluetooth/BluetoothGatt;I)V
+ */
+JNIEXPORT void JNICALL
+Java_org_iotivity_ca_CaLeClientInterface_caManagerLeServicesDiscoveredCallback
+(JNIEnv *, jobject, jobject, jint);
+
+/*
+ * Class: org_iotivity_ca_CaLeClientInterface
+ * Method: caManagerLeRemoteRssiCallback
+ * Signature: (Landroid/bluetooth/BluetoothGatt;II)V
+ */
+JNIEXPORT void JNICALL
+Java_org_iotivity_ca_CaLeClientInterface_caManagerLeRemoteRssiCallback
+(JNIEnv *, jobject, jobject, jint, jint);
+
+/*
+ * Class: org_iotivity_ca_CaLeClientInterface
+ * Method: caLeGattMtuChangedCallback
+ * Signature: (Landroid/bluetooth/BluetoothGatt;II)V
+ */
+JNIEXPORT void JNICALL
+Java_org_iotivity_ca_CaLeClientInterface_caLeGattMtuChangedCallback
+(JNIEnv *, jobject, jobject, jint, jint);
+
#ifdef __cplusplus
}