replace : iotivity -> iotivity-sec
[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 Java_org_iotivity_ca_CaLeServerInterface_caLeRegisterGattServerCallback
38 (JNIEnv *, jobject, jobject);
39
40 /*
41  * Class:     org_iotivity_ca_CaLeServerInterface
42  * Method:    caLeRegisterBluetoothLeAdvertiseCallback
43  * Signature: (Landroid/bluetooth/le/AdvertiseCallback;)V
44  */
45 JNIEXPORT void JNICALL
46 Java_org_iotivity_ca_CaLeServerInterface_caLeRegisterBluetoothLeAdvertiseCallback
47 (JNIEnv *, jobject, jobject);
48
49 /*
50  * Class:     org_iotivity_ca_CaLeServerInterface
51  * Method:    caLeGattServerConnectionStateChangeCallback
52  * Signature: (Landroid/bluetooth/BluetoothDevice;II)V
53  */
54 JNIEXPORT void JNICALL
55 Java_org_iotivity_ca_CaLeServerInterface_caLeGattServerConnectionStateChangeCallback
56 (JNIEnv *, jobject, jobject, jint, jint);
57
58 /*
59  * Class:     org_iotivity_ca_CaLeServerInterface
60  * Method:    caLeGattServerNWConnectionStateChangeCallback
61  * Signature: (Landroid/bluetooth/BluetoothDevice;II)V
62  */
63 JNIEXPORT void JNICALL
64 Java_org_iotivity_ca_CaLeServerInterface_caLeGattServerNWConnectionStateChangeCallback
65 (JNIEnv *, jobject, jobject, jint, jint);
66
67 /*
68  * Class:     org_iotivity_ca_CaLeServerInterface
69  * Method:    caLeGattServerServiceAddedCallback
70  * Signature: (ILandroid/bluetooth/BluetoothGattService;)V
71  */
72 JNIEXPORT void JNICALL
73 Java_org_iotivity_ca_CaLeServerInterface_caLeGattServerServiceAddedCallback
74 (JNIEnv *, jobject, jint, jobject);
75
76 /*
77  * Class:     org_iotivity_ca_CaLeServerInterface
78  * Method:    caLeGattServerCharacteristicReadRequestCallback
79  * Signature: (Landroid/bluetooth/BluetoothDevice;[B)V
80  */
81 JNIEXPORT void JNICALL
82 Java_org_iotivity_ca_CaLeServerInterface_caLeGattServerCharacteristicReadRequestCallback
83 (JNIEnv *, jobject, jobject, jbyteArray);
84
85 /*
86  * Class:     org_iotivity_ca_CaLeServerInterface
87  * Method:    caLeGattServerCharacteristicWriteRequestCallback
88  * Signature: (Landroid/bluetooth/BluetoothDevice;[BII[B)V
89  */
90 JNIEXPORT void JNICALL
91 Java_org_iotivity_ca_CaLeServerInterface_caLeGattServerCharacteristicWriteRequestCallback
92 (JNIEnv *, jobject, jobject, jbyteArray, jint, jint, jbyteArray);
93
94 /*
95  * Class:     org_iotivity_ca_CaLeServerInterface
96  * Method:    caLeGattServerNotificationSentCallback
97  * Signature: (Landroid/bluetooth/BluetoothDevice;I)V
98  */
99 JNIEXPORT void JNICALL
100 Java_org_iotivity_ca_CaLeServerInterface_caLeGattServerNotificationSentCallback
101 (JNIEnv *, jobject, jobject, jint);
102
103 /*
104  * Class:     org_iotivity_ca_CaLeServerInterface
105  * Method:    caLeAdvertiseStartSuccessCallback
106  * Signature: (Landroid/bluetooth/le/AdvertiseSettings;)V
107  */
108 JNIEXPORT void JNICALL
109 Java_org_iotivity_ca_CaLeServerInterface_caLeAdvertiseStartSuccessCallback
110 (JNIEnv *, jobject, jobject);
111
112 /*
113  * Class:     org_iotivity_ca_CaLeServerInterface
114  * Method:    caLeAdvertiseStartFailureCallback
115  * Signature: (I)V
116  */
117 JNIEXPORT void JNICALL
118 Java_org_iotivity_ca_CaLeServerInterface_caLeAdvertiseStartFailureCallback
119 (JNIEnv *, jobject, jint);
120
121 /*
122  * Class:     org_iotivity_ca_CaLeServerInterface
123  * Method:    caLeGattServerMtuChangedCallback
124  * Signature: (Landroid/bluetooth/BluetoothDevice;I)V
125  */
126 JNIEXPORT void JNICALL
127 Java_org_iotivity_ca_CaLeServerInterface_caLeGattServerMtuChangedCallback
128 (JNIEnv *, jobject, jobject, jint);
129
130 #ifdef __cplusplus
131 }
132 #endif
133 #endif
134