Please enable JavaScript to view this website.

Skip to main content

Electronics Initialization — Technical Reference

This is a protocol-level description of the electronics initialization process. It is written for firmware and tooling engineers who need to understand the exact sequence of operations — reads, writes, commands, delays, and retries — well enough to reimplement it against the same tools and back-end services in another language or environment.

It deliberately avoids naming any application functions. Everything below is described in terms of operations against the tool (over OpenLink or CANopen), the BLE module, the cloud/manufacturing APIs, and a local cache.

Scope

This describes what happens on the wire and in what order, including the conditions that change the path. It does not cover the OpenLink/CANopen frame encoding itself — refer to the protocol specs for packet structure. Memory-segment names below (e.g. User Password segment) are the firmware-facing OpenLink memory segments.

Overall Flow

Sub-pages

PagePhasesCovers
Lookup & Path Selection1–2Cloud record lookup, BLE/BMS pre-checks, path branching
OpenLink Initialization3, 5M18/M12 pre-flight, identity writes, post-init actions
BLE Module Initialization4Module type detection, capability, context acquisition, write sequence, provisioning
CANopen Initialization6MX/RollOn node loop, password fallback ladder, resets
BMS Replacement Workflow750E3→51X provision, OneKey card disassociation, CANopen init

Terminology

TermMeaning
ToolThe connected device, addressed over OpenLink (M18/M12) or CANopen (MX/RollOn)
BLE moduleThe Bluetooth radio. Module types: BLE113 (legacy, no unique identity), BGM11S, BGM220, BGM13S
MPBIDHex board identifier. First bytes encode a product ID; remaining bytes encode a serial ID
METCO passwordThe highest service-access password; required before writing identity data
Cloud APIOneKey tool-record services (lookup, writable data, link/unlink, service notes)
Manufacturing APIProvisioning services (new MPBID + passwords + certs, serial-number allocation, record modify/import)
Local cacheBrowser-side IndexedDB store holding provisioned BLE records keyed by tool MPBID

Phase 8 — Completion & Cleanup

  • On success the process reports success; on any unhandled error it reports failure with a structured log (workflow, platform, serial number, adapter firmware revision, tool MPBID, error).
  • Regardless of outcome, session re-initialization state is reset under these conditions: the connection is BLE, or the product has no subsystem count, or an error occurred without a "same-subsystem" warning, or all expected subsystems have now been initialized. The port-busy flag is always cleared.

Key External Operations

OperationPurpose
Look up tool records by serial numberFind the tool's identity in OneKey
Fetch unique writable data by MPBIDRetrieve passwords, BOD, and MLS certs for an MPBID
Request product info by MPBIDDetermine whether a product is non-serializable
Provision new recordAllocate a new MPBID + passwords (+ optional certs) from Manufacturing
Allocate serial numberGenerate a region-formatted serial number
Modify tool recordLink serial number ↔ MPBID ↔ BOD
Import tool recordRegister a tool record in OneKey when missing
Link / unlink BLE record to toolAssociate or remove a BLE module record
Request item-instance event statusHydraulic service history (cycles since last service)
Reset nails-fired countNailer counter reset
Post service noteAdd an operator-visible note in OneKey
Disassociate tool from OneKey cardClear the cloud-side card association