891c5e0cc8
A nuttx with the matter command can be compiled using cmake and enable CONFIG_MATTER option. The matter compiled by the current script is just a lighting example of a limited number of commands that can be tested by chip-tool. After nuttx is connected to the LAN and the matter command is executed, other devices in the LAN, such as linux PCS, can run the following commands to scan, connect, turn on and off, adjust brightness and contrast, and so on. chip-tool pairing onnetwork 1 20202021 chip-tool onoff on 1 1 chip-tool levelcontrol move-to-level 128 10 0 0 1 1 chip-tool colorcontrol move-to-hue-and-saturation 240 100 0 0 0 1 1 Depends on the following configuration options: CONFIG_CRYPTO_MBEDTLS=y CONFIG_DEV_URANDOM=y CONFIG_LIBCXX=y CONFIG_LIBM=y CONFIG_NET_IPv6=y CONFIG_NET_ICMPv6=y CONFIG_NET_ICMPv6_AUTOCONF=y CONFIG_NET_ICMPv6_NEIGHBOR=y CONFIG_NET_ICMPv6_ROUTER=y CONFIG_NET_ICMPv6_SOCKET=y CONFIG_NET_IGMP=y CONFIG_NET_MLD=y CONFIG_NET_MLD_ROUTER=y This initial version does not yet have Bluetooth and OTA support. The community version needs to dynamically fetch the matter source code at compile time and apply the required nuttx adaptation patch. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
11 lines
252 B
Plaintext
11 lines
252 B
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
config MATTER
|
|
bool "Connected Home over IP (CHIP)"
|
|
default n
|
|
---help---
|
|
Enable the Connected Home over IP (CHIP)
|