blob: ad40f1a0807d02b68d92d1fb588eeba5f67bf0cc [file] [log] [blame] [view]
Justin Woodc9bbb252020-03-03 10:03:58 -08001## Source Code
Martin Turonba2b6a52020-05-29 11:19:00 -07002
3### Directory Structure
4
Andrei Litvina76f75e2022-04-13 08:34:42 -10005The CHIP `src` directory is structured as follows:
Martin Turonba2b6a52020-05-29 11:19:00 -07006
7| File / Folder | Contents |
8| ------------- | -------------------------------------------------- |
9| app | Application Layer -- Zigbee Cluster Library (ZCL) |
10| ble | BLE Layer -- Bluetooth Transport Protocol (BTP) |
Martin Turonba2b6a52020-05-29 11:19:00 -070011| controller | Controller API |
12| crypto | Cryptography libraries |
Rob Walker00c01602020-10-14 18:55:02 -070013| darwin | Darwin Framework (iOS and macOS) |
Martin Turonba2b6a52020-05-29 11:19:00 -070014| include | Public headers |
15| inet | Network Layer -- TCP and UDP endpoints |
16| lib | Core and Support libraries |
17| lwip | Lightweight IP adaptation (to third_party library) |
18| platform | Device Layer -- platform portability adaptations |
19| qrcodetool | QR code tool |
20| setup_payload | QR code setup data encode / decode library |
21| system | System Layer -- common APIs for mem, work, etc. |
22| test_driver | Framework for on-device testing |
shana-apple86254632021-01-21 03:14:03 +010023
24#### Darwin
25
26##### Near Field Communication Tag Reading
27
28NFC Tag Reading is disabled by default because a paid Apple developer account is
Victor Morales9e8d2682021-09-14 09:34:55 -070029required to have it enabled. If you want to enable it and you have a paid Apple
shana-apple86254632021-01-21 03:14:03 +010030developer account, go to the CHIPTool iOS target and turn on Near Field
31Communication Tag Reading under the Capabilities tab.