You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 13, 2019. It is now read-only.
looks like you're building the bindings against a later version of iotivity, where the payload's oc array was renamed to oic. Fixing #2 should fix this as well.
./dist
[...]
2 warnings generated.
CXX(target) Release/obj.target/iotivity/src/functions.o
CC(target) Release/obj.target/iotivity/src/callback-info.o
SOLINK_MODULE(target) Release/iotivity.node
ld: warning: could not create compact unwind for _ffi_call_unix64: does not use RBP or RSP based frame
SOLINK_MODULE(target) Release/iotivity.node: Finished
CC(target) Release/obj.target/server.observable/c/server.observable.o
LINK(target) Release/server.observable
LINK(target) Release/server.observable: Finished
CC(target) Release/obj.target/server/c/server.o
LINK(target) Release/server
LINK(target) Release/server: Finished
Simple client
18:01.325076000 INFO: OCStack: Entering OCInit
18:01.326822000 INFO: OCStack: Client mode: CAStartDiscoveryServer
✓ @ 11: OCInit in OC_CLIENT mode has succeeded
18:01.469310000 INFO: OCStack: Entering OCDoResource
✓ @ 153: OCDoResource for discovery has succeeded
✓ @ 154: The resulting handle contains a non-null property named "handle"
18:01.570349000 INFO: OCStack: Entering RequestPresence
18:01.674321000 INFO: OCStack: Entering RequestPresence
18:01.776218000 INFO: OCStack: Entering RequestPresence
18:01.876331000 INFO: OCStack: Entering RequestPresence
18:01.976455000 INFO: OCStack: Entering RequestPresence
18:02.79768000 INFO: OCStack: Entering RequestPresence
18:02.179916000 INFO: OCStack: Entering RequestPresence
18:02.282116000 INFO: OCStack: Entering RequestPresence
18:02.387360000 INFO: OCStack: Entering RequestPresence
18:02.387415000 INFO: OCStack: Enter HandleCARequests
18:02.492483000 INFO: OCStack: Entering RequestPresence
18:02.594795000 INFO: OCStack: Entering RequestPresence
18:02.594850000 INFO: OCStack: Enter HandleCAResponses
18:02.594881000 INFO: occlientcb: comparing tokens
18:02.594922000 INFO: occlientcb: 67 C6 69 73 51 FF 4A EC
18:02.594930000 INFO: occlientcb: 67 C6 69 73 51 FF 4A EC
18:02.594953000 DEBUG: OCStack: Response has the token g?isQ?J?
18:02.594963000 INFO: OCStackObserve: Observer node not found!!
18:02.594969000 INFO: OCStack: There is a cbNode associated with the response token
18:02.594974000 INFO: OCStack: This is a regular response, A client call back is found
18:02.594978000 INFO: OCStack: Calling into application address space
✓ @ 1279: OCDevAddrToIPv4Addr has succeeded
✓ @ 1279: OCDevAddrToPort has succeeded
✓ @ 1280: OCDoResource discovery handler was called
18:02.596388000 INFO: OCStack: Entering OCDoResource
18:02.596466000 INFO: occlientcb: deleting tokens
18:02.596481000 INFO: occlientcb: 67 C6 69 73 51 FF 4A EC
18:02.700079000 INFO: OCStack: Entering RequestPresence
18:02.700105000 INFO: OCStack: Enter HandleCAResponses
18:02.700109000 INFO: occlientcb: comparing tokens
18:02.700116000 INFO: occlientcb: 29 CD BA AB F2 FB E3 46
18:02.700121000 INFO: occlientcb: 29 CD BA AB F2 FB E3 46
18:02.700124000 DEBUG: OCStack: Response has the token )ͺ????F
18:02.700128000 INFO: OCStackObserve: Observer node not found!!
18:02.700131000 INFO: OCStack: There is a cbNode associated with the response token
18:02.700134000 INFO: OCStack: This is a regular response, A client call back is found
18:02.700137000 INFO: OCStack: Calling into application address space
/Users/spoussa/src/iot/iotivity-node/tests/tests/simple-client.js:127
JSON.parse( response.resJSONPayload ).oc[ 0 ],
^
TypeError: Cannot read property '0' of undefined
at /Users/spoussa/src/iot/iotivity-node/tests/tests/simple-client.js:127:51
at null. (/Users/spoussa/src/iot/iotivity-node/tests/test-utils.js:31:29)
at wrapper as _onTimeout
at Timer.listOnTimeout (timers.js:110:15)
/Users/spoussa/src/iot/iotivity-node/tests/suite.js:32
throw new Error( error.test + " exited with code " +
^
Error: /Users/spoussa/src/iot/iotivity-node/tests/tests/simple-client.js exited with code 1 and signal null.
at /Users/spoussa/src/iot/iotivity-node/tests/suite.js:32:12
at /Users/spoussa/src/iot/iotivity-node/node_modules/async/lib/async.js:148:21
at ChildProcess. (/Users/spoussa/src/iot/iotivity-node/tests/suite.js:21:7)
at ChildProcess.emit (events.js:110:17)
at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
npm ERR! Test failed. See above for more details.
Repair build first.
The text was updated successfully, but these errors were encountered: