Learn more about Matter here
Note: These steps are supported on:
Each developer preview release is compatible with a certain SHA from this repository.
cfc35951be66a664a6efdadea56d1b8ea6e63e96
cfc35951be66a664a6efdadea56d1b8ea6e63e96
Note: The profile will expire automatically after some time
Download the profile
Email the profile to an account that is configured on your device running iOS/iPadOS 15.6 (or greater)
Selecting the profile in Mail on your iOS/iPadOS 15.6 (or greater) device will present an option to install the profile
Restart the device
Note: The profile will expire automatically after some time
Note: The profile will expire automatically after some time
Note: Developer mode is a great way to get logs from your device as well as enables other useful developer tools
To enable developer mode, please follow the instructions here
cfc35951be66a664a6efdadea56d1b8ea6e63e96
: $ git checkout cfc35951be66a664a6efdadea56d1b8ea6e63e96
In order to work with iOS/iPadOS/tvOS 15.6 or greater, device types as defined in the Matter Device Library spec are used to determine accessory categories. Ensure the right device type is set for each endpoint.
all-clusters-app
as an example, this can be set in FIXED_DEVICE_TYPES
, FIXED_DEVICE_TYPE_OFFSETS
, and FIXED_DEVICE_TYPE_LENGTHS
in endpoint_config.h
all-clusters-app
(feel free to search for more in the tree by looking for the above keys)Example:
// Array of device types #define FIXED_DEVICE_TYPES { { 0x0016, 1 }, { 0x0100, 1 }, { 0x0100, 1 }, { 0xF002, 1 } } // Array of device type offsets #define FIXED_DEVICE_TYPE_OFFSETS { 0, 1, 2, 3 } // Array of device type lengths #define FIXED_DEVICE_TYPE_LENGTHS { 1, 1, 1, 1 }
Type | Decimal | HEX |
---|---|---|
Lightbulb | 256 | 0100 |
Lightbulb + Dimmer | 257 | 0101 |
Switch | 259 | 0103 |
Contact Sensor | 21 | 0015 |
Door Lock | 10 | 000A |
Light Sensor | 262 | 0106 |
Occupancy Sensor | 263 | 0107 |
Outlet | 266 | 010A |
Color Bulb | 268 | 010C |
Window Covering | 514 | 0202 |
Thermostat | 769 | 0301 |
Temperature Sensor | 770 | 0302 |
Flow Sensor | 774 | 0306 |
Note: These instructions are specific to getting started with the (Matter-provided) all-clusters-app
on an ESP32-based M5Stack, however can be generalised to work on most platforms (more listed below)
Note: These instructions are specific to getting started with the (Matter-provided) “lighting-app” on an Nordic-based NRF52840, however can be generalised to work on most platforms (more listed below)
Checkout and setup Matter repo as per the instructions above
Follow these instructions initialize your development environment, compile the firmware and flash your hardware.
Note: Most platforms have very similar, if not the same configuration requirements