What end-of-line testing is, and why Matter makes it unavoidable
End-of-line testing is the fixed set of checks every finished unit passes on the production line before it is packed, and for a Matter device it exists because the certificate proves a design while the customer experiences a specific physical box that must individually carry its identity, its keys and its setup code. Certification testing, by contrast, exercises a representative sample against the conformance specification; it is rigorous but it is not per-unit. The moment a brand ships thousands of sensors, the question stops being "is the design conformant" and becomes "does this particular unit actually have its attestation credential burned in, the right firmware, and a setup code that matches its label". A line that ships without answering those questions per unit is shipping lottery tickets. We treat end-of-line testing as a first-class programme, not a final glance.
The four checks every Matter unit gets before it ships
These are the non-negotiable stations. Skipping any one of them is how a "certified" product earns a reputation for not pairing.
Device-attestation credentials and the DAC
Every unit must carry its device-attestation credential — the per-device certificate chained to a Product Attestation Intermediate and ultimately a Product Attestation Authority — because without it the device cannot complete Matter commissioning and cannot be trusted by any controller. On the line this is a read-back: the station queries the secure element or the provisioned storage and confirms a valid, unique credential is present and correctly chained, not a blank chip or a duplicated one. A duplicated credential is a subtle and serious fault — it lets two devices share an identity, which breaks the trust model and can get a Vendor ID flagged. We read back and log uniqueness per unit, because the attestation chain is the single most important thing a factory controls that a brand never sees until it is missing.
Commissioning into a test fabric
Commissioning each unit into a short-lived test fabric proves the device can actually be paired, that its attestation chain validates during a real commissioning handshake, and that the setup code printed on its label matches the one burned into the device — the three things a customer's controller will do on day one. This is the check that turns "it boots" into "it joins". The test fabric is created, the unit is commissioned with its own setup code, a basic cluster read is performed to confirm liveness, and then the fabric is discarded so no customer ever inherits a half-commissioned device. A unit that fails to commission here is exactly the unit that would generate a return at a customer's front door, so catching it costs pennies on the line and dollars plus reputation in the field.
RF and radio verification
Radio verification confirms the unit meets its declared RF specification — output power, frequency accuracy and, where relevant, sensitivity — using a shielded test fixture or a conducted measurement, so a unit with a damaged antenna, a bad module placement or a mis-tuned radio does not ship. This is distinct from the formal radio certification done on the design; it is a production sanity check that the specific unit's radio is healthy. Because every device rides a standard CSA-certified Matter connectivity module, the radio behaviour is largely fixed by the module, but the antenna, the enclosure and the assembly still influence the result, and those are exactly the variables that vary unit to unit. We measure rather than assume.
Setup code, MAC, serial and label
The final station binds the physical label to the device's identity — the MAC address, the serial number and the setup code — and confirms the printed code matches the one the device answers to, because a mismatch between label and firmware is the most common cause of a customer who cannot pair a perfectly good sensor. This binding is also the traceability backbone: every unit that leaves the line carries a serial that links back to its test results, its batch and its components. For a security brand that later needs to answer a field failure or a compliance question, that link is the difference between a confident reply and a shrug.
Why this is different from lab validation
Laboratory validation proves the prototype matches its specification across stress, environmental and EMC conditions, while end-of-line testing proves the production unit matches the validated design at shipping volume — two different jobs that a brand sometimes conflates into one "we tested it" claim. We run both, and we keep them separate on purpose. The validation programme, covered in our factory-validation notes, is where we learn the design's limits; the end-of-line programme is where we defend those limits against the noise of mass production — component lot variation, operator error, a mis-set fixture. A brand that asks only "is it certified" is asking about the design. The question that protects the shipment is "did this unit pass the line".
What it costs a brand, and what it saves
A disciplined end-of-line programme adds a per-unit test cost and a line-station investment, but it removes the far larger cost of field returns, first-pairing support tickets and the reputational damage of a product that is "certified but won't connect" — which for a security brand is doubly dangerous because a sensor that fails to pair is a sensor that does not protect the home. We scope the test stations into the programme from the quotation stage, because bolting line testing on after tooling is built is slower and more expensive than designing the fixtures and the logging in from the start. The brand sees the yield report per batch, not just a pass-fail on the certificate.
Factory stance: we test the box, not just the design
Shenan Yangguang designs, prototypes, validates and mass-produces Matter security hardware, and we run end-of-line testing as a standard part of every certified programme we build — we do not relabel a third party's product and hope its line was disciplined. Every unit we ship has passed attestation read-back, a real commissioning into a test fabric, RF verification and identity-label binding, with results logged against its serial number. Where a brand brings its own Vendor ID, we provision and verify against that identity so the Distributed Compliance Ledger entry the brand owns stays clean. We would rather spend a few seconds per unit on the line than hand a brand a pallet of devices that pair only sometimes.
For how the attestation chain itself is built and why duplication matters, see our device-attestation and counterfeit protection guide; for the validation programme that precedes the line, our factory validation notes cover the lab side.