Change-Id: I6823ba9ca9a27deab03e4f8ea3d155c62445704e
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2557
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Patrick Lankswert <patrick.lankswert@intel.com>
#include "cainterface.h"
#include "cacommon.h"
#include "caadapterutils.h"
+#include "oic_string.h"
#include "org_iotivity_ca_service_RMInterface.h"
JNIEXPORT jint JNI_OnLoad(JavaVM *jvm, void *reserved)
{
LOGI("JNI_OnLoad");
+ (void)reserved;
JNIEnv* env;
if (JNI_OK != (*jvm)->GetEnv(jvm, (void**) &env, JNI_VERSION_1_6))
void JNI_OnUnload(JavaVM *jvm, void *reserved)
{
LOGI("JNI_OnUnload");
+ (void)reserved;
JNIEnv* env;
if (JNI_OK != (*jvm)->GetEnv(jvm, (void**) &env, JNI_VERSION_1_6))
// Wait for LE peripherals to be discovered.
// Number of times to wait for discovery to complete.
- static int const RETRIES = 5;
+ static size_t const RETRIES = 5;
static uint64_t const TIMEOUT =
2 * MICROSECS_PER_SEC; // Microseconds