Closed KunalSaini closed 8 years ago
@KunalSaini please specify the ostro-os image you are using and the iotivity* versions.
@mythi I am on the latest Ostro Os build 497 "ostro-image-swupd-all-intel-quark.dsk.xz" image. The Iotivity-node version is 1.1.0-4. I am not sure about the underlying iotivity version , however i think its 1.1.1
@KunalSaini I don't see any issue running sample code with the iotivity-node v1.1.0-4.
Here is the client & server outptut:
# node client.js
changed setpoint
# node server.js
setpoint register OK
setpoint: request updaterequest
BTW, latest Ostro has iotivity v1.1.0. Update for v1.1.1 is in pending queue.
thanks @nagineni I guess I was running the client on iotivity-node 1.1.1-3 and server on 1.1.0-4 as I cant get the older version to install properly on my laptop. Hoping the ostro os will soon incorporate the latest version. meanwhile i also figured that passing the whole resource in client.update
call resolves the issue for me.
Since this issue seems to be fixed, I will close it.
Hi, I am trying to update a resource however getting following error .
Error: update: OCDoResource response failed
following is my server / resource definitionAnd following is the client