Requirements and setup
This page outlines the requirements that you need to meet before you start working with the KNX IoT add-on and KNX IoT protocol.
Hardware requirements
To use the KNX IoT add-on, you need one of the following development kits:
Hardware platforms |
PCA |
Board name |
Board target |
|---|---|---|---|
PCA10184 |
|
||
PCA10184 |
|
||
PCA10156 |
|
Software requirements
To work with the KNX IoT add-on, you need to install the nRF Connect SDK, including all its prerequisites and the nRF Connect SDK toolchain. Follow the Installing the nRF Connect SDK instructions, with the following exception:
In the Get the nRF Connect SDK code section, click Create a new application. Select Browse nRF Connect SDK Add-on Index, then choose KNX IoT. Select v0.1.0 of the KNX IoT add-on. This step also installs nRF Connect SDK v3.4.0.
You can initialize the workspace in two alternative ways:
Initialize a new workspace:
In the Get the nRF Connect SDK code, run the following command to initialize west with the KNX IoT add-on, which also initializes nRF Connect SDK v3.4.0:
Initialize
ncsfor the KNX IoT add-on:west init -m "https://github.com/nrfconnect/ncs-knx-iot"Update the nRF Connect SDK modules:
west update
Include the add-on in the existing nRF Connect SDK workspace:
Assuming you have an existing nRF Connect SDK workspace in the
ncsfolder, run the following commands:Navigate to the workspace folder:
cd ncsClone the KNX IoT add-on repository:
git clone https://github.com/nrfconnect/ncs-knx-iotSet manifest path to the KNX IoT add-on directory:
west config manifest.path ncs-knx-iotUpdate the nRF Connect SDK modules:
west update
If you ever need to go back to using the nRF Connect SDK without the KNX IoT add-on, run these commands:
Configure the manifest path back to the nRF Connect SDK directory.
west config manifest.path nrfUpdate nRF Connect SDK modules
west updateCheck the current manifest path with the following command:
west config manifest.pathThe output should be:
nrfThis means that the current workspace is using the nRF Connect SDK.