Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:dev:tailcontrol-command-protocol [2026/09/25 20:17] – [Notes about Tilt Mode] darkgrueen:dev:tailcontrol-command-protocol [2026/10/26 00:50] (current) – darkgrue
Line 233: Line 233:
 | **HWVER** | Returns **H**ard**W**are **VER**sion; returns ''HWVER LEGACY MITAIL'' or ''HWVER MITAIL x.x'' for tail-series controller hardware, ''HWVER EG2 x.x'' for EarGear 2 controller hardware | | **HWVER** | Returns **H**ard**W**are **VER**sion; returns ''HWVER LEGACY MITAIL'' or ''HWVER MITAIL x.x'' for tail-series controller hardware, ''HWVER EG2 x.x'' for EarGear 2 controller hardware |
 | **PING** | Keepalive heartbeat (from application), returns ''PONG'' | | **PING** | Keepalive heartbeat (from application), returns ''PONG'' |
 +| **PUSSKEYSTATE** | **P**a**SSKEY** **STATE** returns state of Conference Mode NVS key state (enabled or disabled), returns ''CONMODE ENABLED'' or ''CONMODE DISABLED'' |
 | **SETPUSSKEY** | **SET** **P**a**SSKEY**; enable Conference Mode, returns ''OK'', and restarts after 3 seconds ([[#Conference Mode|see below]]) | | **SETPUSSKEY** | **SET** **P**a**SSKEY**; enable Conference Mode, returns ''OK'', and restarts after 3 seconds ([[#Conference Mode|see below]]) |
 | **SHUTDOWN** | **SHUT DOWN** the unit (will lose the BLE connection), returns ''OK'' followed by ''SHUTDOWN BEGIN'', or ''ERR'' if charger is attached | | **SHUTDOWN** | **SHUT DOWN** the unit (will lose the BLE connection), returns ''OK'' followed by ''SHUTDOWN BEGIN'', or ''ERR'' if charger is attached |
Line 428: Line 429:
 ==== Disabling Conference Mode ==== ==== Disabling Conference Mode ====
  
-Conference Mode can be disabled by sending the ''STOPPASSKEY'' command. This disables Conference Mode, and sets the stored and running configuration passkey to the default (''123456'').+Conference Mode can be disabled by sending the ''STOPPUSSKEY'' command. This disables Conference Mode, and sets the stored and running configuration passkey to the default (''123456'').
  
 **STOPPUSSKEY** **STOPPUSSKEY**
  
 The device will then reboot after 3 seconds. If the bond needs to be removed or reset, see [[en:dev:tailcontrol-command-protocol#Unbinding / Factory Reset|Unbinding / Factory Reset]], below. The device will then reboot after 3 seconds. If the bond needs to be removed or reset, see [[en:dev:tailcontrol-command-protocol#Unbinding / Factory Reset|Unbinding / Factory Reset]], below.
 +
 +
 +==== Querying Conference Mode ====
 +
 +The state of Conference Mode can be disabled by sending the ''PUSSKEYSTATE'' command.
 +
 +**PUSSKEYSTATE**
 +
 +returns ''CONMODE ENABLED'' or ''CONMODE DISABLED'', depending on the state of the NVS key setting for Conference Mode. An error is displayed on the serial debug console if the current running configuration for the key does not match what is set in NVS.
  
  
Line 519: Line 529:
  
 Invalid readings: if ''sqrt(ay² + az²) < 0.10 g'' (the device is lying on its side), the classifier keeps the last state and doesn't reclassify. Invalid readings: if ''sqrt(ay² + az²) < 0.10 g'' (the device is lying on its side), the classifier keeps the last state and doesn't reclassify.
 +
 +ClawGear does not have a cooldown timer enabled on it's Tilt Mode.
  
  
Line 524: Line 536:
  
  
-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. Once the ears have returned to the dead zone a 3000 ms (3 sec) cooldown is started. Once that timer has expired, the tilt triggers are re-enabled ON A TILT THAT STARTS FROM THE DEAD ZONE:+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.
  
 <code> <code>
Line 545: Line 557:
 [xx:xx:11]Returned to center, tilt holdoff released.   [xx:xx:11]Returned to center, tilt holdoff released.  
 </code> </code>
- 
-So again, the tilt sequence is: 
- 
-  - Trigger tilt by tilting ears 14° off-center, front, back, left, or right. 
-  - Return ears to center. 
-  - Wait 3000 ms. 
-  - Ears MUST return to center, if they are not there when the timer expires. 
-  - Ears will trigger again if moved 14° off-center. 
- 
-ClawGear does not have a cooldown timer enabled on it's Tilt Mode. 
  
  
 == 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, MiTail, MiTail Mini, FlutterWings, and EarGear.  Any unauthorized use is expressly prohibited. == == 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, MiTail, MiTail Mini, FlutterWings, and EarGear.  Any unauthorized use is expressly prohibited. ==