Cortex API
  • Getting Started
  • Connecting to the Cortex API
  • Overview of API flow
  • Authentication
    • getCortexInfo
    • getUserLogin
    • requestAccess
    • hasAccessRight
    • authorize
    • generateNewToken
    • getUserInformation
    • getLicenseInfo
  • Headsets
    • controlDevice
    • queryHeadsets
    • updateHeadset
    • updateHeadsetCustomInfo
    • syncWithHeadsetClock
    • Headset object
  • Sessions
    • createSession
    • updateSession
    • querySessions
    • Session object
  • Data Subscription
    • subscribe
    • unsubscribe
    • Data sample object
  • Records
    • createRecord
    • stopRecord
    • updateRecord
    • deleteRecord
    • exportRecord
    • queryRecords
    • getRecordInfos
    • configOptOut
    • requestToDownloadRecordData
    • Record object
  • Markers
    • injectMarker
    • updateMarker
    • Marker object
  • Subjects
    • createSubject
    • updateSubject
    • deleteSubjects
    • querySubjects
    • getDemographicAttributes
    • Subject object
  • BCI
    • queryProfile
    • getCurrentProfile
    • setupProfile
    • loadGuestProfile
    • getDetectionInfo
    • training
    • Readonly profile
  • Advanced BCI
    • getTrainedSignatureActions
    • getTrainingTime
    • facialExpressionSignatureType
    • facialExpressionThreshold
    • mentalCommandActiveAction
    • mentalCommandBrainMap
    • mentalCommandGetSkillRating
    • mentalCommandTrainingThreshold
    • mentalCommandActionSensitivity
  • Warning Objects
  • Error Codes
  • Troubleshooting Guide
  • Release Notes
  • cortexaccess tool
Powered by GitBook
On this page
  • List all granted IP addresses
  • Add an IP address
  • Remove an IP address
  • Clear all IP addresses

cortexaccess tool

This command line tool is available only for Raspberry Pi to manage permissions for remote connections via IP addresses of remote desktop machines.

This tool is installed on Raspberry Pi device along with Cortex installation. It is located at /usr/local/emotivapps/bin/cortexaccess.

List all granted IP addresses

List all IP addresses of remote desktop machines from which applications are allowed to create web socket connections to Cortex on Raspberry Pi device.

Command: cortexaccess ip list

If the IP address of your remote desktop isn't in the list, you should add it using accept command.

Add an IP address

Grant permissions a remote desktop machine (via its IP address) from which applications can create web socket connections to Cortex on Raspberry Pi device.

Command: cortexaccess ip accept <an-ip-address>

Remove an IP address

Remove permissions of remote desktop machines (via its IP address) so that applications on that machine cannot create web socket connections to Cortex on Raspberry Pi device anymore.

Command: cortexaccess ip deny <an-ip-address>

Clear all IP addresses

Remove permissions of current granted remote desktop machines so that applications on these machines cannot create web socket connections to Cortex on Raspberry Pi device anymore.

Command: cortexaccess ip clear

PreviousRelease Notes

Last updated 4 years ago