Hi,
I 'm trying to understand IOTivity sample services in detail. I followed
this link
https://www.iotivity.org/documentation/iotivity-services/getting-started-iotivity-services
to install dependencies and then I pulled latest IOTivity source from
https://gerrit.iotivity.org/gerrit/p/iotivity.git. When I 'm giving scons,
It also expected *gtest and gtest_main *libraries to be required for
unittests. I also get them from this
https://code.google.com/p/googletest/downloads/detail?name=gtest-1.7.0.zip&can=2&q=.
Finally, I finished successful build process of IOTivity source.
Now, I started trying Soft-Sensor- Manager sample service. For this, as of
now. I open three separate terminals in Ubuntu Machine.
In One terminal, (Assume, I 'm in IOTivity source root directory).
*$ pushd out/linux/x86/release*
*$ export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH*
*$ pushd service/soft-sensor-manager*
*$ ./SSMTesterApp*
*program start.*
*searching SSMResource*
*===============================================*
* Iotivity Soft Sensor Manager Test Application*
*===============================================*
* 1. Register Query*
* 2. Unregister Query*
* 3. Register DiscomfortIndexSensor sample query*
* 4. Register IndoorTrajectorySensor sample query*
* 5. Register BMISensor sample query*
* 9. exit*
*===============================================*
* Please Enter the NO:*
And, in second terminal
*$ pushd out/linux/x86/release*
*$ export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH*
*$ pushd service/soft-sensor-manager*
$ ./THSensorApp
Running thing as /Thing_TempHumSensor
Type any key to terminate
0:
In entity handler wrapper:
In Server CPP entity handler:
requestFlag : Request
requestType : GET
And, in third terminal
*$ pushd out/linux/x86/release*
*$ export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH*
*$ pushd service/soft-sensor-manager*
$ ./THSensorApp1
*Running thing as /Thing_TempHumSensor1*
*Type any key to terminate*
As of now, I did this.How can I working flow this soft-sensor-manager
service.? Can anyone guide me to understand IOTivity services?
Thanks,
Ganesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150416/a6b520bf/attachment.html>