Questions tagged [iotivity]

IoTivity is an open source software framework enabling seamless device-to-device connectivity to address the emerging needs of the Internet of Things by delivering a reference implementation of the OCF specification.

42 questions
0
votes
1 answer

Iotivity client doesn't discover resources after some time

I'm running an IoTivity client that rediscovers available resources every 20 seconds. At the start it works fine. However, after around 2 and a half minutes the client doesn't discover the resource anymore. When I restart the client it still doesn't…
0
votes
0 answers

Why does the build fail trying to find boost.hpp?

I am trying to build IoTivity for iOS and following the instructions here but I keep getting this error which terminates the build. service/resource-encapsulation/include/RCSException.h:33:10: fatal error: 'boost/config.hpp' file not found #include…
TJS
  • 80
  • 2
  • 10
0
votes
0 answers

Terminate called after throwing an instance of 'OC::OCException'

I'm running on iotivity 1.2.1 I started from simpleclient and simpleserver examples. I made two clients: The first one POST variables and the second one observe the resource (get new changes made by the first client). I wanted to run the example…
0
votes
1 answer

Regarding the scons build for iotivity on linux

out/linux/x86_64/release/service/resource-container/src/ResourceContainerImpl.os: In function bool boost::thread::timed_join(boost::posix_time::seconds…
Anupama
  • 1
  • 1
0
votes
1 answer

LookupError: unknown encoding: string_escape when running scons command

I am following this tutorial to build the IoTivity Base Android API: https://wiki.iotivity.org/android_build_instructions#android_example_apps I downloaded the IoTivity project from here: https://iotivity.org/downloads I am at the step where I use…
Drake
  • 2,679
  • 4
  • 45
  • 88
0
votes
1 answer

How use arm-linux-androideabi compiler to build iotivity-lite?

How to compile and build iotivity-lite (https://github.com/iotivity/iotivity-constrained) for android using arm-linux-androideabi compiler? I'm interested in the Makefile changes and settings.
Michael Kanzieper
  • 709
  • 1
  • 10
  • 20
0
votes
1 answer

Trouble in Cloud Server of Iotivity

I'm having a hard time running 'aircon_controlee' application. I got a auth code from github and I'm trying to execute 'aircon_controlee' but it's working. auth code URL is…
0
votes
1 answer

Iotivity with docker

I am trying to run IOTivity under Docker. I've just installed Docker on a Raspberry Pi and started it. After that I pulled the IoTivity image via Docker Hub as "iotivity/resource directory". docker stack deploy -c docker-compose.yml iotivity docker…
0
votes
1 answer

Failed to compile the iotivity node on Raspbian

I cannot compile the iotivity-node source on Raspbian OS in Raspberry pi 3 developed board. But, I'm able to compile the same source successfully in in my laptop under Ubuntu 16.04 LTS OS. I met the following error message on screen. Does…
cchhsu
  • 13
  • 6
0
votes
2 answers

Getting Error while cross compiling iotivity stack for yocto with debug enable " cannot find -lgcov"

These logs i'm getting after running "scons TARGET_OS=yocto TARGET_ARCH=i586 TARGET_TRANSPORT=BLE TC_PREFIX=i586-poky-linux- TC_PATH=/opt/poky-edison/1.6/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux RELEASE=0" scons: done reading SConscript…
Moyin
  • 1
0
votes
1 answer

How to build native libraries for Iotivity in order to load them in Java

I'm trying to run Iotivity Simple Clent in Java. I have cloned Iotivity project https://github.com/iotivity/iotivity and I have created an eclipse project that includes all the required Iotivity Java classes plus the classes for the SimpleClient…
bloox
  • 127
  • 2
  • 9
0
votes
1 answer

How to properly install the iotivity-node npm package

I will be very specific and will divide my question into points. I am running a Ubuntu 14.04 LTS machine with node.js on board 1. What I want to achieve in overall: I want to install the iotivity-node npm package on my local computer 2. What is not…
BartB
  • 413
  • 1
  • 5
  • 9
0
votes
1 answer

Failed to build IoTivity for raspberry on Ubuntu

I'm trying to build IoTivity for raspberry with Yocto but get a lot of compile errors like: 'bind' is not a member of 'std' resource/include/IClientWrapper.h:51:25: error: 'FindResListCallback' has not been declared …
0
votes
1 answer

Building iotivity on mac

According to the docs, Mac should be supported but when attempting to build iotivity some headers are used that I think are posix specific. ➜ iotivity git:(master) ✗ scons SYS_VERSION=10.12 scons: Reading SConscript files ... Checking for POSIX…
zcourts
  • 4,863
  • 6
  • 49
  • 74
0
votes
1 answer

Iotivity 1.58 scons build failed for IOS

My build environment: OS:OS X El Capitan 10.11.6 Scons version : v2.5.1.rel_2.5.1:3735:9dc6cee5c168[MODIFIED], boost framework copy to ~/Desktop/iotivity-1.2.1/extlibs/boost/ios/framework build cmd: scons TARGET_OS=ios TARGET_ARCH=arm64 build…
X.John
  • 1
  • 4