Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:dev:tailcontrol-command-protocol [2026/08/03 15:47] – darkgrue | en:dev:tailcontrol-command-protocol [2026/09/25 20:24] (current) – darkgrue | ||
|---|---|---|---|
| Line 187: | Line 187: | ||
| | **RGBOFF** | **RGB** LEDs **OFF**, returns '' | | **RGBOFF** | **RGB** LEDs **OFF**, returns '' | ||
| + | | **RGBBRT** | Set **RGB** **BR**igh**T**ness percentage in NVS and running configuration (e.g., '' | ||
| | **RGBCHS** | **RGB** **CH**a**S**e; | | **RGBCHS** | **RGB** **CH**a**S**e; | ||
| | **RGBCLN** | **RGB** **CY**lo**N**; | | **RGBCLN** | **RGB** **CY**lo**N**; | ||
| Line 200: | Line 201: | ||
| - | ==== RGB LED Connections | + | ==== RGB Hardware Support |
| RGB LED support is provided through various headers, depending on the hardware. Certain hardware configurations require amounts of soldering and electronics design skill to modify, and can damage the board if current draw or other limits are exceeded. Mods are performed solely at user's risk. | RGB LED support is provided through various headers, depending on the hardware. Certain hardware configurations require amounts of soldering and electronics design skill to modify, and can damage the board if current draw or other limits are exceeded. Mods are performed solely at user's risk. | ||
| Line 248: | Line 249: | ||
| | **WRITECONF** | **WRITE** **CONF**iguration to NVS and set running configuration to match (e.g., '' | | **WRITECONF** | **WRITE** **CONF**iguration to NVS and set running configuration to match (e.g., '' | ||
| | **SETDISCONNECTEDCOUNT** | **SET** BLE **DISCONNECTED** power off **COUNT**down parameter in NVS and running configuration (in minutes, '' | | **SETDISCONNECTEDCOUNT** | **SET** BLE **DISCONNECTED** power off **COUNT**down parameter in NVS and running configuration (in minutes, '' | ||
| - | | **SETHOLDONSTOP** | **SET** servo **HOLD** is maintained when the servos **STOP** (maintains servo PWM when not moving, default for EarGear 2); returns '' | + | | **SETHOLDONSTOP** | **SET** |
| - | | **UNSETHOLDONSTOP** | **UNSET** servo **HOLD** when the servos **STOP** (servo PWM is dropped when not moving, default for tail-based devices and ClawGear); returns '' | + | | **UNSETHOLDONSTOP** | **UNSET** servo **HOLD** when the servos **STOP** |
| - | | **SETHOME** | **SET** **HOME** position (0 through 8) for each servo (e.g., '' | + | | **SETHOME** | **SET** **HOME** position (0 through 8) for each servo (e.g., '' |
| - | | **SETLISTENMOVES** | **SET** internal **LISTEN** Mode **MOVES** to play on a listen event in addition to sending event notifications; | + | | **SETLISTENMOVES** | **SET** internal **LISTEN** Mode **MOVES** to play on a listen event in addition to sending event notifications |
| - | | **UNSETLISTENMOVES** | **UNSET** internal **LISTEN** Mode **MOVES** to play on a listen event, only an event notification will be sent and it is the responsibility of the connected application to send commands to react to events; returns '' | + | | **SETRGB** | **SET** **RGB** configuration in NVS and running configuration; |
| - | | **SETTILTMOVES** | **SET** internal **LISTEN** Mode **MOVES** to play on a tilt event in addition to sending event notifications; | + | | **UNSETLISTENMOVES** | **UNSET** internal **LISTEN** Mode **MOVES** to play on a listen event in NVS and running configuration, only an event notification will be sent and it is the responsibility of the connected application to send commands to react to events; returns '' |
| - | | **UNSETTILTMOVES** | **UNSET** internal **LISTEN** Mode **MOVES** to play on a listen event, only an event notification will be sent and it is the responsibility of the connected application to send commands to react to events; returns '' | + | | **SETTILTMOVES** | **SET** internal **LISTEN** Mode **MOVES** to play on a tilt event in addition to sending event notifications |
| + | | **UNSETTILTMOVES** | **UNSET** internal **LISTEN** Mode **MOVES** to play on a listen event in NVS and running configuration, only an event notification will be sent and it is the responsibility of the connected application to send commands to react to events; returns '' | ||
| | **OTA** | Starts firmware **O**ver **T**he **A**ir update process (e.g., '' | | **OTA** | Starts firmware **O**ver **T**he **A**ir update process (e.g., '' | ||
| | **FORMATNVS** | **FORMAT** **NVS** (erase all contents of the default NVS partition, including BLE bonds), returns '' | | **FORMATNVS** | **FORMAT** **NVS** (erase all contents of the default NVS partition, including BLE bonds), returns '' | ||
| Line 456: | Line 458: | ||
| ===== Listen Mode ===== | ===== Listen Mode ===== | ||
| - | Listen Mode is only available on the EarGear 2. When Listen Mode is active, a detected sound above ambient will trigger a random move and a '' | + | Listen Mode is only available on the EarGear 2. When Listen Mode is active, a detected sound above ambient will send a '' |
| - | + | ||
| - | Development support for basic sound localization for future hardware is supported, replacing the '' | + | |
| - | '' | + | |
| '' | '' | ||
| Line 510: | Line 509: | ||
| ===== Tilt Mode ===== | ===== Tilt Mode ===== | ||
| - | Tilt Mode is only available on the ClawGear and EarGear 2. When Listen Mode is active, a detected | + | Tilt Mode is only available on the ClawGear and EarGear 2. When Listen Mode is active, a detected |
| Triggering by Tilt Mode is inhibited when the ears are in motion, as well as a 3-second counter that runs once a sound trigger has finished executing a move AND the ClawGear/ | Triggering by Tilt Mode is inhibited when the ears are in motion, as well as a 3-second counter that runs once a sound trigger has finished executing a move AND the ClawGear/ | ||
| + | |||
| + | |||
| + | ==== Notes about ClawGear Tilt Mode ==== | ||
| + | |||
| + | The minimum tilt is 75° of pitch for up, and −75° for down. Pitch is '' | ||
| + | |||
| + | Invalid readings: if '' | ||
| + | |||
| + | ClawGear does not have a cooldown timer enabled on it's Tilt Mode. | ||
| + | |||
| + | |||
| + | ==== Notes about EarGear 2 Tilt Mode ==== | ||
| + | |||
| + | |||
| + | In order to prevent erratic and constant movement of the ears while Tilt Mode is enabled, there is a reset and cooldown timer. The way it works is once the ears move out of the "dead zone," which is 14° off of center, the associated move is played. While the ears are moving, the tilt classifier is suspended (because the ear movement itself is tilting the ears). Once the ears have stopped moving, a 3000 ms (3 sec) cooldown is started. Once that timer has expired, the tilt triggers are re-enabled if the ears have EITHER returned to the center at any time during the cooldown timer OR have tilted to another trigger position other than the one that last triggered. | ||
| + | |||
| + | < | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | </ | ||
| == Copyright 2024-2026 © The Mechanical Tail Company Limited contact@thetailcompany.com. All Rights Reserved. The Mechanical Tail Company Limited also claims trademark rights in the following: TailControl, | == Copyright 2024-2026 © The Mechanical Tail Company Limited contact@thetailcompany.com. All Rights Reserved. The Mechanical Tail Company Limited also claims trademark rights in the following: TailControl, | ||
