Iedk.h
Go to the documentation of this file.
EDK_API int IEE_MotionDataGet(DataHandle hData, IEE_MotionDataChannel_t channel, double buffer[], unsigned int bufferSizeInSample)
Extract data of a particular channel from the data handle.
int fExists
Non-zero if this sensor exists on this headset model.
Definition: Iedk.h:127
EDK_API int IEE_EngineConnect(const char *strDevID="Emotiv Systems-5")
Initialize EmoEngine instance which reads data from the headset.
EDK_API int IEE_FFTSetWindowingType(unsigned int userId, IEE_WindowingTypes type)
Set the current windowing type for band power calculation.
IEE_MotionDataChannel_enum
Motion data channel description.
Definition: Iedk.h:156
EDK_API int IEE_GetHeadsetSettings(unsigned int userId, unsigned int *EPOCmode, unsigned int *eegRate, unsigned int *eegRes, unsigned int *memsRate, unsigned int *memsRes)
Get headset settings from EPOC+ headset.
EDK_API int IEE_MotionDataUpdateHandle(unsigned int userId, DataHandle hData)
Update the content of the data handle to point to new data since the last call.
enum IEE_DataChannels_enum IEE_DataChannel_t
EEG and system data channel description.
void * EmoEngineEventHandle
Handle to EmoEngine event structure allocated by IEE_EmoEngineEventCreate.
Definition: Iedk.h:64
EDK_API int IEE_MotionDataGetSamplingRate(unsigned int userId, unsigned int *samplingRateOut)
Get sampling rate of the motion data stream.
void * DataHandle
Handle to data placeholder allocated by IEE_MotionDataCreate.
Definition: Iedk.h:102
EDK_API int IEE_EngineRemoteConnect(const char *szHost, unsigned short port)
Initialize the connection to a remote instance of EmoEngine.
const char * pszLabel
Text label identifying this sensor.
Definition: Iedk.h:128
enum IEE_MotionDataChannel_enum IEE_MotionDataChannel_t
Motion data channel description.
EDK_API int IEE_SetHeadsetSettings(unsigned int userId, unsigned int EPOCmode, unsigned int eegRate, unsigned int eegRes, unsigned int memsRate, unsigned int memsRes)
Set headset setting for EPOC+ headset.
EDK_API int IEE_SetHardwarePlayerDisplay(unsigned int userId, unsigned int playerNum)
Set the player number display.
EDK_API int IEE_EmoEngineEventGetEmoState(EmoEngineEventHandle hEvent, EmoStateHandle hEmoState)
Copy an EmoState returned with a IEE_EmoStateUpdate event to memory referenced by an EmoStateHandle...
struct IInputSensorDescriptor_struct IInputSensorDescriptor_t
Input sensor description.
enum IEE_WindowingTypes_enum IEE_WindowingTypes
Windowing types enum for Fast Fourier Transform.
EDK_API EmoStateHandle IEE_EmoStateCreate()
Return a handle to memory that can store an EmoState.
IEE_InputChannels_t channelId
Logical channel id.
Definition: Iedk.h:126
EDK_API int IEE_HeadsetGyroRezero(unsigned int userId)
Re-zero the gyro for a particular user.
EDK_API int IEE_FFTGetWindowingType(unsigned int userId, IEE_WindowingTypes *type)
Get the current windowing type for band power calculation.
EDK_API int IEE_MotionDataGetBufferSizeInSec(float *pBufferSizeInSecOut)
Return the size of the motion data buffer.
EDK_API int IEE_MotionDataGetNumberOfSample(DataHandle hData, unsigned int *nSampleOut)
Return number of sample of motion data stored in the data handle.
IEE_WindowingTypes_enum
Windowing types enum for Fast Fourier Transform.
Definition: Iedk.h:172
EDK_API void IEE_EmoStateFree(EmoStateHandle hState)
Free memory referenced by an EmoState handle.
EDK_API int IEE_GetAverageBandPowers(unsigned int userId, IEE_DataChannel_t channel, double *theta, double *alpha, double *low_beta, double *high_beta, double *gamma)
Get averge band power values for a channel.
EDK_API int IEE_EmoEngineEventGetUserId(EmoEngineEventHandle hEvent, unsigned int *pUserIdOut)
Retrieve the user ID for IEE_UserAdded and IEE_UserRemoved events.
A IEE_FacialExpressionEvent_t has been returned from EmoEngine.
Definition: Iedk.h:115
enum IEE_InputChannels_enum IEE_InputChannels_t
Logical input channel identifiers.
double xLoc
X coordinate from center of head towards nose.
Definition: Iedk.h:129
EDK_API int IEE_MotionDataSetBufferSizeInSec(float bufferSizeInSec)
Set the size of the motion data buffer.
EDK_API EmoEngineEventHandle IEE_EmoEngineEventCreate()
Return a handle to memory that can hold an EmoEngine event.
void * EmoStateHandle
Handle to EmoState structure allocated by IEE_EmoStateCreate.
Definition: Iedk.h:57
EDK_API DataHandle IEE_MotionDataCreate()
Return a handle to memory that can hold motion data.
EDK_API int IEE_EngineGetNumUser(unsigned int *pNumUserOut)
Retrieve number of active users (headset) connected to the EmoEngine.
EDK_API void IEE_CheckDetectionsEnabled(unsigned long *result)
Check if particular detections are enabled.
EDK_API int IEE_EngineGetNextEvent(EmoEngineEventHandle hEvent)
Retrieve the next EmoEngine event.
EDK_API int IEE_HardwareGetVersion(unsigned int userId, unsigned long *pHwVersionOut)
Return the current hardware version of the headset and dongle (if available).
EDK_API int IEE_EnableDiagnostics(const char *szFilename, int fEnable, int nReserved)
Enable diagnostics mode.
EDK_API int IEE_HeadsetGetGyroDelta(unsigned int userId, int *pXOut, int *pYOut)
Return the delta of the movement of the gyro since the previous call for a particular user...
EDK_API int IEE_SoftwareGetVersion(char *pszVersionOut, unsigned int nVersionChars, unsigned long *pBuildNumOut)
Return the current version of the Emotiv SDK.
double yLoc
Y coordinate from center of head towards ears.
Definition: Iedk.h:130
A IEE_MentalCommandEvent_t has been returned from EmoEngine.
Definition: Iedk.h:114
EDK_API IEE_Event_t IEE_EmoEngineEventGetType(EmoEngineEventHandle hEvent)
Return the event type for an event already retrieved using IEE_EngineGetNextEvent().
Definition: Iedk.h:147
Error event from emulator. Connection to EmoComposer could be lost.
Definition: Iedk.h:108
EDK_API int IEE_EngineClearEventQueue(int eventTypes)
Clear a specific EmoEngine event type or all events currently inside the event queue.
EDK_API void IEE_EmoEngineEventFree(EmoEngineEventHandle hEvent)
Free memory referenced by an event handle.
double zLoc
Z coordinate from center of head toward top of skull.
Definition: Iedk.h:131
EDK_API int IEE_MotionDataGetMultiChannels(DataHandle hData, IEE_MotionDataChannel_t channels[], unsigned int nChannels, double *buffer[], unsigned int bufferSizeInSample)
Extract data of a list of channels from the data handle.
EDK_API int IEE_HeadsetGetSensorDetails(IEE_InputChannels_t channelId, IInputSensorDescriptor_t *pDescriptorOut)
Return a struct containing details about a specific channel.
EDK_API void IEE_MotionDataFree(DataHandle hData)
Free memory referenced by a data handle.
EDK_API void IEE_EnableDetections(unsigned long value)
Enable/disable particular detections.
EDK_API int IEE_HeadsetGetSerialNumber(unsigned int userId, char **pHwSerialOut)
Return the current serial number of the headset (if available).
IEE_DataChannels_enum
EEG and system data channel description.
Definition: Iedk.h:68
1.8.11