{
"id": 1,
"jsonrpc": "2.0",
"method": "queryProfile",
"params": {
"cortexToken": "xxx"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": [
{
"uuid":"xxx"
"name":"Profile A",
"readOnly":false,
"eegChannels":["AF3","T7","Pz","T8"
},
{
"uuid":"yyy"
"name":"Profile B",
"readOnly":true,
"eegChannels":["AF3","F7","F3","FC5"
}
]
}{
"id": 1,
"jsonrpc": "2.0",
"method": "getCurrentProfile",
"params": {
"cortexToken": "xxx",
"headset": "EPOCPLUS-12341234"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"name": "my profile",
"loadedByThisApp": true
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "loadGuestProfile",
"params": {
"cortexToken": "xxx",
"headset": "INSIGHT-12341234"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"action": "load",
"name": "Guest Profile",
"message": "..."
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "getDetectionInfo",
"params": {
"detection": "mentalCommand"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"actions": [
"neutral",
"push",
"pull",
"lift",
"drop",
"left",
"right",
"rotateLeft",
"rotateRight",
"rotateClockwise",
"rotateCounterClockwise",
"rotateForwards",
"rotateReverse",
"disappear"
],
"controls": [
"start",
"accept",
"reject",
"erase",
"reset"
],
"events": [
"MC_Started",
"MC_Succeeded",
"MC_Failed",
"MC_Completed",
"MC_DataErased",
"MC_Rejected",
"MC_Reset",
"MC_AutoSamplingNeutralCompleted",
"MC_SignatureUpdated"
],
"signature": []
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "getDetectionInfo",
"params": {
"detection": "facialExpression"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"actions": [
"neutral",
"blink",
"winkL",
"winkR",
"horiEye",
"surprise",
"frown",
"smile",
"clench",
"laugh",
"smirkLeft",
"smirkRight"
],
"controls": [
"start",
"accept",
"reject",
"erase",
"reset"
],
"events": [
"FE_Started",
"FE_Succeeded",
"FE_Failed",
"FE_Completed",
"FE_DataErased",
"FE_Rejected",
"FE_Reset"
],
"signature": [
"universal",
"trained"
]
}
}

{
"id": 14,
"jsonrpc": "2.0",
"method": "training",
"params": {
"action": "push",
"cortexToken": "xxx",
"detection": "mentalCommand",
"session": "f3a35fd0-9163-4cc4-ab30-4ed224369f91",
"status": "start"
}
}{
"id": 14,
"jsonrpc": "2.0",
"result": {
"action": "push",
"message": "Set up training successfully",
"status": "start"
}
}{
"id": 15,
"jsonrpc": "2.0",
"method": "training",
"params": {
"action": "push",
"cortexToken": "xxx",
"detection": "mentalCommand",
"session": "f3a35fd0-9163-4cc4-ab30-4ed224369f91",
"status": "accept"
}
}{
"id": 15,
"jsonrpc": "2.0",
"result": {
"action": "push",
"message": "Set up training successfully",
"status": "accept"
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "setupProfile",
"params": {
"cortexToken": "xxx",
"profile": "cortex-v2-example",
"status": "create"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"action": "create",
"message": "...",
"name": "cortex-v2-example"
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "setupProfile",
"params": {
"cortexToken": "xxx",
"headset": "EPOCPLUS-12341234",
"profile": "cortex-v2-example",
"status": "load"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"action": "load",
"message": "The profile is loaded successfully",
"name": "cortex-v2-example"
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "setupProfile",
"params": {
"cortexToken": "xxx",
"headset": "EPOCPLUS-12341234",
"profile": "cortex-v2-example",
"status": "save"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"action": "save",
"message": "The profile is saved successfully",
"name": "cortex-v2-example"
}
}