Project Connected Home over IP¶
Project Connected Home over IP (Project CHIP) is an open-source application layer that aims at creating a unified communication standard across smart home devices, mobile applications, and cloud services. It supports a wide range of existing technologies, including Wi-Fi, Thread, and Bluetooth LE, and uses IPv6-based transport protocols like TCP and UDP to ensure connectivity between different kinds of networks.
Project CHIP is in an early development stage and must be treated as an experimental feature.
The nRF Connect SDK allows you to develop applications that are compatible with Project CHIP.
Architecture¶
Project CHIP defines an application layer on top of the IPv6-based transport protocols. This allows for routing messages regardless of the underlying physical and link layers.
The Project CHIP application layer can be broken down into several main components, from IP framing and transport management up to Data Model structure and Application itself. For detailed description, see the Project CHIP Protocol Overview page.
Integration with nRF Connect SDK¶
Project CHIP is included in the nRF Connect SDK as one of the submodule repositories managed with the West (Zephyr’s meta-tool) tool. That is, the code used for nRF Connect SDK and Project CHIP integration is stored in the Project CHIP repository (nRF Connect platform) and is compiled when building one of the available Project CHIP samples. Both instances depend on each other, but their development is independent to ensure that they both support the latest stable version of one another.
Project CHIP is located on the top application layer of the integration model, looking from the networking point of view. nRF Connect SDK and Zephyr provide the Bluetooth LE and Thread stacks, which must be integrated with the Project CHIP stack using a special intermediate layer. The nRF Connect SDK’s Multiprotocol Service Layer (MPSL) driver allows running Bluetooth LE and Thread concurrently on the same radio chip.
For detailed description, see the nRF Connect platform overview Project CHIP documentation page.
Configuration in nRF Connect SDK¶
The Project CHIP’s nRF Connect platform is built when programming any of the available Project CHIP samples to the supported development kits, which creates a Project CHIP accessory device. Such a device requires additional configuration if it is to be paired and controlled remotely over a Project CHIP network built on top of a low-power, 802.15.4 Thread network. The following figure shows an overview of the network topology with the required configuration elements.
For information about how to configure the required components, see the following documentation:
For configuring Wi-Fi Access Point and Thread Border Router:
Building and programming OpenThread RCP firmware - This will create the OpenThread RCP device required for forming the Thread network.
For setting up Project CHIP Controller and Bluetooth LE Commissioning: Building and installing Android CHIPTool
For preparing the accessory device and commissioning it: Preparing and commissioning accessory device
You can find this information in the Project CHIP sample documentation as well. If you are new to Project CHIP, check also the tutorials on DevZone.
Samples¶
See Project CHIP samples for the list of available samples.
Note
Project CHIP requires the GN tool. If you are updating from the nRF Connect SDK version earlier than v1.5.0, see Installing the required tools for installation instructions.