Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
{
"id": 1,
"jsonrpc": "2.0",
"method": "getCortexInfo"
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"buildDate":"2019-05-29T14:09:19",
"buildNumber":"25cf08bd",
"version":"2.0.0"
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "hasAccessRight",
"params": {
"clientId": "xxx",
"clientSecret": "xxx"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"accessGranted":true,
"message":"The User has granted access right to this application."
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "getUserInformation",
"params": {
"cortexToken": "xxx"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"username": "jon.snow",
"firstName": "Jon",
"lastName": "Snow",
"licenseAgreement": {
"accepted": true,
"licenseUrl": "https://..."
}
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "area",
"params": {
"width": 6,
"length": 7
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": 42
}{
"id": 1,
"jsonrpc": "2.0",
"method": "requestAccess",
"params": {
"clientId": "xxx",
"clientSecret": "xxx"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"accessGranted":true,
"message":"The User has granted access right to this application."
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "requestAccess",
"params": {
"clientId": "xxx",
"clientSecret": "xxx"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"accessGranted":false,
"message":"The User has not granted access right to this application. Please use Emotiv App to proceed."
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "getUserLogin"
}{
"id": 1,
"jsonrpc": "2.0",
"result": []
}{
"id": 1,
"jsonrpc": "2.0",
"method": "getUserLogin"
}{
"id": 1,
"jsonrpc": "2.0",
"result": [{
"currentOSUId":"501",
"currentOSUsername":"jsnow",
"lastLoginTime": "2019-11-28T12:09:17.300+07:00",
"loggedInOSUId":"501",
"loggedInOSUsername":"jsnow",
"username":"jon.snow"
}]
}{
"id": 1,
"jsonrpc": "2.0",
"method": "getUserLogin"
}{
"id": 1,
"jsonrpc": "2.0",
"result": [{
"currentOSUId":"501",
"currentOSUsername":"jsnow",
"lastLoginTime": "2019-11-28T12:09:17.300+07:00",
"loggedInOSUId":"502",
"loggedInOSUsername":"astark",
"username":"aria.stark"
}]
}{
"id": 1,
"jsonrpc": "2.0",
"method": "authorize",
"params": {
"clientId": "xxx",
"clientSecret": "xxx"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"cortexToken":"xxx",
"warning": {
"code": 6,
"message": "...",
"licenseUrl": "https://..."
}
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "queryHeadsets"
}{
"id": 1,
"jsonrpc": "2.0",
"result": [
{
"connectedBy": "dongle",
"customName": "",
"dongle": "6ff",
"firmware": "625",
"id": "EPOCPLUS-3B9AXXXX",
"motionSensors": [
"GYROX",
"GYROY",
"GYROZ",
"ACCX",
"ACCY",
"ACCZ",
"MAGX",
"MAGY",
"MAGZ"
],
"sensors": [
"AF3",
"F7",
"F3",
"FC5",
"T7",
"P7",
"O1",
"O2",
"P8",
"T8",
"FC6",
"F4",
"F8",
"AF4"
],
"settings": {
"eegRate": 256,
"eegRes": 16,
"memsRate": 64,
"memsRes": 16,
"mode": "EPOCPLUS"
},
"status": "connected"
}
]
}{
"id": 1,
"jsonrpc": "2.0",
"method": "updateHeadset",
"params": {
"cortexToken": "xxx",
"headsetId": "EPOCPLUS-3B9AXXXX",
"setting": {
"mode": "EPOCPLUS",
"eegRate": 256,
"memsRate": 64
}
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"headsetId": "EPOCPLUS-3B9AXXXX",
"message": "..."
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "updateHeadset",
"params": {
"cortexToken": "xxx",
"headsetId": "EPOCPLUS-3B9AXXXX",
"setting": {
"mode": "EPOC",
"eegRate": 128,
"memsRate": 0
}
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"headsetId": "EPOCPLUS-3B9AXXXX",
"message": "..."
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "updateHeadsetCustomInfo",
"params": {
"cortexToken": "xxx",
"headbandPosition": "top",
"headsetId": "EPOCX-12345678"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"customName": "Epoc 1",
"headbandPosition": "top",
"headsetId": "EPOCX-12345678",
"message": "Update headset customized information successfully."
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "queryHeadsets"
}{
"id": 1,
"jsonrpc": "2.0",
"result": []
}{
"id": 1,
"jsonrpc": "2.0",
"method": "queryHeadsets",
"params": {
"id": "EPOCPLUS-3B9AXXXX"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": [
{
"connectedBy": "dongle",
"customName": "",
"dongle": "6ff",
"firmware": "625",
"id": "EPOCPLUS-3B9AXXXX",
"motionSensors": [
"GYROX",
"GYROY",
"GYROZ",
"ACCX",
"ACCY",
"ACCZ",
"MAGX",
"MAGY",
"MAGZ"
],
"sensors": [
"AF3",
"F7",
"F3",
"FC5",
"T7",
"P7",
"O1",
"O2",
"P8",
"T8",
"FC6",
"F4",
"F8",
"AF4"
],
"settings": {
"eegRate": 256,
"eegRes": 16,
"memsRate": 64,
"memsRes": 16,
"mode": "EPOCPLUS"
},
"status": "connected"
}
]
}{
"id": 1,
"jsonrpc": "2.0",
"method": "queryHeadsets",
"params": {
"id": "INSIGHT-*"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": [
{
"id": "INSIGHT-AAAA0000",
"status": "connected",
"connectedBy": "dongle",
"customName": "",
"dongle": "6ff",
"firmware": "930",
"headbandPosition": null,
"motionSensors": [
"Q0",
"Q1",
"Q2",
"Q3",
"ACCX",
"ACCY",
"ACCZ",
"MAGX",
"MAGY",
"MAGZ"
],
"sensors": [
"AF3",
"T7",
"Pz",
"T8",
"AF4"
],
"settings": {
"eegRate": 128,
"eegRes": 14,
"memsRate": 64,
"memsRes": 14,
"mode": "INSIGHT"
}
}
]
}{
"id": 1,
"jsonrpc": "2.0",
"method": "configMapping",
"params": {
"cortexToken": "xxx",
"mappings": {
"CMS": "TP9",
"DRL": "TP10",
"RD": "T8",
"RE": "F4",
"RF": "F8",
"RG": "AF4"
},
"name": "config1",
"status": "create"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"message": "Create flex mapping config successful",
"value": {
"label": {},
"mappings": {
"CMS": "TP9",
"DRL": "TP10",
"RD": "T8",
"RE": "F4",
"RF": "F8",
"RG": "AF4"
},
"name": "config1",
"uuid": "4416dc1b-3a7c-4d20-9ec6-aacdb9930071"
}
}
}{
"id": 1,
"
{
"id": 1,
"
{
"id": 1,
"
{
"id": 1,
"
{
"id": 1,
"
{
"id": 1,
"
{
"id": 1,
"jsonrpc": "2.0",
"method": "getLicenseInfo",
"params": {
"cortexToken": "xxx"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"isOnline":true,
"license":{
"applications":["com.emotiv.emotivpro"],
"billingFrom":"2018-08-23T07:00:00.000+07:00",
"billingTo":"2019-09-23T07:00:00.000+07:00",
"deviceInfo":{
"deviceLimit":15,
"devicesPerSeat":3,
"sessionLimit":{"day":null,"month":null,"year"
},
"expired":false,
"extenderLimit":30,
"hardLimitTime":"2019-07-01T06:59:59.999+07:00",
"isCommercial":false,
"licenseId":"xxx",
"licenseName":"PRO license",
"localQuota":0,
"maxDebit":null,
"scopes":["eeg","pm"],
"seatCount":5,
"sessionCount":0,
"softLimitTime":"2019-06-24T06:59:59.999+07:00",
"totalDebit":0,
"totalRegisteredDevices":1,
"validFrom":"2018-08-23T07:00:00.000+07:00",
"validTo":"2019-09-24T06:59:59.999+07:00"
}
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "configMapping",
"params": {
"cortexToken": "xxx",
"status": "get"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"message": "Get flex mapping config successful",
"value": {
"config": [
{
"label": {},
"mappings": {
"CMS": "TP10",
"DRL": "TP9",
"LA" : "C3",
"LB" : "T7",
},
"name": "Default Configuration",
"uuid": "f4296b2d-d6e7-45cf-9569-7bc2a1bd56e4"
},
{
"label": {},
"mappings": {
"CMS": "TP9",
"DRL": "TP10",
"RF" : "F8",
"RG" : "AF4"
},
"name": "config2",
"uuid": "764adb97-a710-4d95-977a-dea5b682aa04"
}
],
"updated": "2025-10-08T06:16:30.521+07:00",
"version": "2018-05-08"
}
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "configMapping",
"params": {
"cortexToken": "xxx",
"status": "read",
"uuid": "764adb97-a710-4d95-977a-dea5b682aa04"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"message": "Read flex mapping config successful",
"value": {
"label": {},
"mappings": {
"CMS": "TP9",
"DRL": "TP10",
"RF" : "F8",
"RG" : "AF4"
},
"name": "config2",
"uuid": "764adb97-a710-4d95-977a-dea5b682aa04"
}
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "configMapping",
"params": {
"cortexToken": "xxx",
"status": "update",
"uuid": "764adb97-a710-4d95-977a-dea5b682aa04",
"name": "new config"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"message": "Update flex mapping config successful",
"value": {
"label": {},
"mappings": {
"CMS": "TP9",
"DRL": "TP10",
"RF" : "F8",
"RG" : "AF4"
},
"name": "new config",
"uuid": "764adb97-a710-4d95-977a-dea5b682aa04"
}
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "configMapping",
"params": {
"cortexToken": "xxx",
"status": "delete",
"uuid": "effa621f-49d6-4c46-95f3-28f43813a6e9"
}
}{
"id": 3373617,
"jsonrpc": "2.0",
"result": {
"message": "Delete flex mapping config successful",
"uuid": "effa621f-49d6-4c46-95f3-28f43813a6e9"
}
}{
"CMS": "P3",
"DRL": "P4",
"LA": "FC5",
"LB": "O1",
"LC": "P7",
"LD": "T7",
"LE": "F3",
"LF": "F7",
"LG": "AF3",
"RA": "FC6",
"RB": "O2",
"RC": "P8",
"RD": "T8",
"RE": "F4",
"RF": "F8",
"RG": "AF4"
}{
"id": 1,
"jsonrpc": "2.0",
"method": "controlDevice",
"params": {
"command": "refresh"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"command": "refresh",
"message": "..."
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 142,
"message": {
"behavior": "Headset discovering complete."
}
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "controlDevice",
"params": {
"command": "connect",
"headset": "INSIGHT-12341234"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"command": "connect",
"message": "Start connecting to headset INSIGHT-12341234"
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 104,
"message": {
"headsetId": "INSIGHT-12341234",
"behavior": "The headset is connected"
}
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "controlDevice",
"params": {
"command": "connect",
"headset": "EPOCFLEX-12341234",
"mappings": {
"CMS": "F3",
"DRL": "F5",
"LA": "AF3",
"LB": "AF7",
"RA": "P8"
}
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"command": "connect",
"message": "..."
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "controlDevice",
"params": {
"command": "disconnect",
"headset": "EPOCFLEX-12341234"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"command": "disconnect",
"message": "..."
}
}{
"id": "8bfc26de-754b-4c1f-9771-acfd1a7da02c",
"status": "opened",
"owner": "jon.snow",
"license": "",
"appId": "com.jon.snow.winterfell-app",
"started": "2019-05-29T14:18:45.108+07:00",
"stopped": "",
"headset": {
"status": "connected"
"connectedBy": "dongle",
"customName": "",
"dongle": "6ff",
"firmware": "625",
"id": "EPOCPLUS-3B9AXXXX",
"motionSensors": [
"GYROX",
"GYROY",
"GYROZ",
"ACCX",
"ACCY",
"ACCZ",
"MAGX",
"MAGY",
"MAGZ"
],
"sensors": [
"AF3",
"F7",
"F3",
"FC5",
"T7",
"P7",
"O1",
"O2",
"P8",
"T8",
"FC6",
"F4",
"F8",
"AF4"
],
"settings": {
"eegRate": 256,
"eegRes": 16,
"memsRate": 64,
"memsRes": 16,
"mode": "EPOCPLUS"
}
},
"recordIds": [],
"recording": false,
"streams": ["met","mot"]
}{
"id": 1,
"jsonrpc": "2.0",
"method": "updateSession",
"params": {
"cortexToken": "xxx",
"session": "38fef6d7-979b-420b-aa25-dd60ef5edc02",
"status": "close"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"appId": "com.jon.snow.winterfell-app",
"headset": {
"connectedBy": "dongle",
"customName": "",
"dongle": "6ff",
"firmware": "925",
"id": "INSIGHT-5A68XXXX",
"motionSensors": [
"GYROX",
"GYROY",
"GYROZ",
"ACCX",
"ACCY",
"ACCZ",
"MAGX",
"MAGY",
"MAGZ"
],
"sensors": [
"AF3",
"T7",
"Pz",
"T8",
"AF4"
],
"settings": {
"eegRate": 128,
"eegRes": 14,
"memsRate": 128,
"memsRes": 14,
"mode": "UNKNOWN"
},
"status": "connected"
},
"id": "38fef6d7-979b-420b-aa25-dd60ef5edc02",
"license": "xxx",
"owner": "jon.snow",
"recordIds": [
"d8fe7658-71f1-4cd6-bb5d-f6775b03438f"
],
"recording": false,
"started": "2019-06-06T11:41:53.168+07:00",
"status": "closed",
"stopped": "2019-06-06T11:42:23.531+07:00",
"streams": []
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "syncWithHeadsetClock",
"params": {
"headset": "INSIGHT-587XX4BB",
"monotonicTime": 321.445,
"systemTime": 1629978090.302
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"adjustment": 1629977768.86108,
"headset": "INSIGHT-587XX4BB"
}
}{
"id": "INSIGHT-AAAA0000",
"status": "connected",
"connectedBy": "dongle",
"customName": "",
"dongle": "6ff",
"firmware": "930",
"motionSensors": [
"Q0",
"Q1",
"Q2",
"Q3",
"ACCX",
"ACCY",
"ACCZ",
"MAGX",
"MAGY",
"MAGZ"
],
"sensors": [
"AF3",
"T7",
"Pz",
"T8",
"AF4"
],
"settings": {
"eegRate": 128,
"eegRes": 14,
"memsRate": 64,
"memsRes": 14,
"mode": "INSIGHT"
},
"isVirtual": false
}{
"id": "EPOCPLUS-3B9AXXXX",
"status": "connected",
"connectedBy": "dongle",
"customName": "",
"dongle": "6ff",
"firmware": "625",
"motionSensors": [
"GYROX",
"GYROY",
"GYROZ",
"ACCX",
"ACCY",
"ACCZ",
"MAGX",
"MAGY",
"MAGZ"
],
"sensors": [
"AF3",
"F7",
"F3",
"FC5",
"T7",
"P7",
"O1",
"O2",
"P8",
"T8",
"FC6",
"F4",
"F8",
"AF4"
],
"settings": {
"eegRate": 256,
"eegRes": 16,
"memsRate": 64,
"memsRes": 16,
"mode": "EPOCPLUS"
},
"isVirtual": false
}{
"id": 1,
"jsonrpc": "2.0",
"result": [
{
"connectedBy": "bluetooth",
"customName": "virtual mn8",
"dfuTypes": ["dfuNone"],
"dongle": "0",
"firmware": "23",
"firmwareDisplay": "0x23",
"headbandPosition": null,
"id": "MN8-2DC3C2D9",
"isDfuMode": false,
"isVirtual": true,
"motionSensors": ["Q0", "Q1", "Q2", "Q3"],
"sensors": ["T7", "T8"],
"settings": {
"eegRate": 128,
"eegRes": 14,
"memsRate": 6,
"memsRes": 10,
"mode": "MN8"
},
"status": "connected",
"virtualHeadsetId": "2dc3c2d9-cfe1-461b-983b-f187437b91e0"
}
]
}
{
"id": 1,
"jsonrpc": "2.0",
"method": "stopRecord",
"params": {
"cortexToken": "xxx",
"session": "38fef6d7-979b-420b-aa25-dd60ef5edc02"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"record": {
"applicationId": "com.jon.snow.winterfell-app",
"applicationVersion": "1.0",
"description": "",
"endDatetime": "2019-06-06T11:42:23.436191+07:00",
"experimentId": 0,
"licenseId": "xxx",
"licenseScope": ["pm","eeg"],
"ownerId": "76c3468a-d9c0-428d-81b4-bdac5d63860e",
"startDatetime": "2019-06-06T11:41:53.088632+07:00",
"tags": [],
"title": "Cortex Examples C++",
"uuid": "d8fe7658-71f1-4cd6-bb5d-f6775b03438f"
},
"sessionId": "38fef6d7-979b-420b-aa25-dd60ef5edc02"
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "subscribe",
"params": {
"cortexToken": "xxx",
"session": "f8cb7289-9a92-438b-8281-e5fdffe8166e",
"streams": ["met","mot"]
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"failure": [],
"success": [
{
"cols": ["eng","exc","lex","str","rel","int","foc"],
"sid": "f8cb7289-9a92-438b-8281-e5fdffe8166e",
"streamName": "met"
},
{
"cols": [
"COUNTER_MEMS",
"INTERPOLATED_MEMS",
"GYROX",
"GYROY",
"GYROZ",
"ACCX",
"ACCY",
"ACCZ",
"MAGX",
"MAGY",
"MAGZ"
],
"sid": "f8cb7289-9a92-438b-8281-e5fdffe8166e",
"streamName": "mot"
}
]
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "subscribe",
"params": {
"cortexToken": "xxx",
"session": "49eb6cb0-9df6-414a-b3e8-cfa17198daa0",
"streams": ["met","eeg"]
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"failure": [
{
"code": -32016,
"message": "The stream is unavailable or unsupported.",
"streamName": "eeg"
}
],
"success": [
{
"cols": ["eng","exc","lex","str","rel","int","foc"],
"sid": "49eb6cb0-9df6-414a-b3e8-cfa17198daa0",
"streamName": "met"
}
]
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "unsubscribe",
"params": {
"cortexToken": "xxx",
"session": "c6b52ab2-8828-412c-b1b9-9c48842dc0c2",
"streams": ["met","mot"]
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"failure":[],
"success":[
{"streamName":"met"},
{"streamName":"mot"}
]
}
}{
"id": 1,
"
{
"id": 1,
"
{
"id": 1,
"
{
"id": 1,
"
{
"id": 1,
"jsonrpc": "2.0",
"method": "createSession",
"params": {
"cortexToken": "xxx",
"headset": "EPOCPLUS-3B9AXXX",
"status": "open"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"appId": "com.jon.snow.winterfell-app",
"headset": {
"connectedBy": "dongle",
"customName": "",
"dongle": "6ff",
"firmware": "625",
"id": "EPOCPLUS-3B9AXXXX",
"motionSensors": [
"GYROX",
"GYROY",
"GYROZ",
"ACCX",
"ACCY",
"ACCZ",
"MAGX",
"MAGY",
"MAGZ"
],
"sensors": [
"AF3",
"F7",
"F3",
"FC5",
"T7",
"P7",
"O1",
"O2",
"P8",
"T8",
"FC6",
"F4",
"F8",
"AF4"
],
"settings": {
"eegRate": 256,
"eegRes": 16,
"memsRate": 64,
"memsRes": 16,
"mode": "EPOCPLUS"
},
"status": "connected"
},
"id": "8bfc26de-754b-4c1f-9771-acfd1a7da02c",
"license": "",
"owner": "jon.snow",
"recordIds": [],
"recording": false,
"started": "2019-05-29T14:18:45.108+07:00",
"status": "opened",
"stopped": "",
"streams": []
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "createSession",
"params": {
"cortexToken": "xxx",
"headset": "EPOCPLUS-3B9AXXX",
"status": "active"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
}
}{
"id":8,
"jsonrpc":"2.0",
"result":{
"failure":[],
"success":[{
"cols":["act","pow"],
"sid":"7f899d66-442b-4bf4-9752-ed06d57b72c3",
"streamName":"com"
}]
}
}["act","pow"]{
"com": ["push", 0.376],
"sid": "7f899d66-442b-4bf4-9752-ed06d57b72c3",
"time": 1559900743.3318
}[
"COUNTER",
"INTERPOLATED",
"AF3","T7","Pz","T8","AF4",
"RAW_CQ",
"MARKER_HARDWARE",
"MARKERS"
]{
"eeg": [
8,
0,
4202.051, 4235.385, 4146.667, 4210.769, 4108.718,
0,
0,
[]
],
"sid": "8bbc58bd-0ab1-404e-b472-dac1322dbe5b",
"time": 1590402103.9016
}[
"COUNTER",
"INTERPOLATED",
"AF3","F7","F3","FC5","T7","P7","O1","O2","P8","T8","FC6","F4","F8","AF4",
"RAW_CQ",
"MARKER_HARDWARE",
"MARKERS"
]{
"eeg":[
14,
0,
4161.41,4212.051,4135,4161.538,4195,4184.103,4182,
0,
0,
[{
"applicationId": "com.emotiv.emotivpro",
"isStop": false,
"label": "Blink eye while relaxing",
"markerId": "cc577d88-f404-482a-9629-3e08a0dbcc02",
"port": "KeyStroke",
"recordId": "f3c76112-9b7f-43ab-a906-5c15dc4dd55e",
"value": 22
}]
],
"sid":"01e1e0f1-4416-436f-8f9d-5bf21e2e4784",
"time":1559902873.8976
}[
"COUNTER_MEMS","INTERPOLATED_MEMS",
"Q0","Q1","Q2","Q3",
"ACCX","ACCY","ACCZ",
"MAGX","MAGY","MAGZ"
]{
"mot": [
48,
0,
0.735341, 0.255615, 0.627441, -0.015869,
0.948257, -0.354986, -0.083497,
-44.656766, -86.970985, 23.221568
],
"sid": "da18712c-a292-46b7-a5a0-1bd64a3dc6f3",
"time": 1590402244.8242
}[
"COUNTER_MEMS","INTERPOLATED_MEMS",
"GYROX","GYROY","GYROZ",
"ACCX","ACCY","ACCZ",
"MAGX","MAGY","MAGZ"
]{
"mot":[
14,0,
8206,8187,8181,
4235,8668,8128,
8294,8237,7938
],
"sid":"462c4d75-113f-4664-a443-3aaa02c178d0",
"time":1559902927.7428
}[
"Battery",
"Signal",
["AF3","T7","Pz","T8","AF4","OVERALL"],
"BatteryPercent"
]{
"dev": [
3,
1,
[4,1,1,2,4,25],
74
],
"sid": "edcb9287-f6d5-4c22-9b3f-783d72750f24",
"time": 1590403053.5002
}[
"Battery","Signal",
["AF3","F7","F3","FC5","T7","P7","O1","O2","P8","T8","FC6","F4","F8","AF4","OVERALL"],
"BatteryPercent"
]{
"dev":[
4,2,
[2,0,1,0,1,0,0,4,0,1,0,1,0,1,24],
98
],
"sid":"d02af7d5-2bc0-46f4-8804-026a42ad7841",
"time":1559903194.6721
}[
"batteryPercent",
"overall",
"sampleRateQuality",
"AF3","T7","Pz","T8","AF4"
]{
"eq": [
78,
25,
1.0,
4,1,1,2,4
],
"sid": "edcb9287-f6d5-4c22-9b3f-783d72750f24",
"time": 1590403053.5002
}[
"AF3/theta","AF3/alpha","AF3/betaL","AF3/betaH","AF3/gamma",
"T7/theta","T7/alpha","T7/betaL","T7/betaH","T7/gamma",
"Pz/theta","Pz/alpha","Pz/betaL","Pz/betaH","Pz/gamma",
"T8/theta","T8/alpha","T8/betaL","T8/betaH","T8/gamma",
"AF4/theta","AF4/alpha","AF4/betaL","AF4/betaH","AF4/gamma"
]{
"pow": [
1.246,0.706,0.566,1.065,0.602,
10.293,4.374,11.638,351.767,40.273,
50.159,4.585,0.467,1.481,3.764,
9.861,3.139,2.094,3.342,4.452,
75.652,1.972,2.932,2.555,7.005
],
"sid": "ff0245d1-9531-424c-9f6d-9f736f465516",
"time": 1590403491.0307
}[
"AF3/theta","AF3/alpha","AF3/betaL","AF3/betaH","AF3/gamma",
"F7/theta","F7/alpha","F7/betaL","F7/betaH","F7/gamma",
"F3/theta","F3/alpha","F3/betaL","F3/betaH","F3/gamma",
"FC5/theta","FC5/alpha","FC5/betaL","FC5/betaH","FC5/gamma",
"T7/theta","T7/alpha","T7/betaL","T7/betaH","T7/gamma",
"P7/theta","P7/alpha","P7/betaL","P7/betaH","P7/gamma",
"O1/theta","O1/alpha","O1/betaL","O1/betaH","O1/gamma",
"O2/theta","O2/alpha","O2/betaL","O2/betaH","O2/gamma",
"P8/theta","P8/alpha","P8/betaL","P8/betaH","P8/gamma",
"T8/theta","T8/alpha","T8/betaL","T8/betaH","T8/gamma",
"FC6/theta","FC6/alpha","FC6/betaL","FC6/betaH","FC6/gamma",
"F4/theta","F4/alpha","F4/betaL","F4/betaH","F4/gamma",
"F8/theta","F8/alpha","F8/betaL","F8/betaH","F8/gamma",
"AF4/theta","AF4/alpha","AF4/betaL","AF4/betaH","AF4/gamma"
]{
"pow":[
0.225,0.213,0.537,0.19,0.34,
0.511,0.808,1.706,0.839,0.416,
...
0.92,0.469,1.657,1.443,0.912,
2.675,0.824,0.951,0.303,0.881
],
"sid":"f581b2bb-c043-4a00-8737-1e8e09a9a81b",
"time":1559902987.133
}[
"attention.isActive",
"attention",
"cognitiveStress.isActive",
"cognitiveStress"
]{
"met": [True, 0.8, True, 0.4],
"sid":"6a68b92a-cb1f-4062-bf1f-74424fbae066",
"time": 1759225262.5052
}[
"eng.isActive","eng",
"exc.isActive","exc","lex",
"str.isActive","str",
"rel.isActive","rel",
"int.isActive","int",
"attention.isActive","attention"
]{
"met":[false,null,false,null,null,false,null,true,0.266589,false,null,true,0.098421],
"sid":"6a68b92a-cb1f-4062-bf1f-74424fbae065",
"time":1559903137.1741
}["act","pow"]{
"com":["pull",0.564],
"sid":"79cc669b-af2e-465a-bdc2-0e9bd4aebe80",
"time":1559903099.348
}["eyeAct","uAct","uPow","lAct","lPow"]{
"fac":["neutral","neutral",0,"clench",0.0576],
"sid":"a4f69c56-9769-4a4d-950c-490eb5ebe372",
"time":1559903035.2961
}["event","msg"]{
"sid":"c7e7b527-2b2e-4ec6-8c74-cf16aae8540b",
"sys":["mentalCommand","MC_Started"],
"time":1559903035.2961
}{
"id": 1,
"jsonrpc": "2.0",
"method": "createRecord",
"params": {
"cortexToken": "xxx",
"session": "1067dc90-eb17-489b-9514-69cb79ac696c",
"title": "Cortex Examples C++"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"record": {
"uuid": "222eb845-bc44-4a01-bf28-07445a7c7e8a",
"applicationId": "com.jon.snow.winterfell-app",
"applicationVersion": "1.0",
"description": "",
"endDatetime": "",
"experimentId": 0,
"licenseId": "xxx",
"licenseScope": ["pm","eeg"],
"ownerId": "76c3468a-d9c0-428d-81b4-bdac5d63860e",
"startDatetime": "2019-05-31T11:06:24.398560+07:00",
"tags": [],
"title": "Cortex Examples C++"
},
"sessionId": "1067dc90-eb17-489b-9514-69cb79ac696c"
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "deleteRecord",
"params": {
"cortexToken": "xxx",
"records": [
"d8fe7658-71f1-4cd6-bb5d-f6775b03438f",
"invalid-id"
]
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"success": [
{"recordId":"d8fe7658-71f1-4cd6-bb5d-f6775b03438f"}
],
"failure": [
{"recordId":"invalid-id","code":1234,"message":"..."}
]
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "configOptOut",
"params": {
"cortexToken": "xxx",
"status": "get"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"currOptOut": false,
"forceOptOut": false,
"message": "Get opt-out configuration successfully",
"optOutAvail": true
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "configOptOut",
"params": {
"cortexToken": "xxx",
"status": "set",
"newOptOut": true
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"currOptOut": true,
"forceOptOut": false,
"message": "Update opt-out configuration successfully",
"optOutAvail": true
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "exportRecord",
"params": {
"cortexToken": "xxx",
"folder": "/tmp/edf",
"format": "EDF",
"recordIds": [
"ec0ac33f-ad4e-48b1-bbc3-8502f5c49b62"
],
"streamTypes": [
"EEG",
"MOTION"
]
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"failure": [],
"success": [
{
"recordId": "ec0ac33f-ad4e-48b1-bbc3-8502f5c49b62"
}
]
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "exportRecord",
"params": {
"cortexToken": "xxx",
"folder": "/tmp/csv1",
"format": "CSV",
"recordIds": [
"ec0ac33f-ad4e-48b1-bbc3-8502f5c49b62"
],
"streamTypes": [
"EEG",
"MOTION",
"PM",
"BP"
],
"version": "V1"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"failure": [],
"success": [
{
"recordId": "ec0ac33f-ad4e-48b1-bbc3-8502f5c49b62"
}
]
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "exportRecord",
"params": {
"cortexToken": "xxx",
"folder": "/tmp/csv2",
"format": "CSV",
"recordIds": [
"ec0ac33f-ad4e-48b1-bbc3-8502f5c49b62"
],
"streamTypes": [
"EEG",
"MOTION",
"PM",
"BP"
],
"version": "V2"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"failure": [],
"success": [
{
"recordId": "ec0ac33f-ad4e-48b1-bbc3-8502f5c49b62"
}
]
}
}{
"extras": {},
"label": "test2",
"port": "Cortex Example",
"startDatetime": "2019-06-06T15:57:41.529661+07:00",
"endDatetime": "2019-06-06T15:57:41.529661+07:00",
"type": "instance",
"uuid": "26fccfd8-e487-4623-910a-1ba8591fcdcf",
"value": 42
}{
"extras": {},
"label": "test2",
"port": "Cortex Example",
"startDatetime": "2019-06-06T15:57:41.529661+07:00",
"endDatetime": "2019-06-06T15:57:49.530743+07:00",
"type": "interval",
"uuid": "26fccfd8-e487-4623-910a-1ba8591fcdcf",
"value": 42
}{
"id": 1,
"jsonrpc": "2.0",
"method": "queryRecords",
"params": {
"cortexToken": "xxx",
"limit": 10,
"offset": 0,
"orderBy": [
{ "startDatetime": "DESC" }
],
"query": {
"applicationId": "com.emotiv.emotivpro",
"licenseId": "yyy"
},
"includeSyncStatusInfo": true
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"count": 1,
"limit": 10,
"offset": 0,
"records": [{
"applicationId": "com.emotiv.emotivpro",
"applicationVersion": "2.6.3",
"demographics": {
"uuid": "",
"validated": false
},
"description": "A simple experiment with a drone",
"endDatetime": "2021-01-06T16:32:50.572490+07:00",
"experimentId": 0,
"headbandPosition": null,
"licenseId": "yyy",
"licenseScope": ["pm", "eeg"],
"localOnly": false,
"ownerId": "ddeca960-9336-4a51-a2d2-9cb6e8fd5524",
"startDatetime": "2021-01-06T16:32:13.431865+07:00",
"subject": {
"subjectName": "Ben Kenobi"
},
"syncStatus": {
"status": "neverUploaded"
},
"tags": [],
"title": "Experiment 42",
"uuid": "1f2a8f85-7200-400a-a8f0-fd5c0b331852"
}]
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "queryRecords",
"params": {
"cortexToken": "xxx",
"includeMarkers": true,
"limit": 2,
"offset": 0,
"orderBy": [
{
"startDatetime": "DESC"
}
],
"query": {
"keyword": "Cortex Example"
}
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"count": 9,
"limit": 2,
"offset": 0,
"records": [
{
"applicationId": "com.xxx.cortex-examples",
"applicationVersion": "1.0",
"description": "",
"endDatetime": "2020-03-09T15:59:34.794356+07:00",
"experimentId": 0,
"headbandPosition": null,
"licenseId": "xxx",
"licenseScope": [
"pm",
"eeg"
],
"localOnly": false,
"markers": [
{
"endDatetime": "2020-03-09T15:59:09.680802+07:00",
"extras": {},
"label": "test1",
"port": "Cortex Example",
"startDatetime": "2020-03-09T15:59:09.680802+07:00",
"type": "instance",
"uuid": "ba8ed3a9-3e0b-4a17-9227-96ae05fa1767",
"value": 41
},
{
"endDatetime": "2020-03-09T15:59:25.873059+07:00",
"extras": {},
"label": "test2",
"port": "Cortex Example",
"startDatetime": "2020-03-09T15:59:16.867054+07:00",
"type": "interval",
"uuid": "2cfe93cc-f242-49d6-8165-7b13147e7c10",
"value": 42
}
],
"ownerId": "94f7c5ed-3d24-4c29-8243-96aa7db80d4a",
"startDatetime": "2020-03-09T15:59:04.344671+07:00",
"subject": {
"subjectName": "Bob"
},
"tags": [],
"title": "Cortex Examples C++",
"uuid": "b26f35c3-42ee-4612-a9b9-09af04c2ba37"
},
{
"applicationId": "com.xxx.cortex-examples",
"applicationVersion": "1.0",
"description": "",
"endDatetime": "2020-03-09T15:58:37.792248+07:00",
"experimentId": 0,
"headbandPosition": null,
"licenseId": "xxx",
"licenseScope": [
"pm",
"eeg"
],
"localOnly": false,
"markers": [
{
"endDatetime": "2020-03-09T15:58:12.875515+07:00",
"extras": {},
"label": "test1",
"port": "Cortex Example",
"startDatetime": "2020-03-09T15:58:12.875515+07:00",
"type": "instance",
"uuid": "e22d46a0-480a-452a-a65e-d6b4448e3f7b",
"value": 41
},
{
"endDatetime": "2020-03-09T15:58:28.872019+07:00",
"extras": {},
"label": "test2",
"port": "Cortex Example",
"startDatetime": "2020-03-09T15:58:20.873850+07:00",
"type": "interval",
"uuid": "c8fd9191-43da-4e28-970d-bf9f24404c8a",
"value": 42
}
],
"ownerId": "94f7c5ed-3d24-4c29-8243-96aa7db80d4a",
"startDatetime": "2020-03-09T15:58:08.036369+07:00",
"subject": {
"subjectName": "Marie"
},
"tags": [],
"title": "Cortex Examples C++",
"uuid": "33d2c56a-4cdf-4e2b-a5bb-db127f838248"
}
]
}
}{
"status": "notUpload"
}{
"status": "pending"
}{
"status": "uploading",
"percent": 30
}{
"applicationId": "com.jon.snow.winterfell-app",
"applicationVersion": "1.0",
"description": "",
"startDatetime": "2019-06-06T15:57:28.596410+07:00",
"endDatetime": "2019-06-06T15:57:58.472229+07:00",
"experimentId": 0,
"licenseId": "xxx",
"licenseScope": [
"pm",
"eeg"
],
"localOnly": false,
"markers": [
{
"endDatetime": "2019-06-06T15:57:33.523627+07:00",
"extras": {},
"label": "test1",
"port": "Cortex Example",
"startDatetime": "2019-06-06T15:57:33.523627+07:00",
"type": "instance",
"uuid": "3e8d3a26-f4bf-486c-8ece-6efb8b739a51",
"value": 41
},
{
"endDatetime": "2019-06-06T15:57:49.530743+07:00",
"extras": {},
"label": "test2",
"port": "Cortex Example",
"startDatetime": "2019-06-06T15:57:41.529661+07:00",
"type": "interval",
"uuid": "26fccfd8-e487-4623-910a-1ba8591fcdcf",
"value": 42
}
],
"ownerId": "76c3468a-d9c0-428d-81b4-bdac5d63860e",
"subject": {
"subjectName": "Hodor"
},
"tags": ["snow", "cold", "winter"],
"title": "Cortex Examples C++",
"uuid": "db01c15e-d916-4a7b-9f1d-16295fd1c643"
}{
"id": 1,
"jsonrpc": "2.0",
"method": "updateMarker",
"params": {
"cortexToken": "xxx",
"session": "4cbf7554-31bd-4659-ac58-400b823503f0",
"markerId": "26fccfd8-e487-4623-910a-1ba8591fcdcf",
"time": 1559811469531
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"marker": {
"endDatetime": "2019-06-06T15:57:49.530743+07:00",
"extras": {},
"label": "test2",
"port": "Cortex Example",
"startDatetime": "2019-06-06T15:57:41.529661+07:00",
"type": "interval",
"uuid": "26fccfd8-e487-4623-910a-1ba8591fcdcf",
"value": 42
},
"recordId": "db01c15e-d916-4a7b-9f1d-16295fd1c643",
"sessionId": "4cbf7554-31bd-4659-ac58-400b823503f0"
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "injectMarker",
"params": {
"cortexToken": "xxx",
"label": "test2",
"port": "Cortex Example",
"session": "4cbf7554-31bd-4659-ac58-400b823503f0",
"time": 1559811461532,
"value": 42
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"marker": {
"endDatetime": "2019-06-06T15:57:41.529661+07:00",
"extras": {},
"label": "test2",
"port": "Cortex Example",
"startDatetime": "2019-06-06T15:57:41.529661+07:00",
"type": "instance",
"uuid": "26fccfd8-e487-4623-910a-1ba8591fcdcf",
"value": 42
},
"recordId": "db01c15e-d916-4a7b-9f1d-16295fd1c643",
"sessionId": "4cbf7554-31bd-4659-ac58-400b823503f0"
}
}{
"id": 1,
"
{
"id": 1,
"
{
"id": 1,
"jsonrpc": "2.0",
"method": "createSubject",
"params": {
"cortexToken": "xxx",
"subjectName": "Bob Smith"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"attributes": [],
"city": "",
"countryCode": "",
"countryName": "",
"dateOfBirth": "",
"experimentsCount": 0,
"modifiedDatetime": "2019-07-01T11:41:25.270+07:00",
"sex": "U",
"state": "",
"subjectName": "Bob Smith"
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "createSubject",
"params": {
"cortexToken": "xxx",
"subjectName": "Alice Smith",
"city": "London",
"countryCode": "GB",
"dateOfBirth": "1980-12-25",
"sex": "F",
"attributes": [
{
"name": "Handedness",
"value": "Left"
},
{
"name": "Education",
"value": "Master's degree"
}
]
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"attributes": [
{
"name": "Handedness",
"value": "Left"
},
{
"name": "Education",
"value": "Master's degree"
}
],
"city": "London",
"countryCode": "GB",
"countryName": "",
"dateOfBirth": "1980-12-25",
"experimentsCount": 0,
"modifiedDatetime": "2019-07-01T11:23:11.644+07:00",
"sex": "F",
"state": "",
"subjectName": "Alice Smith"
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "deleteSubjects",
"params": {
"cortexToken": "xxx",
"subjects": ["Invalid Name", "Bob Smith"]
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"failure": [
{
"code": -32124,
"message": "The subject was not found.",
"subjectName": "Invalid Name"
}
],
"success": [
{
"subjectName": "Bob Smith"
}
]
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "requestToDownloadRecordData",
"params": {
"cortexToken": "xxx",
"recordIds": [
"33a9aa44-5a90-4881-8613-78493752b86d",
"3a4b7eb0-3b6c-4e16-a480-cbda8181f092"
]
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"failure": [{
"code": -32186,
"message": "The record already exists.",
"recordId": "33a9aa44-5a90-4881-8613-78493752b86d"
}],
"success": [{
"recordId": "3a4b7eb0-3b6c-4e16-a480-cbda8181f092"
}]
}
}{
"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": "querySubjects",
"params": {
"cortexToken": "xxx",
"query": {
"dateOfBirth": {
"from": "1979-01-01",
"to": "1980-12-31"
},
"sex": "F",
"keyword": {
"yyy":["subjectName", "email"]
}
},
"orderBy": [
{"subjectName": "ASC"}
],
"offset": 0,
"limit": 10
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"count": 1,
"limit": 10,
"offset": 0,
"subjects": [
{
"attributes": [
{
"name": "Handedness",
"value": "Left"
},
{
"name": "Education",
"value": "Master's degree"
}
],
"city": "London",
"countryCode": "GB",
"countryName": "",
"dateOfBirth": "1980-12-25",
"experimentsCount": 0,
"modifiedDatetime": "2019-07-01T11:23:11.644+07:00",
"sex": "F",
"state": "",
"subjectName": "Alice Smith"
}
]
}
}{
"attributes": [
{
"name": "Handedness",
"value": "Left"
},
{
"name": "Education",
"value": "Master's degree"
}
],
"city": "London",
"countryCode": "GB",
"countryName": "",
"dateOfBirth": "1980-12-25",
"experimentsCount": 3,
"modifiedDatetime": "2019-07-01T11:23:11.644+07:00",
"sex": "F",
"state": "",
"subjectName": "Alice Smith"
}{
"id": 1,
"jsonrpc": "2.0",
"method": "updateSubject",
"params": {
"cortexToken": "xxx",
"subjectName": "Bob Smith",
"dateOfBirth": "1978-11-21"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"attributes": [],
"city": "",
"countryCode": "",
"countryName": "",
"dateOfBirth": "1978-11-21",
"experimentsCount": 0,
"modifiedDatetime": "2019-07-01T11:49:50.332+07:00",
"sex": "U",
"state": "",
"subjectName": "Bob Smith"
}
}{
"id": 1,
"
{
"id": 1,
"
{
"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": "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": "getTrainedSignatureActions",
"params": {
"cortexToken": "xxx",
"detection": "mentalCommand",
"profile": "cortex-v2-example"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"totalTimesTraining": 12,
"trainedActions": [
{
"action": "neutral",
"times": 1
},
{
"action": "push",
"times": 1
},
{
"action": "pull",
"times": 1
}
]
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "facialExpressionThreshold",
"params": {
"action": "blink",
"cortexToken": "xxx",
"session": "1d5d3655-d570-4731-9faf-967bc5440dc5",
"status": "get"
}
}{
"id":1,
"jsonrpc":"2.0",
"result":500
}{
"id": 2323514,
"jsonrpc": "2.0",
"method": "facialExpressionThreshold",
"params": {
"action": "surprise",
"cortexToken": "xxx",
"session": "1d5d3655-d570-4731-9faf-967bc5440dc5",
"status": "set",
"value": 703
}
}{
"id": 2323514,
"jsonrpc": "2.0",
"result": "success"
}{
"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": "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": 5891714,
"
{
"id": 5891714,
"
{
"id": 1,
"
{
"id": 1,
"
{
"id": 544314,
"jsonrpc": "2.0",
"method": "mentalCommandActiveAction",
"params": {
"cortexToken": "xxx",
"profile": "cortex-v2-example",
"status": "get"
}
}{
"id": 544314,
"jsonrpc": "2.0",
"result": [
"neutral",
"push",
"pull"
]
}{
"id": 411114,
"jsonrpc": "2.0",
"method": "mentalCommandActiveAction",
"params": {
"actions": [
"push"
],
"cortexToken": "xxx",
"session": "1d5d3655-d570-4731-9faf-967bc5440dc5",
"status": "set"
}
}{
"id": 411114,
"jsonrpc": "2.0",
"result": {
"actions": [
"push"
],
"message": "Set MentalCommand active actions successfully"
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "mentalCommandTrainingThreshold",
"params": {
"cortexToken": "xxx",
"session": "xxx"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"currentThreshold": 0.83,
"lastTrainingScore": 0.40
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "facialExpressionSignatureType",
"params": {
"cortexToken": "xxx",
"status": "get",
"session": "xxx"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"currentSig": "universal",
"availableSig": ["universal","trained"]
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "facialExpressionSignatureType",
"params": {
"cortexToken": "xxx",
"status": "set",
"session": "xxx",
"signature": "trained"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"currentSig": "trained",
"availableSig": ["universal","trained"]
}
}{
"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"
}
}{
"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"
]
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 0,
"message": {
"behavior": "Cortex has stopped all the subscriptions of session 866b8437-2380-4392-9a35-3d5957eaf95d.",
"sessionId": "866b8437-2380-4392-9a35-3d5957eaf95d"
}
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 1,
"message": {
"behavior": "Cortex has closed the session 866b8437-2380-4392-9a35-3d5957eaf95d.",
"sessionId": "866b8437-2380-4392-9a35-3d5957eaf95d"
}
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 2,
"message": "User jon.snow has already logged in to Cortex."
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 3,
"message": "User jon.snow has already logged out from Cortex."
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 9,
"message": "The access right to the cortex-examples has been granted"
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 10,
"message": "The access right to the cortex-examples has been rejected"
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 13,
"message": {
"behavior": "Profile is loaded",
"headset": "INSIGHT-12341234",
"profile": "foo"
}
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 14,
"message": {
"behavior": "Profile is unloaded",
"headset": "INSIGHT-12341234",
"profile": "foo"
}
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 15,
"message": {
"behavior": "Cortex has unloaded the profile",
"headset": "INSIGHT-12341234",
"profile": "foo"
}
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 17,
"message": "User jon.snow has accepted the EULA via EMOTIV App"
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 18,
"message": {
"behavior":"The session data has been successfully saved.",
"deviceSessionId":"222eb845-bc44-4a01-bf28-07445a7c7e8a",
"recordId":"76c3468a-d9c0-428d-81b4-bdac5d63860e"
}
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 19,
"message": {
"behavior": "The available disk space is low.",
"rootPath": "/",
"volumeName": "MAC"
}
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 20,
"message": {
"behavior": "The available disk space is critically low. Cortex will disconnect all the headsets.",
"rootPath": "C",
"volumeName": "Windows"
}
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 21,
"message": {
"currOptOut": true,
"forceOptOut": false,
"message": "User has changed the Opt-out configuration.",
"optOutAvail": true
}
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 22,
"message": {
"currOptOut": true,
"forceOptOut": false,
"message": "The Opt-out configuration has been automatically changed due to change in license.",
"optOutAvail": true
}
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 23,
"message": {
"success": true,
"behavior": "Cortex service is ready."
}
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 23,
"message": {
"success": false,
"behavior": "Failed to setup Cortex service."
}
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 30,
"message": {
"behavior":"Data post-processing finished",
"deviceSessionId":"222eb845-bc44-4a01-bf28-07445a7c7e8a",
"recordId":"76c3468a-d9c0-428d-81b4-bdac5d63860e",
"timestampCorrectionProcessingStatus":"succeed"
}
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 32,
"message": {
"status":"synced"
}
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 100,
"message": {
"headsetId": "EPOCPLUS-3B9AXXXX",
"behavior": "Headset cannot be connected. Please try again."
}
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 101,
"message": {
"headsetId": "EPOCPLUS-3B9AXXXX",
"behavior": "Headset cannot be connected. Please try again."
}
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 102,
"message": {
"headsetId": "EPOCPLUS-3B9AXXXX",
"behavior": "Headset cannot be connected due to connection timeout."
}
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 113,
"message": {
"headsetId": "EPOCPLUS-3B9AXXXX",
"behavior": "Please disable motion data and set EEG rate to 128Hz in headset configuration when using Bluetooth connection, or use USB dongle."
}
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 103,
"message": {
"headsetId": "EPOCPLUS-3B9AXXXX",
"behavior": "Headset has been disconnected due to connection timeout."
}
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 104,
"message": {
"headsetId": "EPOCPLUS-3B9AXXXX",
"behavior": "The headset is connected"
}
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 110,
"message": {
"headsetId": "EPOCPLUS-3B9AXXXX",
"behavior": "Headset configuration is updated."
}
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 111,
"message": {
"headsetId": "EPOCPLUS-3B9AXXXX",
"behavior": "Headset configuration update failed."
}
}
}{
"jsonrpc": "2.0",
"warning": {
"code": 112,
"message": {
"headsetId": "EPOCPLUS-3B9AXXXX",
"behavior": "This headset configuration cannot work with BTLE on this platform."
}
}
}{
"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]
}{
"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"
}