parameters | type | required | example | details |
gameToken |
String | True | 6YZREBW | security token,Get it from the HISMITH APP remote play link |
action |
String | True | connection | Operation Type: Create Remote Connection |
langIso |
String | en | customer language |
parameters | type | required | example | details |
serverConnection |
Boolean | 1 | Successfully established a connection with the server | |
product |
json | Information on toy currently controlled remotely | ||
-type |
String | sm | toy type | |
-speed |
Integer | 0 | toy current speed | |
-mode |
Integer | 0 | toy current mode | |
-vibration |
Integer | 0 | toy current vibration mode, If the toy has a vibration function | |
-vspeed |
Integer | toy current vibration speed, If the toy has a vibration function | ||
-strokeType |
Boolean | 0 | The control method of controllable stroke toys,1 is to automatically run the stroke according to the speed, 0 is to manually specify the stroke position | |
-strokeMin |
Integer | 0 | Minimum travel position of the toy,0-100 | |
-strokeMax |
Integer | 100 | The maximum travel position of the toy,0-100 | |
-strokeNow |
Integer | 66 | The current travel position of the toy equipment,10-100 | |
-smooth |
Integer | 10 | Smoothness of travel toys,0-10 | |
-climax |
Boolean | 1 | Does the toy support one-click orgasm? | |
-modes |
json | Toy model details | ||
-modesUrl |
json | New Toy Mode Details | ||
success |
Boolean | 1 | Request success status,1:success,0:fail | |
error |
json | error report | ||
-errorCode |
String | relogin | error code | |
-errorMessage |
String | Token is invalid, please log in again | error details |
parameters | type | required | example | details |
action |
String | True | setSpeed | set toy running speed |
type |
String | Speed type,S:toy main motor,V:toy vibration motor;default S, The maximum length:3 | ||
speed |
Integer | 50 | toy speed number,0-100 |
parameters | type | required | example | details |
action |
String | setSpeed | set toy running speed | |
type |
String | Toy Motor Selection,S:toy main motor,V:toy vibration motor;default S | ||
speed |
Integer | 50 | toy speed number,0-100 | |
success |
Boolean | 1 | Request success status,1:success,0:fail | |
error |
json | error report | ||
-errorCode |
String | relogin | error code | |
-errorMessage |
String | Token is invalid, please log in again | error details |
parameters | type | required | example | details |
action |
String | True | setMode | set toy running mode |
type |
String | modes | Toy Motor Selection,modes:toy main motor,vibrations:toy vibration motor | |
mode |
Integer | 3 | toy Mode number |
parameters | type | required | example | details |
action |
String | setMode | set toy running mode | |
type |
String | modes | Toy Motor Selection,modes:toy main motor,vibrations:toy vibration motor | |
mode |
Integer | 3 | toy Mode number | |
success |
Boolean | 1 | Request success status,1:success,0:fail | |
error |
json | error report | ||
-errorCode |
String | relogin | error code | |
-errorMessage |
String | Token is invalid, please log in again | error details |
parameters | type | required | example | details |
parameters | type | required | example | details |
action |
String | switchMode | The current mode control state of the toy | |
status |
Integer | 1 | 1:Enable mode control,0:disable mode control | |
success |
Boolean | 1 | Request success status,1:success,0:fail | |
error |
json | error report | ||
-errorCode |
String | relogin | error code | |
-errorMessage |
String | Token is invalid, please log in again | error details |
parameters | type | required | example | details |
action |
String | True | setClimax | Operate the toy in orgasmic mode |
parameters | type | required | example | details |
action |
String | setClimax | Toy Orgasm Mode Notification | |
climax |
Integer | 1 | Toy has gone into orgasm mode | |
success |
Boolean | 1 | Request success status,1:success,0:fail | |
error |
json | error report | ||
-errorCode |
String | relogin | error code | |
-errorMessage |
String | Token is invalid, please log in again | error details |
parameters | type | required | example | details |
action |
String | True | setStroke | set toy Stroke |
strokeMin |
Integer | 0 | start of Stroke | |
strokeMax |
Integer | 100 | end of Stroke |
parameters | type | required | example | details |
action |
String | setStroke | set toy Stroke | |
strokeMin |
Integer | 0 | start of Stroke | |
strokeMax |
Integer | 100 | end of Stroke | |
success |
Boolean | 1 | Request success status,1:success,0:fail | |
error |
json | error report | ||
-errorCode |
String | relogin | error code | |
-errorMessage |
String | Token is invalid, please log in again | error details |
parameters | type | required | example | details |
action |
String | True | setSmooth | Set toy smoothness |
smooth |
Integer | 0 | smoothness number,0-10, maximum value:10 |
parameters | type | required | example | details |
action |
String | setSmooth | Set toy smoothness | |
smooth |
Integer | 0 | smoothness number,0-10 | |
success |
Boolean | 1 | Request success status,1:success,0:fail | |
error |
json | error report | ||
-errorCode |
String | relogin | error code | |
-errorMessage |
String | Token is invalid, please log in again | error details |
parameters | type | required | example | details |
action |
String | True | setStrokeType | Set the stroke run type |
strokeType |
Boolean | 0 | 1 is to automatically run the stroke according to the speed, 0 is to manually specify the stroke position |
parameters | type | required | example | details |
action |
String | setStrokeType | Set the stroke run type | |
strokeType |
Boolean | 0 | 1 is to automatically run the stroke according to the speed, 0 is to manually specify the stroke position | |
success |
Boolean | 1 | Request success status,1:success,0:fail | |
error |
json | error report | ||
-errorCode |
String | relogin | error code | |
-errorMessage |
String | Token is invalid, please log in again | error details |
parameters | type | required | example | details |
action |
String | True | setStrokeNow | Notify the toy of the current stroke position |
strokeNow |
Integer | 0 | current stroke number,0-100 |
parameters | type | required | example | details |
action |
String | setStrokeNow | Notify the toy of the current stroke position | |
strokeNow |
Integer | 0 | current stroke number,0-100 | |
success |
Boolean | 1 | Request success status,1:success,0:fail | |
error |
json | error report | ||
-errorCode |
String | relogin | error code | |
-errorMessage |
String | Token is invalid, please log in again | error details |
parameters | type | required | example | details |
action |
String | True | close | Send value:close, Close Socket |
parameters | type | required | example | details |
success |
Boolean | 1 | Request success status,1:success,0:fail | |
error |
json | error report | ||
-errorCode |
String | relogin | error code | |
-errorMessage |
String | Token is invalid, please log in again | error details |