ok: false keeps the command pending, so it comesok: true.curl --location '/device/commands/result' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"device_id": "MyDevice-A0CDCB",
"results": [
{
"id": "c-1a2b3c4d5e6f",
"ok": true
},
{
"id": "c-6f5e4d3c2b1a",
"ok": false,
"error": "sensor_error"
}
]
}'{
"status": "ok",
"processed": 2,
"ignored": 0
}