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: caLeGattServerServiceAddedCallback
62 * Signature: (ILandroid/bluetooth/BluetoothGattService;)V
64 JNIEXPORT void JNICALL
65 Java_org_iotivity_ca_caLeServerInterface_caLeGattServerServiceAddedCallback
66 (JNIEnv *, jobject, jint, jobject);
69 * Class: org_iotivity_ca_caLeServerInterface
70 * Method: caLeGattServerCharacteristicReadRequestCallback
71 * Signature: (Landroid/bluetooth/BluetoothDevice;IILandroid/
72 * bluetooth/BluetoothGattCharacteristic;)V
74 JNIEXPORT void JNICALL
75 Java_org_iotivity_ca_caLeServerInterface_caLeGattServerCharacteristicReadRequestCallback
76 (JNIEnv *, jobject, jobject, jint, jint, jobject, jbyteArray);
79 * Class: org_iotivity_ca_caLeServerInterface
80 * Method: caLeGattServerCharacteristicWriteRequestCallback
81 * Signature: (Landroid/bluetooth/BluetoothDevice;ILandroid/bluetooth/
82 * BluetoothGattCharacteristic;ZZI[B)V
84 JNIEXPORT void JNICALL
85 Java_org_iotivity_ca_caLeServerInterface_caLeGattServerCharacteristicWriteRequestCallback
86 (JNIEnv *, jobject, jobject, jint, jobject, jbyteArray, jboolean, jboolean, jint, jbyteArray);
89 * Class: org_iotivity_ca_caLeServerInterface
90 * Method: caLeGattServerDescriptorReadRequestCallback
91 * Signature: (Landroid/bluetooth/BluetoothDevice;IILandroid/bluetooth/
92 * BluetoothGattDescriptor;)V
94 JNIEXPORT void JNICALL
95 Java_org_iotivity_ca_caLeServerInterface_caLeGattServerDescriptorReadRequestCallback
96 (JNIEnv *, jobject, jobject, jint, jint, jobject);
99 * Class: org_iotivity_ca_caLeServerInterface
100 * Method: caLeGattServerDescriptorWriteRequestCallback
101 * Signature: (Landroid/bluetooth/BluetoothDevice;ILandroid/bluetooth/
102 * BluetoothGattDescriptor;ZZI[B)V
104 JNIEXPORT void JNICALL
105 Java_org_iotivity_ca_caLeServerInterface_caLeGattServerDescriptorWriteRequestCallback
106 (JNIEnv *, jobject, jobject, jint, jobject, jboolean, jboolean, jint, jbyteArray);
109 * Class: org_iotivity_ca_caLeServerInterface
110 * Method: caLeGattServerExecuteWriteCallback
111 * Signature: (Landroid/bluetooth/BluetoothDevice;IZ)V
113 JNIEXPORT void JNICALL
114 Java_org_iotivity_ca_caLeServerInterface_caLeGattServerExecuteWriteCallback
115 (JNIEnv *, jobject, jobject, jint, jboolean);
118 * Class: org_iotivity_ca_caLeServerInterface
119 * Method: caLeGattServerNotificationSentCallback
120 * Signature: (Landroid/bluetooth/BluetoothDevice;I)V
122 JNIEXPORT void JNICALL
123 Java_org_iotivity_ca_caLeServerInterface_caLeGattServerNotificationSentCallback
124 (JNIEnv *, jobject, jobject, jint);
127 * Class: org_iotivity_ca_caLeServerInterface
128 * Method: caLeAdvertiseStartSuccessCallback
129 * Signature: (Landroid/bluetooth/le/AdvertiseSettings;)V
131 JNIEXPORT void JNICALL
132 Java_org_iotivity_ca_caLeServerInterface_caLeAdvertiseStartSuccessCallback
133 (JNIEnv *, jobject, jobject);
136 * Class: org_iotivity_ca_caLeServerInterface
137 * Method: caLeAdvertiseStartFailureCallback
140 JNIEXPORT void JNICALL
141 Java_org_iotivity_ca_caLeServerInterface_caLeAdvertiseStartFailureCallback
142 (JNIEnv *, jobject, jint);