{
  "schemaVersion": 1,
  "published": "2026-10-25",
  "guide": "https://redthunderremote.com/research/bluetooth-control/",
  "restoreReference": "https://redthunderremote.com/research/firmware-restores/reference.json",
  "baseline": {
    "standardA": "2.173.0",
    "B": "8.132.0"
  },
  "ble": {
    "apiService": "00010001-574f-4f20-5370-6865726f2121",
    "apiWriteAndNotify": "00010002-574f-4f20-5370-6865726f2121",
    "antiDos": "00020005-574f-4f20-5370-6865726f2121",
    "debugShellNotCommandChannel": "00010003-574f-4f20-5370-6865726f2121",
    "handshakeUtf8": "usetheforce...band",
    "handshakeTerminator": false
  },
  "framing": {
    "startHex": "8D",
    "endHex": "D8",
    "escapePairsHex": {
      "8D": "AB05",
      "D8": "AB50",
      "AB": "AB23"
    },
    "body": [
      "flags",
      "optional target",
      "optional source",
      "device",
      "command",
      "sequence",
      "payload",
      "checksum"
    ],
    "checksum": "ones complement of sum of unescaped body before checksum, low byte",
    "flagsHex": {
      "response": "01",
      "requestResponse": "02",
      "onlyErrorResponse": "04",
      "resetInactivity": "08",
      "hasTarget": "10",
      "hasSource": "20"
    },
    "ordinarySequences": "00..FE",
    "eventSequenceUsually": "FF",
    "ordinaryResponsePayload": "status then data; status00=success",
    "asyncPayload": "raw command-specific data; first byte is not a generic error status",
    "goldensHex": {
      "headlightsFF_seq01": "8D0A1A1301FFC8D8",
      "headlightsAck_seq01": "8D011A130100D0D8",
      "profile0069_seq42": "8D0A17054200692ED8",
      "stop_seq00": "8D081602000000000000000000DFD8"
    }
  },
  "drive": {
    "deviceHex": "16",
    "commandHex": "02",
    "flagsHex": "08",
    "target": null,
    "payload": "BE float32 steering, BE float32 speed",
    "appSteeringRange": [
      -1,
      1
    ],
    "appThrottleRange": [
      -1,
      1
    ],
    "speedSign": "positive forward, negative reverse",
    "originalBuilderSteeringClamp": [
      -15,
      15
    ],
    "steeringNote": "App normalized values are sent unchanged; do not assume compass degrees. Full physical steering calibration not established here.",
    "appSendHz": 15,
    "stopPayloadHex": "0000000000000000",
    "watchdogTimeoutVerified": false,
    "autoResumeAfterReconnect": false
  },
  "commands": [
    {
      "name": "wake",
      "deviceHex": "13",
      "commandHex": "0D",
      "flagsHex": "0A",
      "targetHex": null,
      "payload": "empty",
      "notes": "Original apps untargeted; current Red Thunder uses target11."
    },
    {
      "name": "version-A",
      "deviceHex": "11",
      "commandHex": "00",
      "flagsHex": "0A",
      "targetHex": null,
      "payload": "empty",
      "notes": "Reply data begins with three BE16 version fields; original untargeted route, current app target11."
    },
    {
      "name": "sleep",
      "deviceHex": "13",
      "commandHex": "01",
      "flagsHex": "0A",
      "targetHex": null,
      "payload": "empty",
      "notes": "Stop driving first. Current app uses target11; suppress inactivity resets during sleep."
    },
    {
      "name": "user-drive",
      "deviceHex": "17",
      "commandHex": "0B",
      "flagsHex": "0A",
      "targetHex": null,
      "payload": "01 enable /00 disable",
      "notes": ""
    },
    {
      "name": "idle-animation",
      "deviceHex": "17",
      "commandHex": "0A",
      "flagsHex": "0A",
      "targetHex": null,
      "payload": "01 enable /00 disable",
      "notes": "Disabling idle is not global mute."
    },
    {
      "name": "headlights",
      "deviceHex": "1A",
      "commandHex": "13",
      "flagsHex": "0A",
      "targetHex": null,
      "payload": "one byte brightness00..FF",
      "notes": ""
    },
    {
      "name": "taillights",
      "deviceHex": "1A",
      "commandHex": "14",
      "flagsHex": "0A",
      "targetHex": null,
      "payload": "one byte brightness00..FF",
      "notes": ""
    },
    {
      "name": "volume-read",
      "deviceHex": "1A",
      "commandHex": "09",
      "flagsHex": "0A",
      "targetHex": null,
      "payload": "empty",
      "notes": "Successful reply data: exactly one byte."
    },
    {
      "name": "volume-set",
      "deviceHex": "1A",
      "commandHex": "08",
      "flagsHex": "0A",
      "targetHex": null,
      "payload": "one byte00..FF",
      "notes": "Read back after set ACK."
    },
    {
      "name": "profile-play",
      "deviceHex": "17",
      "commandHex": "05",
      "flagsHex": "0A",
      "targetHex": null,
      "payload": "BE16 installed profile ID",
      "notes": "Coordinated audio and motion; ID depends on installed content."
    },
    {
      "name": "audio-play",
      "deviceHex": "1A",
      "commandHex": "07",
      "flagsHex": "0A",
      "targetHex": null,
      "payload": "BE16 logical FILE start, then mode byte",
      "notes": "Example mode00; not an animation profile ID."
    },
    {
      "name": "audio-stop",
      "deviceHex": "1A",
      "commandHex": "0A",
      "flagsHex": "0A",
      "targetHex": null,
      "payload": "empty",
      "notes": "Does not establish mouth/body animation stopped."
    },
    {
      "name": "battery-state",
      "deviceHex": "13",
      "commandHex": "04",
      "flagsHex": "1A",
      "targetHex": "11",
      "payload": "empty",
      "notes": "State data is one byte. Example uses original untargeted route."
    },
    {
      "name": "battery-changes",
      "deviceHex": "13",
      "commandHex": "05",
      "flagsHex": "1A",
      "targetHex": "11",
      "payload": "01 enable /00 disable",
      "notes": "Changes arrive on13/06."
    },
    {
      "name": "battery-percent",
      "deviceHex": "13",
      "commandHex": "10",
      "flagsHex": "1A",
      "targetHex": "11",
      "payload": "empty",
      "notes": "Optional; GATT180F/2A19 fallback when present."
    },
    {
      "name": "touch-events",
      "deviceHex": "1A",
      "commandHex": "0B",
      "flagsHex": "1A",
      "targetHex": "12",
      "payload": "01 enable /00 disable",
      "notes": "Events on1A/10."
    },
    {
      "name": "collision-config",
      "deviceHex": "18",
      "commandHex": "11",
      "flagsHex": "0A",
      "targetHex": null,
      "payload": "02B482B48264",
      "notes": "Final original defaults; confirm before enabling events."
    },
    {
      "name": "collision-events",
      "deviceHex": "18",
      "commandHex": "14",
      "flagsHex": "0A",
      "targetHex": null,
      "payload": "01 enable /00 disable",
      "notes": "Events on18/12."
    },
    {
      "name": "accelerometer",
      "deviceHex": "18",
      "commandHex": "00",
      "flagsHex": "1A",
      "targetHex": "12",
      "payload": "00FA000000E000",
      "notes": "250ms, unlimited, mask0000E000; disable with seven zero bytes."
    }
  ],
  "events": [
    {
      "deviceHex": "11",
      "commandHex": "0F",
      "name": "startup"
    },
    {
      "deviceHex": "17",
      "commandHex": "11",
      "name": "animation complete",
      "physicalProof": false
    },
    {
      "deviceHex": "13",
      "commandHex": "06",
      "name": "battery state",
      "rawPayload": "state byte;0=charged,1=charging,2=not_charging,3=OK,4=low,5=critical"
    },
    {
      "deviceHex": "1A",
      "commandHex": "10",
      "name": "capacitive touch",
      "individualLocationDecoded": false
    },
    {
      "deviceHex": "18",
      "commandHex": "12",
      "name": "collision"
    },
    {
      "deviceHex": "18",
      "commandHex": "02",
      "name": "accelerometer",
      "rawPayload": "first12 bytes: BE float32 x,y,z"
    },
    {
      "deviceHex": "13",
      "commandHex": "19",
      "name": "will sleep"
    },
    {
      "deviceHex": "13",
      "commandHex": "1A",
      "name": "did sleep"
    }
  ],
  "profileExamples": {
    "0069": "Ka-chow",
    "005E": "I am speed",
    "0130": "engine rev"
  },
  "errorsHex": {
    "00": "success",
    "01": "bad device",
    "02": "bad command",
    "03": "not yet implemented",
    "04": "restricted",
    "05": "bad data length",
    "06": "command failed",
    "07": "bad parameter",
    "08": "busy"
  },
  "example": {
    "file": "control_car.py",
    "sha256": "fafbc37773193fb5e705599a4226116e68c3de52f5d1dc9d5ddbaed3632896c1",
    "python": "3.10+",
    "liveDependency": "bleak",
    "offlineSelfTestNeedsBleak": false,
    "liveHardwareTested": false,
    "offlineExchangeTests": 11,
    "driveThrottleLimit": 0.3,
    "driveSecondsLimit": 3,
    "referenceStandardARequired": "2.173.0",
    "firmwareOrContentWrites": false,
    "stopAttemptOnCancellation": true,
    "physicalStopGuaranteed": false,
    "automaticReconnect": false
  },
  "evidence": {
    "originalAndroidStaticVersions": [
      "1.0.1 (275)",
      "1.1.0 (316)",
      "1.2.3 (472)"
    ],
    "bothCurrentPlatformBuildersCompared": true,
    "newHardwareRun": false,
    "allOldFirmwarePairsVerified": false,
    "directOneByteEyesMouthSuspensionSupported": false
  },
  "platformDocumentation": [
    "https://bleak.readthedocs.io/en/latest/api/client.html",
    "https://bleak.readthedocs.io/en/latest/api/scanner.html"
  ]
}
