Last issue covered the road from PoC to production, and the conclusion was: when a fleet scales, the ledger breaks before the network does. Once the ledger is built, credentials are governed, and bulk import works, the project moves into its next stage — the supplier hands you several hundred or several thousand devices. How do you take delivery?

This question does not exist in the pilot phase: twenty devices, unbox, power on, join — done. At production scale, an inspection process that does not scale up turns "a bit of trouble" into a bad batch sitting in your warehouse — devices lying on a shelf for three months, installed on site, only then failing to join. By then the supplier's warranty clock is running, the project schedule is running, and the installer's travel budget is running. Stopping problems before goods leave the warehouse is the highest-leverage gate in the whole delivery chain.

This issue lays out factory acceptance in full: checking the shipping paperwork, what to inspect at unboxing, how to sample, how gateway acceptance differs from end-device acceptance, how to handle failed batches, and how acceptance results connect to the ledger from last issue.

1. Acceptance Screens Money, Not Just Devices

Run the numbers first. Suppose one thousand devices ship to forty installation sites across three cities, and before dispatch you discover that one batch's AppKey labels do not match the provisioned keys:

  • Caught before dispatch: the supplier recalls the batch; the cost is essentially logistics, and the schedule is untouched
  • Caught in the warehouse: incoming inspection catches some of it, but anything already imported into the platform must be audited device by device
  • Caught in the field: the installer arrives, mounts the device, the device never comes online, a troubleshooting round reveals a credential mismatch, and a revisit is scheduled. At a few hundred RMB per site visit, even a 5% issue rate on fifty bad devices means thousands of RMB in hidden cost — before counting schedule slip

The math defines the division of labor: the supplier's inspection report answers "the devices were good when they left the factory"; your acceptance answers "they are still good when they reach you, and they match the ledger". Between those two points lie transport, warehousing, and repacking — any of which can introduce new problems: scuffed labels, electrostatic damage, wrong batch shipped. Acceptance is not distrust of the supplier; it nails the responsibility boundary down to the last screw.

Put the acceptance criteria in the purchase contract, not in an email thread. At minimum the contract must state three things: the acceptance standard (which specification it references), the sampling plan (what proportion, what pass line), and the remedy for failed batches (rejection, replacement, or rework — and who bears the cost).

2. The Three Shipping Documents: Missing One Pauses Acceptance

