DDI-1 合约 — 设备直接接口 v1¶
状态: 冻结 — DDI v1.0
DDI-1 是设备固件和 FlexGalaxy 设备平台之间的有线合同。符合标准的设备与单个端点主机讲两种协议并实现下面的表面。合约被冻结:断线更改将转到新的主要版本 (DDI v2),而 v1 中的附加更改(新可选字段、新错误代码、新事件类型)永远不会破坏符合要求的设备 — 请参阅 §10 版本控制。固件必须忽略未知字段。
备注
这是冻结的 DDI v1.0 线路合约的 设备集成商视图 - 固件开发人员构建的表面。是一种稳定的对外呈现; §10 中的版本控制策略控制其更改方式。通过您的集成联系人报告歧义或可疑的差异。
小技巧
构建固件?从 设备 SDK 开始 — 多语言设备 SDK(Python、Android/Java、C、C++)为您实现此合约。此页面是 SDK 所遵循的底层线路参考。
1. Endpoints + transport¶
设备与一个端点主机使用两种协议。每个部署值(主机、CA 链)在引导刻录时配置 — 固件不得硬编码主机名。
协议 |
端口 |
TLS |
用于 |
|---|---|---|---|
HTTPS(HTTP/2 + HTTP/3) |
443 |
带有设备证书的 mTLS |
配置、凭证轮换、命令确认、OTA 轮询、诊断包上传、时间同步 |
MQTT 5.0 |
8883 |
带有设备证书的 mTLS |
遥测、属性报告+确认、命令接收、持久事件、心跳、日志流 |
The HTTPS origin requests and verifies a device certificate when one is presented, but permits a certificate-free TLS connection for first boot. Only identify, provision, and the public time fallback are usable without a device certificate. Rotation, discovery, OTA, and every other post-provision operation require a verified, non-revoked device certificate at the route boundary; an invalid or revoked presented certificate fails TLS rather than being treated as anonymous.
v1 固件必须实现 HTTPS + MQTT。遥测、属性报告、事件、命令接收和共享属性推送仅存在于 MQTT 表面 (§4); v1 中没有 HTTPS 载体。受限设备可以仅实现 HTTPS,放弃 §4 功能(请参阅功能矩阵)。
端点主机名约定: things.<deployment-domain>(例如,用于托管环境的 things.flexgalaxy.ai)。在刻录时配置。
2. Identity + authentication¶
2.1 首次识别之前¶
工厂烧录的设备首先是:
证明令牌 — 由工厂在燃烧时颁发;不透明承载(~256 位)在第一个
POST /ddi/v1/identify上呈现为Authorization: Bearer <attestation>。按设备或按批次,由工厂自行决定。TLS 信任锚 — 平台根 CA + 部署中间 CA,在刻录时烘焙到固件中;用于验证端点的 TLS 链。通过固件更新进行旋转。
无设备证书 — 在配置期间颁发(§3.2)。
2.2 配置后¶
设备 X.509 证书 + 私钥(私钥在设备上生成;发送 CSR,返回签名证书)。主题 CN =
<serial>、O =<registrar-name>、OU =<model>、SAN URI =urn:fgai:thing:<thing_id>。有效期1年。CA 链 — 在 mTLS 握手中与设备证书一起呈现。
带有设备证书的 mTLS 是所有配置后流量 (HTTPS + MQTT) 的唯一身份验证机制。一旦配置成功,证明令牌就会失效。
2.3 证书轮换¶
设备应在到期前通过 POST /ddi/v1/rotate (§3.3) 轮换 ≥ 30 天。设备不得在上次成功旋转后的 1 小时内旋转(循环防护)。
3.HTTPS接口——/ddi/v1/*¶
请求体为application/json;成功响应为 application/json,错误响应为 application/problem+json (RFC 9457)。每个端点接受 Idempotency-Key 标头 (RFC 9529) — 24 小时重复数据删除窗口。
3.1 POST /ddi/v1/identify — 首次启动识别¶
Auth: 证明令牌。 幂等: 是(24 小时,由 model + sn + 密钥加密)。
Request:
{
"model": "FlexSwift MAX",
"sn": "SR202606180087",
"registrar_hint": "syrius-robotics",
"attestation_method": "factory-burn",
"firmware_version": "1.4.2",
"hardware_revision": "B"
}
成功(200):
{
"thing_id": "uuid",
"enrollment_token": "opaque-32-byte-base64",
"provision_endpoint": "/ddi/v1/provision",
"server_time": "2026-06-22T14:32:11.500Z",
"metadata": { "registrar_id": "uuid", "factory_service_id": "uuid" }
}
错误:DDI-1-403-NOT-RECOGNIZED(串行不是注册的工厂模式)、DDI-1-403-IDENTITY-BLACKLISTED(终端 - 停止重试、停止配置)、DDI-1-422-UNKNOWN-MODEL。
3.2 POST /ddi/v1/provision — 配置¶
Auth: 证明令牌 + 来自 §3.1 的 enrollment_token。 **幂等:**是的。
**生产模式(生产固件所需):**设备在设备上生成密钥对(TPM/安全飞地),发送 CSR,并接收签名的证书
CA链。私钥永远不会离开设备。
请求(CSR 模式):
{
"thing_id": "uuid",
"enrollment_token": "from /identify response",
"csr_pem": "-----BEGIN CERTIFICATE REQUEST-----\n...",
"device_attributes": {
"mac_addresses": ["02:1a:2b:3c:4d:5e"],
"tpm_attestation": "optional-base64",
"uptime_seconds": 17
}
}
成功(200):
{
"cert_pem": "-----BEGIN CERTIFICATE-----\n...",
"ca_chain_pem": "-----BEGIN CERTIFICATE-----\n...",
"expires_at": "2027-06-22T14:32:11Z",
"serial_number": "0x1a2b...",
"thing_id": "uuid",
"registrar_id": "uuid",
"shared_config": {
"mqtt_endpoint": "mqtts://things.flexgalaxy.ai:8883",
"polling_interval_seconds": 30,
"telemetry_sample_rate_hz": 1
}
}
成功后,设备使用新证书切换到 mTLS 并丢弃证明令牌。
Residency refusal — DDI-1-409-REGION-MISMATCH. An account selects a home
region, and its devices provision on that region's deployment. A /provision
that would issue a certificate to this device on a deployment its account did
not select is refused, terminally, and the refusal names the region the device
must use instead:
{
"type": "about:blank",
"title": "Region mismatch",
"status": 409,
"error_code": "DDI-1-409-REGION-MISMATCH",
"home_region": "ap-northeast-2",
"plane_region": "ap-northeast-1",
"mqtt_endpoint": "ssl://things.ap-northeast-2.flexgalaxy.ai:8883",
"detail": "This account's selected home region is ap-northeast-2, so this device must provision on that region's deployment.",
"instance": "/ddi/v1/provision"
}
home_region names the region this device belongs to — the account's
selected region for a first provisioning, or the region already recorded on its
registration when a re-provision would move it — and it is the region the device
must use. plane_region is the deployment that refused; mqtt_endpoint is the MQTT endpoint for home_region
— the same value §3.9 answers for that region, so firmware may take it here or
from discovery. It is always the platform's region map answering for the
region, never the refusing deployment's own endpoint. The refusal is
terminal (no Retry-After): it states where the account belongs, and no
retry changes that.
An account that has selected no region uses the default region
(ap-northeast-1), so a first provisioning for such a device on another
deployment is this same refusal with home_region: "ap-northeast-1". And if the
platform cannot determine the account's selection at all, the answer is
DDI-1-503-BACKEND-UNAVAILABLE — retryable — never a default region and never
this refusal; "we could not ask" is not "no region was selected".
Region-restriction refusal — DDI-1-409-REGION-RESTRICTED. A platform
operator may restrict new provisioning into a region for a registrar. While
that restriction is live, a /provision that would issue a certificate for a
new device in the region is refused, terminally, and the refusal names the
restricted region:
{
"type": "about:blank",
"title": "Region restricted",
"status": 409,
"error_code": "DDI-1-409-REGION-RESTRICTED",
"plane_region": "ap-northeast-1",
"detail": "New provisioning into region \"ap-northeast-1\" is restricted for this registrar. This is terminal — retrying will not change it.",
"instance": "/ddi/v1/provision"
}
The refusal is terminal (no Retry-After), and it is distinct from
DDI-1-409-REGION-MISMATCH: a mismatch says where the device belongs and is
resolved by provisioning there, while a restriction says this registrar may not
mint new devices into this region right now — only an operator lifting the
restriction changes it. It therefore carries no home_region and no
mqtt_endpoint: the device is sent nowhere, because no deployment will accept
this provisioning. Devices already provisioned in the region are unaffected and
keep working; the restriction is consulted only when a new device is placed.
3.3 POST /ddi/v1/rotate — 凭证轮换¶
**验证:**当前设备 mTLS。 **幂等:**是;每台设备的速率限制为 1/小时。
本体{ "csr_pem": "..." }。响应的形状与 /provision 相同,但省略了 shared_config。旧证书在 24 小时重叠窗口内保持有效。
3.4 GET /ddi/v1/time — 时间同步回退¶
授权: mTLS (post-provision) 或证明 (pre-provision)。返回{ "server_time": "...", "server_time_epoch_ms": 1782489131500 }。设备应该更喜欢标准 SNTP;每个其他 HTTPS 响应也在正文中携带 server_time 或标准 Date: 标头,因此很少需要专用的 /time 调用。
3.5 GET /ddi/v1/ota/* — OTA 轮询¶
验证: mTLS。端点使用 Eclipse hawkBit DDI 线路格式,未更改 - 该合同不会重新定义它。固件应该使用 Eclipse Hara 参考客户端。
3.6 POST /ddi/v1/bundles — 诊断包上传 (chunked)¶
验证: mTLS。可断点续传、分块上传:
POST /ddi/v1/bundles→ 创建会话{kind, content_type, estimated_size, captured_from, captured_to}→{upload_id, chunk_size, presigned_post}。PUT /ddi/v1/bundles/{upload_id}/chunks/{n}→ 顺序块。POST /ddi/v1/bundles/{upload_id}/complete→{sha256, actual_size}→{bundle_id, state: "available"}。POST /ddi/v1/bundles/{upload_id}/abort→取消。
块≤ 4 MiB;失败时从最后一个成功的块恢复。
3.7 POST /ddi/v1/commands/{command_id}/ack——命令确认¶
验证: mTLS。 **幂等:**是的。命令通过 MQTT 到达(§4);设备通过 HTTPS 进行确认:
{
"state": "received | executing | succeeded | failed",
"result_payload": {},
"error": null,
"completed_at": "2026-06-22T14:35:00Z"
}
3.8 POST /ddi/v1/sentry-ingest/* — 错误报告摄取¶
验证: mTLS。与 Sentry 兼容的摄取前缀 - 将标准 Sentry SDK 指向它。认证翻译由平台端处理;从设备上它就可以工作了。
3.2 POST /ddi/v1/provision — 配置¶
备注
Migration-time operation — not part of first provisioning. A device is
provisioned and connects for the first time using the endpoint /provision
returns; it does not need this operation to do either. Discovery answers a
question a migration can change: the home region the device's registration now
names, and the MQTT endpoint for that region. A device calls it to re-resolve
that answer — after a migration has moved its registration, or when the
endpoint it holds is refused because it is no longer a device of that region —
and firmware may call it at boot for that purpose. A device whose registration
has not moved and whose stored endpoint is accepted never needs this call.
Auth: device mTLS. thing_id is taken from the verified client
certificate (SAN URI urn:fgai:thing:<thing_id>) and never from the request —
no request field is read, so a device cannot name itself, or its region, on this
call. Idempotent: yes. Read-only: no cloud-side state is created or changed.
A device's home region belongs to the device, and is answered from the device→region registration the platform holds for it — never from geography, and never from anything the device supplies. A device that has never moved and one whose record has been migrated ask the same question and each receives its own answer.
Request: {} — an empty JSON object. There is no field this operation reads.
成功(200):
{
"thing_id": "uuid",
"region": "ap-northeast-1",
"mqtt_endpoint": "mqtts://things.flexgalaxy.ai:8883"
}
mqtt_endpoint here is the endpoint of the region the registration names —
a different value from §3.2's shared_config.mqtt_endpoint, which is the
endpoint of the deployment the device provisioned against. The two agree for a
device that has never moved and diverge for one that has; that divergence is the
case this operation exists for.
Refusals, each with its own §7 code:
代码 |
HTTP |
When |
Retry (§6) |
|---|---|---|---|
|
401 |
No verified client certificate |
可选 |
|
403 |
The certificate's identity cannot be resolved to a |
可选 |
|
443 |
The registration service answered: no registration exists for this |
可选 |
|
403 |
The registration exists and names no region (an enrollment that did not complete). No default region is applied |
可选 |
|
503 |
The record names a region this deployment has no MQTT endpoint for. The deployment never falls back to its own endpoint |
retry with backoff; |
|
503 |
This deployment's region→endpoint map is unset or malformed, so it can answer for no device |
retry with backoff; |
|
503 |
The registration service did not answer, or could not be reached. "We could not ask" is never reported as "there is no such device" |
retry with backoff; |
A named region that is missing from the endpoint map is a REFUSAL, not a redirect. The tempting repair — answering with the endpoint of the deployment that received the request — would connect the device to the wrong region. Only the platform's region→endpoint map may produce an endpoint on this call, and no refusal above carries one.
Reachability. This operation is served on the same endpoint host as every
other DDI-1 call (§1), and a dedicated, globally stable name for it is in place:
discovery.flexgalaxy.ai. It resolves to the same device-facing entry as
things.flexgalaxy.ai — identical targets — so firmware may keep using the host
configured at burn time, and the name does not change across platform rollouts.
The device-facing certificate that terminates TLS for the name carries
discovery.flexgalaxy.ai as a DNS name: a TLS client that verifies the name
against the certificate authority that signs the device-facing certificate
receives a successful verification (Verification: OK), while a name the
certificate does not carry fails with a hostname mismatch. The client half of the
handshake — a device presenting its own certificate and receiving an answer on
this name — is not yet proven, and is the one open item here.
3.3 POST /ddi/v1/rotate — 凭证轮换¶
When: a region migration only. A migration reserves the target credential while the device may be offline; this operation is how the device later obtains that credential. It is /rotate plus the target shared_config: the CSR is signed against the target registration the migration holds, and the response names the MQTT endpoint of the region the device is moving to. A device that never migrates never needs this call.
Auth: device mTLS with the current (still-valid) certificate. thing_id is taken from the verified certificate and never from the request.
Idempotent: yes. A retry — with the same CSR, and before or after the device acknowledges — returns the credential that already carries the migration's reserved serial; one migration never yields two target credentials.
Request:
{ "csr_pem": "-----BEGIN CERTIFICATE REQUEST-----\n...\n-----END CERTIFICATE REQUEST-----" }
成功(200):
{
"thing_id": "uuid",
"cert_pem": "-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----",
"ca_chain_pem": "-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----",
"expires_at": "2027-11-02T00:00:00Z",
"serial_number": "a1b2c3d4e5f60718",
"shared_config": {
"mqtt_endpoint": "ssl://things.ap-northeast-2.flexgalaxy.ai:8883",
"polling_interval_seconds": 30,
"sample_rate_hz": 5
}
}
serial_number is the serial the migration reserved when it registered the device in the target region. The device acknowledges possession by presenting the new credential, and the platform retires exactly this serial if the migration is rolled back or the old credential is revoked. The old credential stays valid until that final step, which is what makes the acknowledgement safe: a device that cannot use the new credential can still reconnect on the old one. ca_chain_pem does not change across a migration — the CA is global — so no re-anchoring step is required.
Refusals, each with its own §7 code:
代码 |
HTTP |
When |
Retry (§6) |
|---|---|---|---|
|
401 |
No verified client certificate |
可选 |
|
403 |
The certificate's identity cannot be resolved to a |
可选 |
|
443 |
The migration record ANSWERED: no migration is in flight for this device |
可选 |
|
409 |
The migration exists and is not deliverable yet — it has not registered the device in the target, so no credential serial is reserved |
terminal until advanced |
|
422 |
CSR无法解析或签名无效 |
可选 |
|
503 |
The migration service did not answer, or could not be reached |
retry with backoff; |
4.MQTT 5.0表面——device/<thing_id>/*¶
端口 8883 上基于 TLS 的 MQTT,使用设备证书作为客户端证书。 CONNECT username = thing_id,password 为空(cert 为凭证)。 MQTT 5 用户属性携带关联 ID。
备注
有效负载编码。 每个 MQTT 有效负载都是相应 fgai.device.v1 消息的 二进制 protobuf 序列化。下面显示的 JSON 是字段的逻辑架构说明,而不是传输格式 — 传输是 protobuf。 (§3 中的 HTTPS 主体仍然是 JSON。)
QoS:0 用于遥测+心跳; 1 用于属性报告、事件、命令接收/确认和日志。从未使用过 QoS 2 — 具有接收端重复数据删除功能的 QoS 1 是规范模式。
What that means for delivery, stated because it is easy to read as stronger than it is. A QoS 0 publish is fire-and-forget: the broker acknowledges nothing, so a telemetry sample is at-most-once — it can be lost, and your device is never told. That is the deliberate choice for high-volume readings that the next sample supersedes. It follows that a successful publish call does not mean the reading was stored; at QoS 0 it means only that the sample was handed to the network. If a particular reading must not be lost, carry it on a QoS 1 message (attribute reports) or use an application-level acknowledgement — do not assume a guarantee here that the protocol does not give. The service side counts every telemetry record that does not reach storage, so loss is measurable rather than silent.
主题 |
方向 |
QoS |
用途 |
|---|---|---|---|
|
设备 → 云 |
0 |
时间序列值+可选地理块 |
|
设备 → 云 |
1 |
CLIENT-bucket属性(device-only-writable) |
|
云 → 设备 |
1 |
共享存储桶更新(连接时订阅) |
|
设备 → 云 |
1 |
应用共享更新后确认 |
|
云 → 设备 |
1 |
命令调度(连接时订阅);通过§3.7确认 |
|
设备 → 云 |
1 |
持久、结构化、高价值的活动 |
|
设备 → 云 |
0 |
存在(建议 30 秒;错过 > 3 → 离线) |
遥测(values 自由格式,SI 单位优先;可选规范 geo 块):
{
"ts": "2026-06-22T14:32:11.500Z",
"values": { "battery_pct": 87.3, "temp_c": 28.5, "rpm_left": 421 },
"geo": { "lat": 37.7749, "lng": -122.4194, "alt_m": 12.3, "speed_mps": 1.8, "source": "gnss" }
}
客户端属性报告 — 每个新连接的完整快照,变化的增量:
{ "attributes": { "firmware_version": "1.4.2", "boot_count": 142 }, "reported_at": "2026-06-22T14:32:11Z", "wire_message_id": "uuid" }
共享推送(subscribe)→本地应用→ack:
{ "key": "telemetry_sample_rate_hz", "value_json": 2, "version": 18, "set_at": "2026-06-22T14:32:00Z", "wire_message_id": "uuid" }
命令 (subscribe) — 执行,然后通过 §3.7 确认:
{ "command_id": "uuid", "command": "upload_logs_bundle", "payload": {}, "deadline": "2026-06-22T14:45:00Z", "idempotency_key": "uuid" }
Event:
{ "event_id": "uuid", "event_type": "alarm.collision_avoided", "severity": "warning", "ts": "2026-06-22T14:32:11Z", "payload": {}, "wire_message_id": "uuid" }
5. Lifecycle¶
设备状态 |
有线交互 |
|---|---|
下线 |
引导引导固件;带有证明令牌的 |
Provisioned |
获得 |
Activated |
正常操作 — 每§4 的遥测/事件/心跳/日志流 |
Deactivated |
证书被吊销;下一次 mTLS 尝试失败,并显示 TLS 警报 |
Annihilated |
|
Obtaining the migrated credential is the other migration step. Between the target registration and the device's acknowledgement, the device calls /migrate (§3.10) to receive the credential signed against the reserved serial and the target region's shared_config, then presents that credential to acknowledge possession. A device that is offline across the whole migration simply rests at that step — still served on its old credential — until it calls. Like §3.9, this changes no lifecycle state.
Re-resolving the region is a migration step, not a sixth lifecycle state.
The table above is the five-state device lifecycle, and no transition in it
requires §3.9. When a migration moves a device's registration to another
region, the endpoint the device received at provisioning is stale for it. Once
the migration repoints discovery, /discover answers the new region, and a
device holding only its old endpoint is refused there and re-resolves through
§3.9 before reconnecting. The call changes no lifecycle state, and a device
whose registration has not moved never needs it.
6.幂等性+重试¶
每个状态转换调用都接受 Idempotency-Key (HTTPS) 或 wire_message_id (MQTT)。重复数据删除窗口 = 24 小时。推荐的重试策略:
网络错误/HTTP 5xx:指数退避、完全抖动、基数 1 秒、最长 60 秒、最多 8 次尝试。
HTTP 4xx(408/429 除外):请勿重试。
HTTP 429:尊重
Retry-After。DDI-1-403-IDENTITY-BLACKLISTED:请勿重试 (terminal)。MQTT 断开连接:通过退避重新连接;重新订阅共享推送+命令;重新发布 CLIENT 快照。
7. Error codes¶
application/problem+json 响应携带 error_code 形式的 DDI-1-<HTTP_STATUS>-<KIND>。 v1 枚举(添加是不间断的):
代码 |
HTTP |
含义 |
|---|---|---|
|
400 |
正文无效 JSON 或缺少必填字段 |
|
401 |
缺少 mTLS 证书或证明令牌 |
|
401 |
mTLS 证书签名无效或链损坏 |
|
403 |
身份不是注册的工厂模式 |
|
403 |
身份被消灭——终端 |
|
403 |
设备证书已撤销 (deactivated) |
|
403 |
(§3.9) The device's registration names no home region; terminal, and no default region is applied |
|
443 |
(§3.9) The registration service answered: no device→region registration for this |
|
443 |
(§3.10) The migration record answered: no region migration is in flight for this |
|
409 |
(§3.10) The migration exists and is not deliverable yet (it has not registered the device in the target, so no credential serial is reserved); terminal until advanced |
|
409 |
相同的 |
|
409 |
(§3.2) The account's selected home region is not the region serving this provisioning request; terminal, and it names the |
|
409 |
(§3.2) An operator has restricted new provisioning into the presented region for this registrar; terminal, no |
|
422 |
型号不在注册目录中 |
|
422 |
CSR无法解析或签名无效 |
|
429 |
超出每台设备的速率限制;尊重 |
|
503 |
后台暂时不可用;退避重试 |
|
503 |
(§3.9) The device's region has no MQTT endpoint on this deployment; the deployment never substitutes its own endpoint |
|
503 |
(§3.9) This deployment's region→endpoint map is unset or malformed, so it can answer for no device |
8.时间+时钟¶
所有
ts/reported_at/set_at/applied_at字段均为 ISO 8601 UTC,毫秒精度。每个 HTTPS 响应都包含一个标准
Date:标头。具有 RTC 的设备应通过 SNTP 同步; DDI-1 时间端点是后备方案。
没有 SNTP 的设备必须在每次响应时消耗
server_time或Date:以保持时钟基线。
9. Conformance¶
固件认证需要绿色一致性运行:跨 14 个类别的 39 个场景(识别、配置、轮换、MQTT 连接、遥测、属性、命令、事件、心跳、日志、捆绑包、OTA、时间和每个枚举的错误代码)。一致性是每个配置文件 — 设备断言其配置文件 (below) 并且仅运行相关场景。
10. Versioning¶
DDI-1 是 DDI v1,已冻结。断线更改转到DDI v2(新路径前缀 /ddi/v2/*、新 MQTT 主题前缀); v1 和 v2 在弃用窗口(目标 12 个月)内共存。 v1 中的非重大更改(新的可选响应字段、新的错误代码、新的事件类型)可能会在没有版本冲突的情况下落地,并记录在修订历史记录中。 设备必须忽略未知的 JSON 字段。 已弃用的字段在删除前已标记为 Deprecated 6 个多月。
Revision history¶
Date |
Change |
|---|---|
2026-06-22 |
Initial draft. |
2026-07-01 |
Frozen as DDI v1.0. §9 conformance taxonomy locked (39 scenarios across 14 categories); §11 capability matrix completed for all 3 profiles; §7 error enumeration closed for v1. Change-control ratified by ADR-0043. |
2026-07-01 |
Relocated to the canonical DDI-1 contract home; frozen §1–§11 wire body unchanged. |
2026-07-20 |
Deployment-status correction. Records the live gateway, time, edge blacklist, MQTT, and OTA paths; distinguishes reserved capabilities; corrects the managed hostname, HTTP/2 support, rotation section link, documentation URL, payload wording, and unified SDK ownership. No wire-breaking change. |
2026-08-03 |
TLS policy clarification. §2 identity + authentication now records that the boundary permits a certificate-free TLS connection for first boot only, and that an invalid or revoked presented certificate FAILS TLS rather than being treated as anonymous. No wire-breaking change. |
2026-09-28 |
Delivery-guarantee clarification. §4 now states what the QoS figures mean for delivery: a QoS 0 publish is acknowledged by nothing, so telemetry and heartbeat are at-most-once and a successful publish call does not mean the reading was stored. The guarantee the protocol already had, recorded rather than changed — no QoS value changed and no wire format changed. |
2026-10-07 |
Additive operation: |
2026-10-07 |
Discovery reachability. The dedicated, globally stable name for §3.9 — |
2026-10-09 |
New refusal: |
2026-10-27 |
New refusal: |
2026-11-01 |
|
2026-11-03 |
Additive operation: |
11. Capability matrix — device profiles¶
能力 |
完整(AMR/机器人) |
嵌入式(传感器/执行器) |
受限(电池/LoRa) |
|---|---|---|---|
HTTPS 配置(§3.1–§3.3) |
必需 |
必需 |
必需 |
MQTT 遥测 (§4) |
必需 |
必需 |
如果遥测报告则需要 |
属性 (§4) |
必需 |
必需 |
仅客户端,需要 MQTT |
命令(§4 + §3.7) |
必需 |
可选 |
需要MQTT接收;通过 HTTPS 确认 |
活动 (§4) |
必需 |
必需 |
如果使用则需要 MQTT |
心跳(§4) |
必需 |
必需 |
必需 |
日志 (§4) |
必需 |
可选 |
无(使用错误报告摄取§3.8) |
捆绑包(§3.6) |
必需 |
可选 |
none |
OTA hawkBit DDI (§3.5) |
必需 |
必需 |
必需 |
错误报告摄取(§3.8) |
必需 |
必需 |
需要(low-volume) |
时间/SNTP (§8) |
首选 SNTP |
首选 SNTP |
|