跳到主要内容

Phase 1 — Fabric bootstrap

Layer: JS + cloud (optional native KeyStore)

Ensure the active home is a Matter fabric with credentials ready. No native Matter radio or ChipTool activity yet.

StepCallerCalleeWhat
1Commissioning hookstore.getCurrentHome()Get active home
2isFabricReady()Matter home? consent needed?
3(if needed)fabric.convertToFabric()Cloud: convert group → fabric
4runFabricCommissioningfabric.getFabricDetails()Fetch root CA, IPK, fabricId, CATs
5(if no user NOC yet)fabric.issueUserNoC()Cloud: issue user operational cert
6user.storePrecommissionInfo(...)Persist NOC + fabric creds for native

Native touch (pre-commission)

ESPMatterModule.generateCSR() may run in the user-NOC path — creates Android KeyStore key + PKCS#10 CSR. This is the user NOC (Phase 1), not the device’s node cert in Phase 5.

What could go wrong

Fabric conversion declined → user navigates back. issueUserNoC fails or group id mismatch → error phase with fabric/credential messages.

See Prepare a fabric for commissioning.

On this page