Before opening a single box, check the paperwork. Last issue introduced the batch manifest (each device's EUI, keys, hardware version, firmware version) — it is the source of the ledger import and the backbone of acceptance verification. A proper delivery includes at least three documents:

  • Packing list: batch numbers, quantities, per-carton breakdown. Check quantity first, then batch — mixed batches are the most common and the most insidious delivery defect
  • Batch manifest: the device list file, with the fields from last issue (DevEUI, AppKey or JoinEUI/key reference, hardware version, firmware version). Note that the manifest is a verification target, not an import target — verify first, import second. Reversing the order puts wrong data straight into the ledger
  • Factory inspection report: the supplier's own test records — RF metrics, burn-in results. Its value is not the data itself but the scope of the supplier's commitment — if your sampling failure rate is materially higher than the report's pass rate, that gap is your negotiating and claims evidence

If any of the three is missing, pause acceptance and record it in writing. This is not pedantry: a batch without a manifest means the ledger has no source; a batch without an inspection report means the quality commitment has no anchor.

3. Unboxing Verification in Five Steps

Once the documents check out, open the boxes. Unboxing verification aims to filter out every problem that is visible without instruments, in five steps:

Step one, quantity and batch reconciliation. Physical count against the packing list; in-carton batch marks against the contract batch. Mixed or mis-shipped batches surface here — the cheapest possible discovery point.

Step two, appearance and packaging. Cracked enclosures, bent pins, bulging batteries (for battery-powered end devices), displaced seals (for IP65/IP67 devices). Electrostatic and drop damage may not be visible, so devices from damaged cartons get flagged and pushed into the sampling pool.

Step three, label verification. The most underestimated step with the heaviest consequences. Confirm device by device that the DevEUI on the label is legible and the barcode or QR code scans — last issue established that the ledger tracks assets, not device names, and the anchor between ledger and physical unit is exactly this label. Faded labels, missing labels, duplicate EUIs (two devices with the same DevEUI) are all nonconforming. Duplicates almost never appear in a pilot; at ten-thousand-unit volumes they are a real production-line accident, and labels are the only place you will catch them — a join test may even succeed, because duplicated DevEUIs joining separately do not always expose the conflict immediately.

Step four, batch-consistency spot check. Pull random entries from the manifest and compare them against physical labels. This step verifies that the manifest and the devices are the same batch — transcribed manifests, shifted rows, and batches padded from other lots all surface through spot checks.

Step five, firmware version check. Compare the manifest's firmware version against the actual device version. A mismatch has two remedies: have the supplier update to the target version on the spot, or treat the batch as mis-versioned under the contract. Last issue noted that whether a 1.0.x device can ever join a multicast session depends on whether GenAppKey was provisioned on the production line — that decision hardens the moment the device ships. Finding wrong provisioning at acceptance is the last cheap chance to fix it.

4. How to Sample: Proportion, Items, Pass Line

Full inspection is unrealistic at production scale — a join test per device means a thousand devices cost a day of test-bench time plus a day of ledger time. The engineering answer is sampling per GB/T 2828.1 (ISO 2859 equivalent, sampling procedures for inspection by attributes), with sample size set by lot size and general inspection level II, and AQL agreed in the contract — strict for credential-critical items, relaxed for cosmetic ones.

Sampling items fall into three layers, ordered by "can it join, and is it accurate once it does":

  • Credential layer (mandatory, every sample): run OTAA join tests on the sampled units against a network server pre-loaded with the manifest data. A successful join proves that the device label, the manifest, and the platform's provisioned record all correspond; a failure follows last issue's troubleshooting order — check the ledger transcription first, the radio second. This is the single most informative action in the whole inspection: one successful join simultaneously validates key mapping, RF transmit and receive, and the MAC-layer implementation
  • RF layer: record an RSSI/SNR baseline for sampled units at a fixed position against a fixed test network; investigate any unit that deviates strongly from its batch. The goal is not absolute accuracy but intra-batch consistency — a direct reading of production-line process stability
  • Functional layer: verify the critical function per device type — temperature/humidity units for plausible readings, analog-input units for channel response, dry-contact units for trigger reporting. Function items may be simplified; the credential item may not

Write the pass line into the contract, for example: credential layer (join success) with zero failures in sample — one failure fails the whole batch; appearance and function judged by AQL. The principle: credential defects get no statistical mercy — a wrong key is not "normal process variation"; it is a production-line configuration error, and one wrong unit usually means a wrong batch.

5. The Gateway-Specific Items

A gateway is not "a bigger end device"; several acceptance items belong to gateways alone:

  • Power-on self-test and backhaul links. For indoor gateways (such as the GD61x series), verify backhaul per the deployment form: Ethernet link negotiation, Wi-Fi association, 4G module registration and SIM validity. The three links are a fallback cascade — acceptance must verify the primary link plus at least one fallback, not merely "it can get online"
  • Network-server registration. A gateway registers on the platform with its ID/credentials; acceptance performs one real registration and confirms data-plane uplink (gateway status online, packet counters increasing). Registration touches backhaul protocol and server configuration; the deployment and backhaul-protocol articles covered the pitfalls — acceptance walks those pitfalls before the goods leave the dock
  • Antenna and RF front end. Verify the antenna connector type, confirm the antenna is fitted, and check the uplink packet statistics after power-on. Half of all "gateway receives nothing" problems trace to antennas and feedlines; factory acceptance turns "received packets normally at the factory" into documented fact
  • Update-path rehearsal. On sampled units, push one gateway firmware package once (the A/B partition mechanism covered in the OTA article makes failures recoverable). Compatibility between factory firmware and update packages is exactly the kind of problem only a rehearsal exposes

Gateway counts are usually far smaller than end-device counts — a few to a few dozen per coverage area — so sampling can scale up to full inspection. A gateway is the convergence point for every device under it; one bad gateway affects everything it covers.

6. Three Remedies for a Failed Batch

When sampling fails, the remedy is pre-agreed in the contract — no on-the-spot bargaining:

  • Reject the batch: the default for credential-layer failures. The whole batch returns to the supplier; replacement cost and schedule liability follow the contract. On the ledger side, mark the batch "rejected" and archive the manifest without importing it into the production platform
  • Concession: for minor cosmetic or functional defects, accept at a contract discount or with replenishment, marking nonconforming units individually and keeping them out of the installation sequence. Concession decisions need written records — a verbal OK is no OK
  • Supplier rework on site: for repairable items such as wrong firmware versions, the supplier re-flashes at the delivery location and resubmits. Re-inspect to the original standard after rework — rework is not acceptance

All three paths share one prerequisite: batch quarantine. The moment a failure is ruled, the whole batch moves to a segregated storage zone and the ledger marks it disabled, so nothing leaks to an installation site. Last issue's ledger lifecycle states — in stock, in use, repair, retired — gain one more state here: "pending inspection". Every delivered device sits in pending inspection until acceptance completes, then moves to in stock.

7. After Acceptance: Stock-In Is Ledger-In

The final step of acceptance lands its results into the ledger, closing the loop with last issue:

  • Accepted batches: import the manifest into the platform (Excel bulk import or API, per last issue's flow), then spot-check one or two devices for online status — the ledger entry and the platform's live state must correspond before stock-in is closed
  • Spares and retained samples: carve a spares pool and retained samples out of accepted batches, grouped separately in the ledger. There is no universal spares ratio; 3-5% of installed volume is a common range, raised for harsh environments or devices with discontinuation risk
  • Archive the paperwork: packing lists, manifests, inspection reports, and acceptance records filed per batch, retained at least through the warranty period plus one maintenance cycle. Last issue said history follows the asset — the acceptance file is page one of that asset's history

The delivery chain now closes end to end: the production line provisions credentials (first half of last issue) → the manifest ships with the batch → factory acceptance verifies → accepted stock enters the ledger → gated rollout brings it online. Next issue covers the last link in the chain: once the devices are mounted, how to build the operations SOP.

8. The Acceptance Checklist

Everything above compresses into one executable page — tick each item on acceptance day:

  1. Three shipping documents complete (packing list / batch manifest / factory inspection report)
  2. Physical count matches the packing list; no mixed batches
  3. Appearance inspection done; damaged cartons flagged separately
  4. Every label legible and scannable; no duplicate EUIs
  5. Manifest spot check matches physical labels
  6. Firmware versions match the manifest (including multicast provisioning, where contracted)
  7. Sampling plan and AQL executed per contract
  8. Sampled units pass OTAA join tests; credential layer with zero failures
  9. RF baselines recorded; no intra-batch outliers
  10. Gateway backhaul links, platform registration, and update rehearsal all completed
  11. Failed batches quarantined and dispositioned in writing
  12. Accepted batches imported into the ledger; online spot check passed
  13. Spares and retained samples carved out; shipping documents archived

None of these items needs advanced tooling. They need exactly two things: acceptance criteria written into the contract, and the ledger system from last issue. Acceptance is not distrust of your supplier — it turns "good at the factory, good on arrival, ledger matching reality" into a provable fact. The larger the project, the cheaper this gate.