X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=resource%2Fcsdk%2Fconnectivity%2Fsrc%2Fbt_le_adapter%2Fandroid%2Forg_iotivity_ca_CaLeClientInterface.h;h=6d86fc21196d7894312350567cb92f4e2aa9acbb;hb=3c093548382bb2542c87a67e6e5fa32552c29cb3;hp=a210c6d25cc5e783d4d83ce4fca7bb468b7899cb;hpb=22291a54565cf320542bfe45e5734ee6c77c910f;p=platform%2Fupstream%2Fiotivity.git diff --git a/resource/csdk/connectivity/src/bt_le_adapter/android/org_iotivity_ca_CaLeClientInterface.h b/resource/csdk/connectivity/src/bt_le_adapter/android/org_iotivity_ca_CaLeClientInterface.h index a210c6d..6d86fc2 100644 --- a/resource/csdk/connectivity/src/bt_le_adapter/android/org_iotivity_ca_CaLeClientInterface.h +++ b/resource/csdk/connectivity/src/bt_le_adapter/android/org_iotivity_ca_CaLeClientInterface.h @@ -19,22 +19,31 @@ ******************************************************************/ #include -/* 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); /* @@ -43,81 +52,162 @@ Java_org_iotivity_ca_caLeClientInterface_caLeRegisterLeScanCallback * 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 +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_caLeScanFailedCallback +(JNIEnv *, jobject, jint); + +/* * Class: org_iotivity_ca_caLeClientInterface * Method: caLeGattConnectionStateChangeCallback * 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 + * Class: org_iotivity_ca_CaLeClientInterface + * Method: caLeGattNWServicesDiscoveredCallback + * Signature: (Landroid/bluetooth/BluetoothGatt;I)V + */ +JNIEXPORT void JNICALL +Java_org_iotivity_ca_CaLeClientInterface_caLeGattNWServicesDiscoveredCallback +(JNIEnv *, jobject, jobject, jint); +/* + * 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 +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 +Java_org_iotivity_ca_CaLeClientInterface_caLeGattCharacteristicChangedCallback (JNIEnv *, jobject, jobject, jbyteArray); /* - * Class: org_iotivity_ca_caLeClientInterface + * Class: org_iotivity_ca_CaLeClientInterface * Method: caLeGattDescriptorWriteCallback - * Signature: (Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattDescriptor;I)V + * Signature: (Landroid/bluetooth/BluetoothGatt;I)V */ JNIEXPORT void JNICALL -Java_org_iotivity_ca_caLeClientInterface_caLeGattDescriptorWriteCallback +Java_org_iotivity_ca_CaLeClientInterface_caLeGattDescriptorWriteCallback (JNIEnv *, jobject, jobject, jint); /* - * Class: org_iotivity_ca_caLeClientInterface + * Class: org_iotivity_ca_CaLeClientInterface * Method: caLeStateChangedCallback * Signature: (I)V */ JNIEXPORT void JNICALL -Java_org_iotivity_ca_caLeClientInterface_caLeStateChangedCallback +Java_org_iotivity_ca_CaLeClientInterface_caLeStateChangedCallback (JNIEnv *, jobject, jint); /* - * Class: org_iotivity_ca_caLeClientInterface + * Class: org_iotivity_ca_CaLeClientInterface * Method: caLeBondStateChangedCallback - * Signature: (I)V + * Signature: (Ljava/lang/String;)V */ JNIEXPORT void JNICALL -Java_org_iotivity_ca_caLeClientInterface_caLeBondStateChangedCallback +Java_org_iotivity_ca_CaLeClientInterface_caLeBondStateChangedCallback (JNIEnv *, jobject, jstring); +/* + * Class: org_iotivity_ca_CaLeClientInterface + * Method: caManagerLeGattConnectionStateChangeCB + * Signature: (Landroid/bluetooth/BluetoothGatt;II)V + */ +JNIEXPORT void JNICALL +Java_org_iotivity_ca_CaLeClientInterface_caManagerLeGattConnectionStateChangeCB +(JNIEnv *, jobject, jobject, jint, jint); + +/* + * Class: org_iotivity_ca_CaLeClientInterface + * Method: caManagerAdapterStateChangedCallback + * Signature: (I)V + */ +JNIEXPORT void JNICALL +Java_org_iotivity_ca_CaLeClientInterface_caManagerAdapterStateChangedCallback +(JNIEnv *, jobject, jint); + +/* + * Class: org_iotivity_ca_CaLeClientInterface + * Method: caManagerBondStateChangedCallback + * Signature: (Landroid/bluetooth/BluetoothDevice;)V + */ +JNIEXPORT void JNICALL +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 } #endif