Imported Upstream version 0.9.2
[platform/upstream/iotivity.git] / resource / csdk / connectivity / src / bt_le_adapter / android / org_iotivity_ca_CaLeServerInterface.h
1 /******************************************************************
2  *
3  * Copyright 2014 Samsung Electronics All Rights Reserved.
4  *
5  *
6  *
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
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
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.
18  *
19  ******************************************************************/
20
21 #include <jni.h>
22 /* Header for class org_iotivity_ca_caLeServerInterface */
23
24 #ifndef CA_Included_org_iotivity_ca_caLeServerInterface_H_
25 #define CA_Included_org_iotivity_ca_caLeServerInterface_H_
26 #ifdef __cplusplus
27 extern "C"
28 {
29 #endif
30
31 /*
32  * Class:     org_iotivity_ca_caLeServerInterface
33  * Method:    caLeRegisterGattServerCallback
34  * Signature: (Landroid/bluetooth/BluetoothGattServerCallback;)V
35  */
36 JNIEXPORT void JNICALL
37
38 Java_org_iotivity_ca_caLeServerInterface_caLeRegisterGattServerCallback
39 (JNIEnv *, jobject, jobject);
40
41 /*
42  * Class:     org_iotivity_ca_caLeServerInterface
43  * Method:    caLeRegisterBluetoothLeAdvertiseCallback
44  * Signature: (Landroid/bluetooth/le/AdvertiseCallback;)V
45  */
46 JNIEXPORT void JNICALL
47 Java_org_iotivity_ca_caLeServerInterface_caLeRegisterBluetoothLeAdvertiseCallback
48 (JNIEnv *, jobject, jobject);
49
50 /*
51  * Class:     org_iotivity_ca_caLeServerInterface
52  * Method:    caLeGattServerConnectionStateChangeCallback
53  * Signature: (Landroid/bluetooth/BluetoothDevice;II)V
54  */
55 JNIEXPORT void JNICALL
56 Java_org_iotivity_ca_caLeServerInterface_caLeGattServerConnectionStateChangeCallback
57 (JNIEnv *, jobject, jobject, jint, jint);
58
59 /*
60  * Class:     org_iotivity_ca_caLeServerInterface
61  * Method:    caLeGattServerServiceAddedCallback
62  * Signature: (ILandroid/bluetooth/BluetoothGattService;)V
63  */
64 JNIEXPORT void JNICALL
65 Java_org_iotivity_ca_caLeServerInterface_caLeGattServerServiceAddedCallback
66 (JNIEnv *, jobject, jint, jobject);
67
68 /*
69  * Class:     org_iotivity_ca_caLeServerInterface
70  * Method:    caLeGattServerCharacteristicReadRequestCallback
71  * Signature: (Landroid/bluetooth/BluetoothDevice;IILandroid/
72  * bluetooth/BluetoothGattCharacteristic;)V
73  */
74 JNIEXPORT void JNICALL
75 Java_org_iotivity_ca_caLeServerInterface_caLeGattServerCharacteristicReadRequestCallback
76 (JNIEnv *, jobject, jobject, jint, jint, jobject, jbyteArray);
77
78 /*
79  * Class:     org_iotivity_ca_caLeServerInterface
80  * Method:    caLeGattServerCharacteristicWriteRequestCallback
81  * Signature: (Landroid/bluetooth/BluetoothDevice;ILandroid/bluetooth/
82  * BluetoothGattCharacteristic;ZZI[B)V
83  */
84 JNIEXPORT void JNICALL
85 Java_org_iotivity_ca_caLeServerInterface_caLeGattServerCharacteristicWriteRequestCallback
86 (JNIEnv *, jobject, jobject, jint, jobject, jbyteArray, jboolean, jboolean, jint, jbyteArray);
87
88 /*
89  * Class:     org_iotivity_ca_caLeServerInterface
90  * Method:    caLeGattServerDescriptorReadRequestCallback
91  * Signature: (Landroid/bluetooth/BluetoothDevice;IILandroid/bluetooth/
92  * BluetoothGattDescriptor;)V
93  */
94 JNIEXPORT void JNICALL
95 Java_org_iotivity_ca_caLeServerInterface_caLeGattServerDescriptorReadRequestCallback
96 (JNIEnv *, jobject, jobject, jint, jint, jobject);
97
98 /*
99  * Class:     org_iotivity_ca_caLeServerInterface
100  * Method:    caLeGattServerDescriptorWriteRequestCallback
101  * Signature: (Landroid/bluetooth/BluetoothDevice;ILandroid/bluetooth/
102  * BluetoothGattDescriptor;ZZI[B)V
103  */
104 JNIEXPORT void JNICALL
105 Java_org_iotivity_ca_caLeServerInterface_caLeGattServerDescriptorWriteRequestCallback
106 (JNIEnv *, jobject, jobject, jint, jobject, jboolean, jboolean, jint, jbyteArray);
107
108 /*
109  * Class:     org_iotivity_ca_caLeServerInterface
110  * Method:    caLeGattServerExecuteWriteCallback
111  * Signature: (Landroid/bluetooth/BluetoothDevice;IZ)V
112  */
113 JNIEXPORT void JNICALL
114 Java_org_iotivity_ca_caLeServerInterface_caLeGattServerExecuteWriteCallback
115 (JNIEnv *, jobject, jobject, jint, jboolean);
116
117 /*
118  * Class:     org_iotivity_ca_caLeServerInterface
119  * Method:    caLeGattServerNotificationSentCallback
120  * Signature: (Landroid/bluetooth/BluetoothDevice;I)V
121  */
122 JNIEXPORT void JNICALL
123 Java_org_iotivity_ca_caLeServerInterface_caLeGattServerNotificationSentCallback
124 (JNIEnv *, jobject, jobject, jint);
125
126 /*
127  * Class:     org_iotivity_ca_caLeServerInterface
128  * Method:    caLeAdvertiseStartSuccessCallback
129  * Signature: (Landroid/bluetooth/le/AdvertiseSettings;)V
130  */
131 JNIEXPORT void JNICALL
132 Java_org_iotivity_ca_caLeServerInterface_caLeAdvertiseStartSuccessCallback
133 (JNIEnv *, jobject, jobject);
134
135 /*
136  * Class:     org_iotivity_ca_caLeServerInterface
137  * Method:    caLeAdvertiseStartFailureCallback
138  * Signature: (I)V
139  */
140 JNIEXPORT void JNICALL
141 Java_org_iotivity_ca_caLeServerInterface_caLeAdvertiseStartFailureCallback
142 (JNIEnv *, jobject, jint);
143
144
145 #ifdef __cplusplus
146 }
147 #endif
148 #endif
149