Cortex API
Search…
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

Last modified 1yr ago
Copy link
On this page
List all granted IP addresses
Add an IP address
Remove an IP address
Clear all IP addresses