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 [2024/10/19 23:23] – [Device Advertisement] darkgrue | en:dev:tailcontrol-command-protocol [2025/02/05 03:23] (current) – darkgrue | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | Command list for the Tail Company | + | Command list for the Tail Company |
All commands are case-sensitive. Trailing whitespace (e.g., `NULL`, `CR`, etc.) are ignored. The space between a command keyword and the parameters is mandatory. | All commands are case-sensitive. Trailing whitespace (e.g., `NULL`, `CR`, etc.) are ignored. The space between a command keyword and the parameters is mandatory. | ||
- | <WRAP round todo> | + | <WRAP round todo 90%> |
- | **IMPORTANT NOTICE: | + | **IMPORTANT NOTICE: |
</ | </ | ||
Line 35: | Line 35: | ||
<WRAP round todo 90%> | <WRAP round todo 90%> | ||
- | TailCoNTROL | + | TailControl |
- | The BLE Device Service for TailCoNTROL | + | The BLE Device Service for TailControl |
* RX Characteristic is '' | * RX Characteristic is '' | ||
* TX Characteristic is '' | * TX Characteristic is '' | ||
Line 47: | Line 47: | ||
</ | </ | ||
- | ===== TailCoNTROL | + | ===== TailControl |
==== Blue LED ==== | ==== Blue LED ==== | ||
Line 95: | Line 95: | ||
==== Automatic Actions ==== | ==== Automatic Actions ==== | ||
- | TailCoNTROL | + | TailControl |
Additional automatic actions are described in [[en: | Additional automatic actions are described in [[en: | ||
Line 152: | Line 152: | ||
===== EarGear 2-only Commands ===== | ===== EarGear 2-only Commands ===== | ||
- | | **LISTENMODE** | Starts Listen Mode; [[#Listen Mode|see below]], returns '' | + | | **LISTENMODE** |
- | | **STOPLISTEN** | Stops Listen Mode; [[#Listen Mode|see below]], returns '' | + | | **STOPLISTEN** |
- | | **STOPTILT** | Stops Tilt Mode; [[#Tilt Mode|see below]], returns '' | + | | **STOPTILT** |
- | | **TILTMODE** | Starts Tilt Mode; [[#Tilt Mode|see below]], returns '' | + | | **TILTMODE** |
Line 182: | Line 182: | ||
| **READNVS** | **READ** **CONF**iguration from NVS; returns space-delimited configuration parameters stored in NVS (e.g., '' | | **READNVS** | **READ** **CONF**iguration from NVS; returns space-delimited configuration parameters stored in NVS (e.g., '' | ||
| **REBOOT** | **REBOOT** after 3 seconds, returns '' | | **REBOOT** | **REBOOT** after 3 seconds, returns '' | ||
+ | | **RELEASEHOLDONSTOP** | **RELEASE** servo **HOLD** when the servos **STOP** (default for tail-based devices); returns '' | ||
+ | | **SETHOLDONSTOP** | **SET** servo **HOLD** is maintained when the servos **STOP** (default for EarGear 2); returns '' | ||
| **SETHOME** | **SET** **HOME** position (0 through 8) for each servo (e.g., '' | | **SETHOME** | **SET** **HOME** position (0 through 8) for each servo (e.g., '' | ||
| **TASKU** | Prints to the hardware serial console the minimum amount in words of remaining stack space that was available to the task since the task started executing, returns '' | | **TASKU** | Prints to the hardware serial console the minimum amount in words of remaining stack space that was available to the task since the task started executing, returns '' | ||
Line 289: | Line 291: | ||
* **H1** Home at end of move | * **H1** Home at end of move | ||
- | <WRAP round info> | + | <WRAP round info 90%> |
Because no easing parameters ('' | Because no easing parameters ('' | ||
</ | </ | ||
Line 352: | Line 354: | ||
===== Conference Mode ===== | ===== Conference Mode ===== | ||
- | Conference mode pairs the user's phone with the TailCoNTROL | + | Conference mode pairs the user's phone with the TailControl |
* **Authentication: | * **Authentication: | ||
Line 360: | Line 362: | ||
==== Enabling Conference Mode (Pairing and Binding) ==== | ==== Enabling Conference Mode (Pairing and Binding) ==== | ||
- | Pairing is performed with a 6-digit number entered on each of the devices. In the case of TailCoNTROL, the passkey is set on the device in a " | + | Pairing is performed with a 6-digit number entered on each of the devices. In the case of TailControl, the passkey is set on the device in a " |
**SETPUSSKEY < | **SETPUSSKEY < | ||
Line 376: | Line 378: | ||
==== Unbinding ==== | ==== Unbinding ==== | ||
- | Resetting/ | + | Resetting/ |
- | There are two different methods of factory-resetting a TailCoNTROL | + | There are two different methods of factory-resetting a TailControl |
- | * Sending a '' | + | * Sending a '' |
* Performing a factory reset using the single button: | * Performing a factory reset using the single button: | ||
- Press and hold the power button. | - Press and hold the power button. | ||
Line 386: | Line 388: | ||
- Ten seconds after the triple-flash (13 seconds total of continuous holding), the blue LED will blink quickly continuously, | - Ten seconds after the triple-flash (13 seconds total of continuous holding), the blue LED will blink quickly continuously, | ||
- | <WRAP round info> | + | <WRAP round info 90%> |
The bond will also need to be removed on the phone or other device as well, or it will attempt to continue to use the bond (which will fail, because those stored credentials will no longer be valid). | The bond will also need to be removed on the phone or other device as well, or it will attempt to continue to use the bond (which will fail, because those stored credentials will no longer be valid). | ||
Line 397: | Line 399: | ||
===== iOS Casual Mode ===== | ===== iOS Casual Mode ===== | ||
- | <WRAP round todo> | + | <WRAP round todo 90%> |
This feature is pending removal in a future release. | This feature is pending removal in a future release. | ||
</ | </ | ||
Line 433: | Line 435: | ||
===== No-phone Mode ===== | ===== No-phone Mode ===== | ||
- | No-phone mode is a feature exclusive of MiTail firmware 4.0.0 or greater or TailCoNTROL. | + | No-phone mode is a feature exclusive of MiTail firmware 4.0.0 or greater or TailControl. |
**AUTOMODE G< | **AUTOMODE G< | ||
Line 453: | Line 455: | ||
- | == Copyright 2024 © The Mechanical Tail Company Limited contact@thetailcompany.com. All Rights Reserved. == | + | == Copyright 2024-2025 © The Mechanical Tail Company Limited contact@thetailcompany.com. All Rights Reserved. The Mechanical Tail Company Limited also claims trademark rights in the following: TailControl, |