Skip to content

Protocol and Safety

Amjad edited this page Nov 29, 2026 · 2 revisions

Protocol & Safety

EasySMX configures several of its controllers through a mobile phone app (KeyLinker), and the protocol was never publicly documented. X20CTL recovers these commands from physical hardware and enforces strict read-back safety rules.


1. KeyLinker 20-Byte BLE GATT Packet Structure

Native BLE configuration for EasySMX X20 and X20 Pro uses 20-byte GATT packets:

Field Purpose
opcode Command / record type (buttons, curves, macros, lighting, read/write)
length Payload length
serial Packet sequence / record index
nonce Transaction nonce
payload Encoded configuration bytes
CRC-8 Reflected polynomial 0xEB, initial value 0x00

Other verified native transports in X20CTL:

  • X20 Pro 160x80 Screen: USB serial (VID_EEEF&PID_268A) in White Flash Mode (Controller off -> hold M -> plug USB) with CRC verification.
  • EasySMX X10: Bidirectional KRLY Bluetooth LE GATT (0x3A macros, 0x37 turbo, 0x45 motor test, 0x78/0x41 calibration, 0x05 reset, 0x77/0x50/0x79 read-back).
  • EasySMX D10: Direct USB (WinUSB) protocol based on Murphy605/PadLab (GPL-3.0) over wired (045E:028E, EP81/EP83/EP02) and 2.4 GHz receiver (2345:E062, C0/5A + C0/5C, which requires PadLab's modified receiver firmware).

Full technical documentation lives in the main repository:


2. Hardware Safety Guarantees

  • Never flashes firmware: X20CTL leaves OTA firmware services untouched on every controller.
  • Verified writes only: Before writing to hardware memory, X20CTL reads the current record, stores a local backup checkpoint, writes once, and verifies by reading back.
  • Hardware fingerprinting: Matches real BLE address prefixes and USB descriptors while rejecting ambiguous 045E:028E and 0079:181C (STK-7024X) traps.

3. Privacy & Local-First Boundary

  • Core Studio is 100% offline: Button remaps, curves, macros, Agent XCTL, PC Mode, Universal Haptics, and the Game Shelf never leave your machine.
  • Optional Community Hub: Uses a Cloudflare Workers + D1 backend (x20ctl-workshop.aaydamjad.workers.dev) only when you use the Community tab or leave Community Pulse active. You can disable all Community network traffic anytime via Tools -> Offline mode.
  • Explicit Diagnostic Uploads Only: Scan reports and feedback are only sent when you explicitly click Scan and send or Send to X20CTL. See PRIVACY.md.

4. Version Numbering

X20CTL uses V<super>.<release>[.<fix>] display names (for example, V0.027) paired with lowercase v<super>.<release> git tags (v0.027) and .NET numeric assembly versions (0.27.0). See docs/versions.md for the full legacy bridge history.

Clone this wiki locally