1 /******************************************************************
3 * Copyright 2014 Samsung Electronics All Rights Reserved.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
19 ******************************************************************/
22 /* Header for class org_iotivity_ca_caLeServerInterface */
24 #ifndef CA_Included_org_iotivity_ca_caLeServerInterface_H_
25 #define CA_Included_org_iotivity_ca_caLeServerInterface_H_
32 * Class: org_iotivity_ca_caLeServerInterface
33 * Method: caLeRegisterGattServerCallback
34 * Signature: (Landroid/bluetooth/BluetoothGattServerCallback;)V
36 JNIEXPORT void JNICALL
38 Java_org_iotivity_ca_caLeServerInterface_caLeRegisterGattServerCallback
39 (JNIEnv *, jobject, jobject);
42 * Class: org_iotivity_ca_caLeServerInterface
43 * Method: caLeRegisterBluetoothLeAdvertiseCallback
44 * Signature: (Landroid/bluetooth/le/AdvertiseCallback;)V
46 JNIEXPORT void JNICALL
47 Java_org_iotivity_ca_caLeServerInterface_caLeRegisterBluetoothLeAdvertiseCallback
48 (JNIEnv *, jobject, jobject);
51 * Class: org_iotivity_ca_caLeServerInterface
52 * Method: caLeGattServerConnectionStateChangeCallback
53 * Signature: (Landroid/bluetooth/BluetoothDevice;II)V
55 JNIEXPORT void JNICALL
56 Java_org_iotivity_ca_caLeServerInterface_caLeGattServerConnectionStateChangeCallback
57 (JNIEnv *, jobject, jobject, jint, jint);
60 * Class: org_iotivity_ca_caLeServerInterface
61 * Method: caLeGattServerNWConnectionStateChangeCallback
62 * Signature: (Landroid/bluetooth/BluetoothDevice;II)V
64 JNIEXPORT void JNICALL
65 Java_org_iotivity_ca_caLeServerInterface_caLeGattServerNWConnectionStateChangeCallback
66 (JNIEnv *, jobject, jobject, jint, jint);
69 * Class: org_iotivity_ca_caLeServerInterface
70 * Method: caLeGattServerServiceAddedCallback
71 * Signature: (ILandroid/bluetooth/BluetoothGattService;)V
73 JNIEXPORT void JNICALL
74 Java_org_iotivity_ca_caLeServerInterface_caLeGattServerServiceAddedCallback
75 (JNIEnv *, jobject, jint, jobject);
78 * Class: org_iotivity_ca_caLeServerInterface
79 * Method: caLeGattServerCharacteristicReadRequestCallback
80 * Signature: (Landroid/bluetooth/BluetoothDevice;IILandroid/
81 * bluetooth/BluetoothGattCharacteristic;)V
83 JNIEXPORT void JNICALL
84 Java_org_iotivity_ca_caLeServerInterface_caLeGattServerCharacteristicReadRequestCallback
85 (JNIEnv *, jobject, jobject, jbyteArray);
88 * Class: org_iotivity_ca_caLeServerInterface
89 * Method: caLeGattServerCharacteristicWriteRequestCallback
90 * Signature: (Landroid/bluetooth/BluetoothDevice;ILandroid/bluetooth/
91 * BluetoothGattCharacteristic;ZZI[B)V
93 JNIEXPORT void JNICALL
94 Java_org_iotivity_ca_caLeServerInterface_caLeGattServerCharacteristicWriteRequestCallback
95 (JNIEnv *, jobject, jobject, jbyteArray);
98 * Class: org_iotivity_ca_caLeServerInterface
99 * Method: caLeGattServerNotificationSentCallback
100 * Signature: (Landroid/bluetooth/BluetoothDevice;I)V
102 JNIEXPORT void JNICALL
103 Java_org_iotivity_ca_caLeServerInterface_caLeGattServerNotificationSentCallback
104 (JNIEnv *, jobject, jobject, jint);
107 * Class: org_iotivity_ca_caLeServerInterface
108 * Method: caLeAdvertiseStartSuccessCallback
109 * Signature: (Landroid/bluetooth/le/AdvertiseSettings;)V
111 JNIEXPORT void JNICALL
112 Java_org_iotivity_ca_caLeServerInterface_caLeAdvertiseStartSuccessCallback
113 (JNIEnv *, jobject, jobject);
116 * Class: org_iotivity_ca_caLeServerInterface
117 * Method: caLeAdvertiseStartFailureCallback
120 JNIEXPORT void JNICALL
121 Java_org_iotivity_ca_caLeServerInterface_caLeAdvertiseStartFailureCallback
122 (JNIEnv *, jobject, jint);