Comment on page
mentalCommandActionSensitivity
This method get or set the sensitivity of the 4 active mental command actions.
Name | Type | Required | Description |
cortexToken | string | yes | |
status | string | yes | Must be "get" or "set". |
profile | string | no | A profile name. |
session | string | no | |
values | array of 4 numbers | no | If the status is "set", this parameters is the new sensitivities. Each value must be between 1 and 10. Bigger number indicates higher sensitivity. |
The array values contains the sensitivity of each active actions. The order of the values must follow the order of the active actions, as returned by mentalCommandActiveAction.
If the status is "get", then the result is an
array of 4 numbers.
If the status is "set", then the result is a success message.Request
Response
{
"id": 1,
"jsonrpc": "2.0",
"method": "mentalCommandActionSensitivity",
"params": {
"cortexToken": "xxx",
"profile": "cortex-v2-example",
"status": "get"
}
}
{
"id": 1,
"jsonrpc": "2.0",
"result": [5,5,5,5]
}
Request
Response
{
"id": 1,
"jsonrpc": "2.0",
"method": "mentalCommandActionSensitivity",
"params": {
"cortexToken": "xxx",
"session": "1d5d3655-d570-4731-9faf-967bc5440dc5",
"status": "set",
"values": [5,7,5,5]
}
}
{
"id": 1,
"jsonrpc": "2.0",
"result": "success"
}
Last modified 3yr ago