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, 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, jbyteArray);
89 * Class: org_iotivity_ca_caLeServerInterface
90 * Method: caLeGattServerNotificationSentCallback
91 * Signature: (Landroid/bluetooth/BluetoothDevice;I)V
93 JNIEXPORT void JNICALL
94 Java_org_iotivity_ca_caLeServerInterface_caLeGattServerNotificationSentCallback
95 (JNIEnv *, jobject, jobject, jint);
98 * Class: org_iotivity_ca_caLeServerInterface
99 * Method: caLeAdvertiseStartSuccessCallback
100 * Signature: (Landroid/bluetooth/le/AdvertiseSettings;)V
102 JNIEXPORT void JNICALL
103 Java_org_iotivity_ca_caLeServerInterface_caLeAdvertiseStartSuccessCallback
104 (JNIEnv *, jobject, jobject);
107 * Class: org_iotivity_ca_caLeServerInterface
108 * Method: caLeAdvertiseStartFailureCallback
111 JNIEXPORT void JNICALL
112 Java_org_iotivity_ca_caLeServerInterface_caLeAdvertiseStartFailureCallback
113 (JNIEnv *, jobject, jint);