Hello,
I am facing some issues while using IoTivity with JNI.
My setup is the following:
- I have on my computer IoTivity cloud stack running on Docker composer
(without swarm).
- IoTivity built from the sources using WITH_CLOUD=1, BUILD_JAVA=1
- A adapted Java sample code just to signIn to the CI from Docker stack
The code I adapted was from the Aircon Controller sample from the cloud folder.
Basically the one thing that is not the configuration (which parameters I set
is the
same as the C++ code from aircon_controller.cpp from samples). The problem
happens when I do this:
> manager.signUp("github", authCode, postSignupListener);
Actually, the problem *does not* happens. The expected behavior is to cause the
IoTivity CI log print something else, like an error message, an request attempt
or
auth code error, just like the c++ sample, witch works.
What I have done to obtain the IoTivity.jar was build the project and copy the
.so lib to the same folder as the .class, for testing purposes.
Can someone help me with this? At least tell me if IoTivity cloud Interface
with JNI is
not working, or I have compiled wrongly?
Luis Melo
_______________________________________________
iotivity-dev mailing list
[email protected]
https://lists.iotivity.org/mailman/listinfo/iotivity-dev