Follow

Appendix 2: Emotiv EmoEngine Error Codes

Every time you use a function provided by the API, the value returned indicates the EmoEngine™ status.  The Table below shows possible EmoEngine error codes and their meanings.  Unless the returned code is EDK OK, there is an error.  Explanations of these messages are in the table below.

EmoEngine Error Code

Hex Value

Description

EDK_OK

0x0000

Operation has been carried out successfully.

EDK_UNKNOWN_ERROR

0x0001

An internal fatal error occurred.

EDK_INVALID_PROFILE_ARCHIVE

0x0101

Most likely returned by EE_SetUserProfile() when the content of the supplied buffer is not a valid serialized EmoEngine profile.

EDK_NO_USER_FOR_BASE_PROFILE

0x0102

Returns when trying to query the user ID of a base profile.

EDK_CANNOT_ACQUIRE_DATA

0x0200

Returns when EmoEngine is unable to acquire any signal from Emotiv EPOC™ for processing

EDK_BUFFER_TOO_SMALL

0x0300

Most likely returned by EE_GetUserProfile() when the size of the supplied buffer is not large enough to hold the profile.

EDK_OUT_OF_RANGE

0x0301

One of the parameters supplied to the function is out of range.

EDK_INVALID_PARAMETER

0x0302

One of the parameters supplied to the function is invalid (e.g. null pointers, zero size buffer)

EDK_PARAMETER_LOCKED

0x0303

The parameter value is currently locked by a running detection and cannot be modified at this time.

EDK_COG_INVALID_TRAINING_ACTION

0x0304

The specified action is not an allowed training action at this time.

EDK_COG_INVALID_TRAINING_CONTROL

0x0305

The specified control flag is not an allowed training control at this time.

EDK_COG_INVALID_ACTIVE_ACTION

0x0306

An undefined action bit has been set in the actions bit vector.

EDK_COG_EXCESS_MAX_ACTIONS

0x0307

The current action bit vector contains more than maximum number of concurrent actions.

EDK_EXP_NO_SIG_AVAILABLE

0x0308

A trained signature is not currently available for use – some actions may still require training data.

EDK_INVALID_USER_ID

0x0400

The user ID supplied to the function is invalid.

EDK_EMOENGINE_UNINITIALIZED

0x0500

EmoEngine™ needs to be initialized via calling EE_EngineConnect() or EE_EngineRemoteConnect() before calling any other APIs.

EDK_EMOENGINE_DISCONNECTED

0x0501

The connection with EmoEngine™ via EE_EngineRemoteConnect() has been lost.

EDK_EMOENGINE_PROXY_ERROR

0x0502

Returned by EE_EngineRemoteConnect() when the connection to the EmoEngine™ cannot be established.

EDK_NO_EVENT

0x0600

Returned by EE_EngineGetNextEvent() when there is no pending event.

EDK_GYRO_NOT_CALIBRATED

0x0700

The gyroscope is not calibrated.  Please ask the user to remain still for .5 seconds.

EDK_OPTIMIZATION_IS_ON

0x0800

Operation failed due to algorithm optimization settings.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk