Phase 6 — Device node NOC
Layer: Native ↔ RN/SDK ↔ cloud ↔ native
The Matter device generates a CSR; RainMaker cloud signs a node operational certificate; MTR installs it on the device. This loop runs while MatterSupport UI may still be visible or the app is backgrounded.
Call chain
Issue NOC failure
sendNocResponse rejects or calls completion(nil, error) → MTR commissioning times out.
Main RN runtime
Cloud API calls run in the main React Native JS runtime via SDK event handlers wired in ESPMatterCommissioningAdaptor.startEcosystemCommissioning.
What could go wrong
Cloud issueNodeNoC fails → NOC never reaches native completion handler → commissioning stalls. Missing currentNOCCompletion (race) → NO_COMPLETION_HANDLER. Root CA missing from currentFabricInfo → ROOT_CA_NOT_FOUND.