Search code examples
openthread

What is the difference between Weave and Openthread?


I would like to work on Weave but I noticed that Nest has open sourced Openthread instead. I would like to get my hands dirty with Openthread but if someone can answer these questions for me I would really appreciate that.

  1. Is one preferred over the other for certain applications. If so, what are they?
  2. Will devices running Openthread be directly compatible with ones running Weave?
  3. Will these devices be able to communicate with Android devices as is or is future support in Android being planned?
  4. What soc's or emulators can I test Openthread on?

Thanks in advance!


Solution

  • First Question

    Succinctly, in terms of the OSI model:

    It is important to differentiate OpenThread and Thread. OpenThread is an open-source implementation of the Thread standard.

    Both technologies are designed to be used (albeit in different ways) in residential settings on the following loose categories of embedded devices:

    • Embedded devices that need to be able to reliably communicate with each other under adverse conditions, like a power outage or a fire.
    • Battery-operated embedded devices that need to be able to last for many years without changing or recharging the battery.
    • Sensor networks for monitoring things like temperature, motion, humidity, etc.

    Second Question

    The implication of your question is that the two technologies are mutually exclusive, or that they somehow solve similar problems. As the cute naming implies, Thread and Weave are complementary technologies. Weave needs a network interface to communicate with other devices, and Thread provides one.

    Thread is like Wi-Fi in this way. Wi-Fi doesn't define the protocols that run over it. For example, just because a smart thermostat and a smart light switch have Wi-Fi radios doesn't mean that they can communicate with each other. It will be a similar situation with devices that have Thread-compatible radios.

    Third Question

    While there is no particular reason why you would not be able to use Thread or Weave (or both!) to communicate with devices running Android (or any other operating system), the the devil is in the details: there is no one-size-fits-all solution.

    That being said, one way is to use IPv6 routing: Thread is based on IPv6, so if you have a Thread border router, you can allow devices on a Wi-Fi network to directly communicate (via IPv6) with devices on the Thread network.

    Fourth Question

    In addition to the POSIX simulator, the CC2538 is now an officially supported hardware platform. Support for Dialog's SmartBond™ SoC family of chips is currently provided directly by Dialog.