Overview of API flow
There are a few steps to prepare before you can get the data streaming out from Cortex:
First you have to login to the EMOTIV Launcher with your EmotivID.
Make sure that you are using the correct application ID, client ID and client secret that you generated from the Account dashboard on Emotiv website in your application (see here).
Call the requestAccess API from your app to Cortex, and accept via the EMOTIV Launcher.
After access is granted, connect your EMOTIV brainwear headset via the USB dongle or Bluetooth.
Call the controlDevice API with "refresh" command to start the headset scanning.
Call the queryHeadsets API to list the available headsets.
Call the controlDevice API with "connect" command to connect to the desire headset.
Call the authorize API to get a Cortex token for subsequence requests.
Call the createSession API to open up a new session and be ready for BCI data streaming.
Last updated