Source Code

Directory Structure

The CHIP src directory is structured as follows:

File / FolderContents
appApplication Layer -- Zigbee Cluster Library (ZCL)
bleBLE Layer -- Bluetooth Transport Protocol (BTP)
controllerController API
cryptoCryptography libraries
darwinDarwin Framework (iOS and macOS)
includePublic headers
inetNetwork Layer -- TCP and UDP endpoints
libCore and Support libraries
lwipLightweight IP adaptation (to third_party library)
platformDevice Layer -- platform portability adaptations
qrcodetoolQR code tool
setup_payloadQR code setup data encode / decode library
systemSystem Layer -- common APIs for mem, work, etc.
test_driverFramework for on-device testing

Darwin

Near Field Communication Tag Reading

NFC Tag Reading is disabled by default because a paid Apple developer account is required to have it enabled. If you want to enable it and you have a paid Apple developer account, go to the CHIPTool iOS target and turn on Near Field Communication Tag Reading under the Capabilities tab.