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 16:04] – [Conference Mode] darkgrue | en:dev:tailcontrol-command-protocol [2026/10/26 00:50] (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: |
| </ | </ | ||
| + | |||
| ===== Bluetooth Low Energy (BLE) ===== | ===== Bluetooth Low Energy (BLE) ===== | ||
| Line 19: | Line 20: | ||
| Device name is one of the following: | Device name is one of the following: | ||
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| + | * '' | ||
| - | The BLE Device | + | TailControl will uses the same Service and Characteristics UUIDs across all supported products: '' |
| - | * RX Characteristic is '' | + | |
| - | * TX Characteristic is '' | + | |
| - | * Battery Voltage is '' | + | |
| - | <WRAP round important> | + | * RX Characteristic is '' |
| - | For tail-series v3.6 controller hardware, the battery charging characteristic is unset (charging state is not available). | + | * TX Characteristic is '' |
| + | * Battery Voltage is '' | ||
| + | |||
| + | <WRAP round important | ||
| + | For tail-series | ||
| </ | </ | ||
| - | The BLE Device | + | ===== TailControl |
| - | * RX Characteristic is '' | + | |
| - | * TX Characteristic is '' | + | |
| - | * Battery Voltage is '' | + | |
| - | |||
| - | ===== TailCoNTROL Device Indicators ===== | ||
| ==== Blue LED ==== | ==== Blue LED ==== | ||
| Line 53: | Line 51: | ||
| - **Blink fast three times** when the button is held for more than 3 seconds (but less than 13), indicates the device is ready to power off when the button is released. | - **Blink fast three times** when the button is held for more than 3 seconds (but less than 13), indicates the device is ready to power off when the button is released. | ||
| - **Blink fast continuously** when the button is held for more than 13 seconds, indicates the device is ready to factory reset when the button is released. | - **Blink fast continuously** when the button is held for more than 13 seconds, indicates the device is ready to factory reset when the button is released. | ||
| + | |||
| ==== Red LED ==== | ==== Red LED ==== | ||
| Line 68: | Line 67: | ||
| - **Constant on** when charging. | - **Constant on** when charging. | ||
| | | ||
| - | For the EarGear 2, the Red LED has two states: | + | For the ClawGear and EarGear 2, the Red LED has two states: |
| - **Off** when charging is disconnected. | - **Off** when charging is disconnected. | ||
| - **Constant on** when charging. | - **Constant on** when charging. | ||
| - | **Note:** Unlike the DIGITAiL, MiTail, MiTail Mini, and FlutterWings devices **can** be used while charging. | + | **Note:** Unlike the DIGITAiL, ClawGear, EarGear 2, MiTail, MiTail Mini, and FlutterWings devices **can** be used while charging. |
| ==== Green LED ==== | ==== Green LED ==== | ||
| Line 83: | Line 83: | ||
| - **Blink on-off** indicates a fault condition. | - **Blink on-off** indicates a fault condition. | ||
| - | The EarGear 2 does not have a Green LED. | + | The ClawGear and EarGear 2 does not have a Green LED. |
| ==== Automatic Actions ==== | ==== Automatic Actions ==== | ||
| - | TailCoNTROL | + | TailControl |
| Additional automatic actions are described in [[en: | Additional automatic actions are described in [[en: | ||
| - | ===== Tail Moves ===== | + | ===== Servo-Based |
| - | Move commands return ''< | + | Move commands return ''< |
| A command will return '' | A command will return '' | ||
| Line 119: | Line 119: | ||
| | **TAILU3** | **U**ser defined **3** | | | **TAILU3** | **U**ser defined **3** | | ||
| | **TAILU4** | **U**ser defined **4** | | | **TAILU4** | **U**ser defined **4** | | ||
| + | |||
| + | |||
| + | ===== Stepper-Based Moves (Not Currently Used) ===== | ||
| + | |||
| + | Move commands return ''< | ||
| + | |||
| + | A command will return '' | ||
| + | |||
| + | A new command that is received before the currently executing command is finished will immediately end the current command and start the new one. | ||
| + | |||
| + | | **TAILHM** | **H**o**M**e position | | ||
| + | | **MOVE1** | **MOVE** **1** | | ||
| + | | **MOVE2** | **MOVE** **2** | | ||
| + | | **MOVE3** | **MOVE** **3** | | ||
| + | | **MOVE4** | **MOVE** **4** | | ||
| + | | **MOVE5** | **MOVE** **5** | | ||
| + | | **MOVE6** | **MOVE** **6** | | ||
| + | | **MOVE7** | **MOVE** **7** | | ||
| + | | **MOVEU1** | **MOVE** **U**ser defined **1** | | ||
| + | | **MOVEU2** | **MOVE** **U**ser defined **2** | | ||
| + | | **MOVEU3** | **MOVE** **U**ser defined **3** | | ||
| + | | **MOVEU4** | **MOVE** **U**ser defined **4** | | ||
| + | |||
| + | |||
| + | ===== ClawGear-only Commands ===== | ||
| + | |||
| + | | **CLAPMODE** | Starts Clap Mode (and disables Tilt Mode, if enabled), returns '' | ||
| + | | **STOPCLAP** | Stops Clap Mode, returns '' | ||
| + | | **STOPTILT** | Stops Tilt Mode, returns '' | ||
| + | | **TILTMODE** | Starts Tilt Mode (and disables Clap Mode, if enabled), returns '' | ||
| + | |||
| + | ===== EarGear 2-only Commands ===== | ||
| + | |||
| + | | **LISTENMODE** | Starts Listen Mode ([[#Listen Mode|see below]]), returns '' | ||
| + | | **STOPLISTEN** | Stops Listen Mode ([[#Listen Mode|see below]]), returns '' | ||
| + | | **STOPTILT** | Stops Tilt Mode ([[#Tilt Mode|see below]]), returns '' | ||
| + | | **TILTMODE** | Starts Tilt Mode ([[#Tilt Mode|see below]]), returns '' | ||
| Line 143: | Line 180: | ||
| - | ===== EarGear 2-only | + | ===== RGB LED Commands ===== |
| - | | **LISTENMODE** | Starts Listen Mode; [[#Listen Mode|see below]], returns '' | + | RGB support is new with the introduction of the ClawGear, and support is experimental on other hardware. |
| - | | **STOPLISTEN** | Stops Listen Mode; [[#Listen Mode|see below]], returns '' | + | |
| - | | **STOPTILT** | Stops Tilt Mode; [[#Tilt Mode|see below]], returns '' | + | All **RGB**'' |
| - | | **TILTMODE** | Starts Tilt Mode; [[#Tilt Mode|see below]], 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; theater marquee chase; optionally takes a hue color (in RGB Hexidecimal, | ||
| + | | **RGBCLN** | **RGB** **CY**lo**N**; color dot sweeping back and forth, with fading trails; optionally takes a hue color (in RGB Hexidecimal, | ||
| + | | **RGBDMO** | **RGB** **DE**m**O**; | ||
| + | | **RGBFDE** | **RGB** **F**a**DE**; | ||
| + | | **RGBFIR** | **RGB** **FIR**e; fire effect (e.g., '' | ||
| + | | **RGBRBW** | **RGB** **R**ain**B**o**W** pattern (e.g., '' | ||
| + | | **RGBSLD** | **RGB** **S**o**L**i**D**; | ||
| + | | **RGBSNO** | **RGB** **SNO**w; snow effect; optionally takes a hue color (in RGB Hexidecimal, | ||
| + | | **RGBTST** | **RGB** **TE**s**T**; | ||
| + | | **RGBTWK** | **RGB** **TW**in**K**le; | ||
| + | | **RGBWPE** | **RGB** **W**i**PE**; | ||
| + | |||
| + | |||
| + | ==== 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. | ||
| + | |||
| + | |||
| + | ==== ClawGear ==== | ||
| + | |||
| + | The ClawGear supports a **maximum** of 42, 5 VDC, WS2811-protocol RGB LED pixels on the Servo 2 connector: | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | |||
| + | ==== MiTail ==== | ||
| + | |||
| + | The MiTail supports **externally-powered**, | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | |||
| + | ==== MiTail Mini ==== | ||
| + | |||
| + | The MiTail Mini supports a **maximum** of 42, 5 VDC, WS2811-protocol RGB LED pixels on the Servo 2 connector: | ||
| + | |||
| + | {{ : | ||
| ===== Other Commands ===== | ===== Other Commands ===== | ||
| - | | **AUTOMODE** | **AUTO**nomous **MO**de; [[# | + | | **AUTOMODE** | **AUTO**nomous **MO**de |
| - | | **DSSP** | **D**irectly **S**et **S**ervo **P**osition; [[#Directly Set Servo Position|see below]], returns '' | + | | **DSSP** | **D**irectly **S**et **S**ervo **P**osition |
| | **HWVER** | Returns **H**ard**W**are **VER**sion; | | **HWVER** | Returns **H**ard**W**are **VER**sion; | ||
| | **PING** | Keepalive heartbeat (from application), | | **PING** | Keepalive heartbeat (from application), | ||
| - | | **SETPUSSKEY** | **SET** **P**a**SSKEY**, enable Conference Mode, and restart | + | | **PUSSKEYSTATE** | **P**a**SSKEY** **STATE** returns state of Conference Mode NVS key state (enabled or disabled), returns '' |
| - | | **SHUTDOWN** | **SHUT DOWN** the unit (will lose the BLE connection), | + | | **SETPUSSKEY** | **SET** **P**a**SSKEY**; enable Conference Mode, returns '' |
| + | | **SHUTDOWN** | **SHUT DOWN** the unit (will lose the BLE connection), | ||
| | **STOPAUTO** | **STOP AUTO**nomous Mode, returns '' | | **STOPAUTO** | **STOP AUTO**nomous Mode, returns '' | ||
| | **STOPNPM** | **STOP** **N**o-**P**hone **M**ode and disables it in NVS configuration; | | **STOPNPM** | **STOP** **N**o-**P**hone **M**ode and disables it in NVS configuration; | ||
| - | | **USERMOVE** | [[# | + | | **USERMOVE** | Set user-defined move ([[# |
| - | | **STOPPUSSKEY** | **STOP** **P**a**SSKEY**, disable Conference Mode and restart | + | | **STOPPUSSKEY** | **STOP** **P**a**SSKEY**; disable Conference Mode, returns '' |
| - | | **USERLEDS** | [[# | + | | **USERLEDS** | Set user-defined Glow Tip pattern ([[# |
| - | | **VER** | Returns the firmware **VER**sion number; '' | + | | **VER** | Returns the firmware **VER**sion number; |
| Line 170: | Line 247: | ||
| | **BATT** | **BATT**ery percentage, returns the integer value of estimated battery capacity remaining | | **BATT** | **BATT**ery percentage, returns the integer value of estimated battery capacity remaining | ||
| - | | **FORMATNVS** | **FORMAT** **NVS** (erase all contents of the default NVS partition, including BLE bonds) and reboot | + | | **READCONF** | **READ** running |
| + | | **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 | ||
| + | | **SETHOLDONSTOP** | **SET** whether servo **HOLD** is maintained when the servos **STOP** in NVS and running configuration (maintains servo PWM when not moving, | ||
| + | | **UNSETHOLDONSTOP** | **UNSET** servo **HOLD** when the servos **STOP** in NVS and running configuration (servo PWM is dropped when not moving, default for tail-based devices and ClawGear); returns '' | ||
| + | | **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 in NVS and running configuration; | ||
| + | | **SETRGB** | **SET** **RGB** configuration in NVS and running configuration; | ||
| + | | **UNSETLISTENMOVES** | **UNSET** internal **LISTEN** Mode **MOVES** to play on a listen event in NVS and running configuration, | ||
| + | | **SETTILTMOVES** | **SET** internal **LISTEN** Mode **MOVES** to play on a tilt event in addition to sending event notifications in NVS and running configuration; | ||
| + | | **UNSETTILTMOVES** | **UNSET** internal **LISTEN** Mode **MOVES** to play on a listen event in NVS and running configuration, | ||
| | **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., '' | ||
| - | | **READCONF** | **READ** running | + | | **FORMATNVS** | **FORMAT** **NVS** (erase all contents of the default NVS partition, including BLE bonds), returns |
| - | | **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**; returns '' |
| - | | **SETHOME** | **SET** **HOME** position (0 through 8) for each servo (e.g., '' | + | | **TASKU** | Prints to the hardware serial console the minimum amount of remaining stack space that was available to the task since the task started executing (high water mark), returns '' |
| - | | **TASKU** | Prints to the hardware serial console the minimum amount | + | |
| - | | **WRITECONF** | **WRITE** **CONF**iguration to NVS and set running configuration to match (e.g., '' | + | |
| ===== Directly Set Servo Position ===== | ===== Directly Set Servo Position ===== | ||
| Line 188: | Line 274: | ||
| ^ Prefix ^ Parameter Type ^ Range of Values for Moves ^ | ^ Prefix ^ Parameter Type ^ Range of Values for Moves ^ | ||
| - | | **E** | Easing function to apply to Servo 1 | Default is Linear, if not specified.\\ This is the decimal representation of the (hexadecimal) easing type enumeration, | + | | **E** | Easing function to apply to Servo 1 | Default is Linear |
| | **F** | Easing function to apply to Servo 2 | (Same as **E**) | | | **F** | Easing function to apply to Servo 2 | (Same as **E**) | | ||
| | **A** | Point for Servo 1 | <0 ... 8>\\ 0 -> 25 degrees\\ 1 -> 41 degrees\\ 2 -> 58 degrees\\ ...\\ 8 -> 160 degrees | | | **A** | Point for Servo 1 | <0 ... 8>\\ 0 -> 25 degrees\\ 1 -> 41 degrees\\ 2 -> 58 degrees\\ ...\\ 8 -> 160 degrees | | ||
| Line 200: | Line 286: | ||
| * Parameters can be separated by any character that is not a number or a letter (e.g., space, comma, semicolon). However, the letters themselves act as separators, and it is recommended that no additional characters are used, as the serial buffer has a limited capacity and may not be able to store the whole instruction. | * Parameters can be separated by any character that is not a number or a letter (e.g., space, comma, semicolon). However, the letters themselves act as separators, and it is recommended that no additional characters are used, as the serial buffer has a limited capacity and may not be able to store the whole instruction. | ||
| * Depending on the tail and position, it can sag out of the commanded position when servo power is released at the end of the DSSP move. This may cause a visual defect of jerking back into the previous position when the next move starts. | * Depending on the tail and position, it can sag out of the commanded position when servo power is released at the end of the DSSP move. This may cause a visual defect of jerking back into the previous position when the next move starts. | ||
| + | |||
| ==== DSSP Example ==== | ==== DSSP Example ==== | ||
| Line 207: | Line 294: | ||
| - | ===== User-defined | + | ===== User-defined Moves and Glow Tip Patterns ===== |
| - | Up to 4 user-defined move definitions and 4 LED patterns can be sent over the BT/BLE connection and assigned to user | + | Up to 4 user-defined move definitions and 4 Glow Tip LED patterns can be sent over the BT/BLE connection and assigned to user |
| presets (callable with the '' | presets (callable with the '' | ||
| - | The two instructions used to send a tail move or a Glow Tip LED pattern definition follow the same syntax and consist of a | + | The two instructions used to send a move or a Glow Tip LED pattern definition follow the same syntax and consist of a |
| keyword ('' | keyword ('' | ||
| defines the type of parameter (see table, below). | defines the type of parameter (see table, below). | ||
| Line 220: | Line 307: | ||
| ^ Prefix ^ Parameter Type ^ Range of Values for Moves ^ | ^ Prefix ^ Parameter Type ^ Range of Values for Moves ^ | ||
| | **U** | User preset number | <1 ... 4> | | | **U** | User preset number | <1 ... 4> | | ||
| - | | **E** | Easing function to apply to Servo 1 | Default is Linear, if not specified.\\ | + | | **E** | Easing function to apply to Servo 1 | Default is Linear |
| | **F** | Easing function to apply to Servo 2 | (Same as **E**) | | | **F** | Easing function to apply to Servo 2 | (Same as **E**) | | ||
| | **A** | Point for Servo 1 | <0 ... 8>\\ 0 -> 25 degrees\\ 1 -> 41 degrees\\ 2 -> 58 degrees\\ ...\\ 8 -> 160 degrees | | | **A** | Point for Servo 1 | <0 ... 8>\\ 0 -> 25 degrees\\ 1 -> 41 degrees\\ 2 -> 58 degrees\\ ...\\ 8 -> 160 degrees | | ||
| Line 246: | Line 333: | ||
| {{: | {{: | ||
| + | |||
| ==== USERMOVE Examples ==== | ==== USERMOVE Examples ==== | ||
| + | |||
| === Example 1 – Slow Wag 1 (same as the '' | === Example 1 – Slow Wag 1 (same as the '' | ||
| Line 265: | Line 354: | ||
| * **L75L75** Position 2 is reached in 75 * 20 ms = 1.5 s; return to Position 1 in the same time | * **L75L75** Position 2 is reached in 75 * 20 ms = 1.5 s; return to Position 1 in the same time | ||
| * **H1** Home at end of move | * **H1** Home at end of move | ||
| + | |||
| === Example 2 – Test Servos === | === Example 2 – Test Servos === | ||
| Line 282: | Line 372: | ||
| * **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 ('' | ||
| </ | </ | ||
| + | |||
| ==== USERLEDS Examples ==== | ==== USERLEDS Examples ==== | ||
| + | |||
| === Example 1 – Beacon (same as the '' | === Example 1 – Beacon (same as the '' | ||
| Line 314: | Line 406: | ||
| - | ===== Autonomous | + | ===== Conference |
| - | Defines | + | Conference mode pairs the user's phone with the TailControl device and establishes |
| - | from T1 to T2. | + | |
| - | **AUTOMODE G< | + | |
| + | * **MITM (Man In The Middle):** process by which a third device impersonates the other two legitimate devices, in order to fool them into connecting to it. Both BLE central and peripheral will connect to the malicious device, which in turn routes the communication between the other two devices. The malicious device intercepts all data being sent and can inject false data or remove data before it reaches its recipient. | ||
| + | | ||
| - | The tail will select a random move from the specified group(s), pausing for a random number | + | <WRAP round important 90%> |
| + | Do **NOT** attempt to use Conference Mode on TailControl firmware prior to 5.3.0, or a condition requiring repair | ||
| - | Autonomous Mode is ended (after completing any ongoing move) if a BLE connection is made. | ||
| - | ^ Group ^ Move Group Name ^ Move List ^ | + | ==== Enabling Conference Mode (Pairing |
| - | | 1 | Calm and Relaxed | Slow Wag 1, Slow Wag 2, Slow Wag 3 | | + | |
| - | | 2 | Fast and Excited | Fast Wag, Short Wag, Happy Wag, Erect | | + | |
| - | | 3 | Frustrated and Tense | Tremble 1, Tremble 2, Tremble Erect, High Wag | | + | |
| - | The parameter order is not important, except that the three '' | + | Pairing |
| - | ^ Prefix | + | **SETPUSSKEY |
| - | | **G** | Move Group (see table above) | <1 ... 3> | | + | |
| - | | **T1** | Minimum random pause between moves in 1-second increments | <1 ... 240> (1 s ... 4 min) | | + | |
| - | | **T2** | Maximum random pause between moves in 1-second increments | <1 ... 240> (1 s ... 4 min) | | + | |
| - | | **T3** | Total duration in 15-second increments | <1 ... 240> (15 s ... 60 min); <251 ... 254> are reserved, see [[en: | + | |
| - | **STOPAUTO** | + | The device will then reboot after 3 seconds. Conference Mode is then enabled, and pairing proceeds. The user's phone (or other device) will prompt for the passkey (which was set earlier), and the bond will be established on both devices. After that, the passkey or a previous bond (up to 3 can be stored) will be required to connect to the device. |
| - | '' | ||
| + | ==== Disabling Conference Mode ==== | ||
| - | ===== Conference Mode ===== | + | Conference Mode can be disabled by sending the '' |
| - | Conference mode pairs the user's phone with the TailCoNTROL device and establishes a bond that performs long-term storage of encryption info (particularly keys) so that the devices “know” each other and can easily reconnect in an encrypted way. This protects your device in a number of different ways: | + | **STOPPUSSKEY** |
| - | * **Authentication: | + | The device |
| - | * **MITM (Man In The Middle):** process by which a third device impersonates | + | |
| - | * **Replay Attack:** a type of network attack in which an attacker captures a valid network transmission and then retransmits it later. The main objective is to trick the system into accepting the retransmission of the data as legitimate. | + | |
| - | ==== 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, | + | ==== Querying Conference Mode ==== |
| - | **SETPUSSKEY < | + | The state of Conference Mode can be disabled by sending the '' |
| - | The device will then reboot in 3 seconds. Conference Mode is then enabled, and pairing proceeds. The user's phone (or other device) will prompt for the passkey (which was set earlier), and the bond will be established on both devices. After that, the passkey or a previous bond (up to 3 can be stored) will be required to connect to the device. | + | **PUSSKEYSTATE** |
| - | ==== Disabling Conference Mode ==== | + | returns |
| - | + | ||
| - | Conference Mode can be disabled by sending the '' | + | |
| - | + | ||
| - | **STOPPUSSKEY** | + | |
| - | The device will then reboot in 3 seconds. If the bond needs to be removed or reset, see [[en: | ||
| - | ==== 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. | ||
| - | - At approximately 3 seconds, the blue LED will flash three times and turn off. Continue to hold without releasing the button. If you Wish to cancel the factory reset, release at any time before the next step and the device will power off. | + | - At approximately 3 seconds, the blue LED will flash three times and turn off. Continue to hold without releasing the button. If you wish to cancel the factory reset, release at any time before the next step and the device will power off. |
| - 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, | ||
| - | 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 | + | <WRAP round info 90%> |
| + | Note that 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 | ||
| * On Android, enter Settings, Connections, | * On Android, enter Settings, Connections, | ||
| * On iOS, enter Settings, Bluetooth and find the device to remove under "My Devices" | * On iOS, enter Settings, Bluetooth and find the device to remove under "My Devices" | ||
| - | |||
| - | ===== iOS Casual Mode ===== | ||
| - | |||
| - | <WRAP round todo> | ||
| - | This feature is pending removal in a future release. | ||
| </ | </ | ||
| - | Because the CRUMPET application is not currently permitted to manage the tail while the iOS application is in the background, the application uses the '' | ||
| - | **AUTOMODEG1 | + | ===== Listen Mode ===== |
| - | Note that the '' | + | Listen Mode is only available on the EarGear 2. When Listen Mode is active, a detected sound above ambient will send a '' |
| - | Important! The minimum random pause cannot be less that 15 seconds. | + | '' |
| - | ==== iOS Casual | + | Triggering by Listen |
| - | **AUTOMODE T15T60T240 G1G2** | ||
| - | * **T15** 15-second minimum random pause between moves | + | ===== No-phone |
| - | * **T60** 60-second (1 minute) maximum random pause between moves | + | |
| - | * **T240** 3600-second (240 * 15 = 3600 s = 1 hour) total duration of Autonomous | + | |
| - | * **G1G2** Randomly select a move from groups 1 and 2 | + | |
| + | Perform random moves while disconnected from a BLE client, selected from any of three groups as below; interval between moves varies randomly from T1 to T2. This feature is comparable to Casual Mode in the app. | ||
| - | ===== Listen Mode ===== | + | **AUTOMODE G< |
| - | Listen Mode is only available on the EarGear 2. When Listen Mode is active, a detected sound above ambient will trigger | + | The tail will select a random move from the specified group(s), pausing for a random |
| - | Development support for basic sound localization for future hardware | + | No-phone Mode is suspended (after completing any ongoing move) if a BLE connection is made. It will resume after BLE is disconnected. |
| - | '' | + | |
| - | '' | + | ^ Group ^ Move Group Name ^ Move List ^ |
| + | | 1 | Calm and Relaxed | Slow Wag 1, Slow Wag 2, Slow Wag 3 | | ||
| + | | 2 | Fast and Excited | Fast Wag, Short Wag, Happy Wag, Erect | | ||
| + | | 3 | Frustrated and Tense | Tremble 1, Tremble 2, Tremble Erect, High Wag | | ||
| - | Triggering by Listen 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. | + | The parameter order is not important, except that the three '' |
| - | + | ^ Prefix | |
| - | ===== No-phone Mode ===== | + | | **G** | Move Group (see table above) | <1 ... 3> | |
| - | + | | **T1** | Minimum random pause between moves in 1-second increments | <1 ... 240> (1 s ... 4 min) | | |
| - | No-phone mode is a feature exclusive of MiTail firmware 4.0.0 or greater or TailCoNTROL. | + | | **T2** | Maximum random pause between moves in 1-second increments | <1 ... 240> (1 s ... 4 min) | |
| - | + | | **T3** | Delay to wait for BLE connection before starting NPM | <25**1** | |
| - | **AUTOMODE G<n>[G< | + | |
| No-phone Mode (NPM) will cause the tail to delay one to four minutes (based on the setting of the third '' | No-phone Mode (NPM) will cause the tail to delay one to four minutes (based on the setting of the third '' | ||
| Line 434: | Line 505: | ||
| Stops No-phone mode and disables it in NVS configuration. | Stops No-phone mode and disables it in NVS configuration. | ||
| + | |||
| + | |||
| + | ==== No-phone Mode Example ==== | ||
| + | |||
| + | **AUTOMODE T15T60T243 G1G2** | ||
| + | |||
| + | * **T15** 15-second minimum random pause between moves | ||
| + | * **T60** 60-second (1 minute) maximum random pause between moves | ||
| + | * **T240** 3600-second (240 * 15 = 3600 s = 1 hour) total duration of Autonomous Mode | ||
| + | * **G1G2** Randomly select a move from groups 1 and 2 | ||
| ===== Tilt Mode ===== | ===== Tilt Mode ===== | ||
| - | Tilt Mode is only available on the 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/ | ||
| + | |||
| + | |||
| + | ==== 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. | ||
| - | 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 EarGear 2 has returned to the neutral tilt position during that time. This prevents tilt re-triggering if the user stays in the tilt position for an extended time. | + | < |
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | [xx: | ||
| + | </ | ||
| - | == Copyright 2024 © The Mechanical Tail Company Limited contact@thetailcompany.com. All Rights Reserved. == | + | == 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, |
