chip-tool Tips
chip-toolのログに出てくるTOOやCTL等の意味はこちら。
コマンド Tips
chip-toolにMatterデバイスを繋げる
- nodeID:任意の番号。何番に登録するかを指定。お好みで!
- payload:Matter機器についてくる11桁の数字
- -paa-trust-store-path:市販品を繋げて確認したいならproduction配下を使用
$ ./chip-tool pairing code <nodeID> <payload> --paa-trust-store-path ../../../../credentials/production/paa-root-certs/
その他
# ルートノード(Endpoint0)にぶら下がってるエンドポイント確認
$ ./chip-tool descriptor read parts-list <nodeID> 0
...
[1765180888.363] [277:279] [TOO] Endpoint: 0 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 3079197256
[1765180888.363] [277:279] [TOO] PartsList: 1 entries
[1765180888.363] [277:279] [TOO] [1]: 1 ★エンドポイント1がある!
...
# デバイスタイプ確認
$ ./chip-tool descriptor read device-type-list <nodeID> <endpoint>
...
[1765181104.347] [280:282] [TOO] Endpoint: 1 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 3184837061
[1765181104.347] [280:282] [TOO] DeviceTypeList: 1 entries
[1765181104.347] [280:282] [TOO] [1]: {
[1765181104.347] [280:282] [TOO] DeviceType: 269 (Extended Color Light) ★extended Color Light
[1765181104.347] [280:282] [TOO] Revision: 4
[1765181104.347] [280:282] [TOO] }
...
# クラスタ確認
$ ./chip-tool descriptor read server-list <nodeID> <endpoint>
...
[1765181645.358] [288:290] [TOO] Endpoint: 1 Cluster: 0x0000_001D Attribute 0x0000_0001 DataVersion: 3184837061
[1765181645.358] [288:290] [TOO] ServerList: 6 entries
[1765181645.358] [288:290] [TOO] [1]: 29 (Descriptor)
[1765181645.358] [288:290] [TOO] [2]: 3 (Identify)
[1765181645.358] [288:290] [TOO] [3]: 4 (Groups)
[1765181645.358] [288:290] [TOO] [4]: 6 (OnOff)
[1765181645.358] [288:290] [TOO] [5]: 8 (LevelControl)
[1765181645.358] [288:290] [TOO] [6]: 768 (ColorControl)
...