Coder Social home page Coder Social logo

Comments (4)

ibelem avatar ibelem commented on June 30, 2024

Update: Dev will not fix this right now, will define the APIs and implement them

from iotivity-node.

gabrielschulhof avatar gabrielschulhof commented on June 30, 2024

Actually, I just realized the root cause. It requires the followings:

  1. The client and the server are running on the same machine.
  2. The machine on which they are running has multiple network interfaces.

In this case, devices and resources will be discovered multiple times, resulting in duplicate events.

Thus, if you leave a total of one interface up on the test device, this error will go away.

Still, I believe this should be fixed in the higher-level API implementation, and it can be fixed, but we must be able to compare discovery handles.

from iotivity-node.

gabrielschulhof avatar gabrielschulhof commented on June 30, 2024

I think I'll change the test to de-dupe the incoming events, unless we decide that we wish to address this corner case in the implementation.

from iotivity-node.

wanghongjuan avatar wanghongjuan commented on June 30, 2024

Hi, @gabrielschulhof this issue doesn't reproduced on Joule 570x with image#191, but it is still exists on Galileo with image#508 and Joule with image#190. It is confused me, because the iotivity-node version is 1.1.0-4 on image#190/191, so I compare the difference between image#190 and image#191, there is a new commit d216381 added into image#191, could you help to confirm this issue whether is relevant with the commit? If no, why this issue doesn't reproduced on image#191?

from iotivity-node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.