Developer World
Spresense SDK Library v3.2.0-ebc0364
Sensor Manager error code

Macros

#define SS_ECODE_OK   0
 Response OK.
 
#define SS_ECODE_DSP_LOAD_ERROR   1
 DSP Load Error. More...
 
#define SS_ECODE_DSP_BOOT_ERROR   2
 DSP Boot Error. More...
 
#define SS_ECODE_DSP_VERSION_ERROR   3
 DSP Version Error. More...
 
#define SS_ECODE_DSP_INIT_ERROR   4
 DSP initialization error. More...
 
#define SS_ECODE_DSP_EXEC_ERROR   5
 DSP Exec Error. More...
 
#define SS_ECODE_DSP_UNLOAD_ERROR   5
 DSP Unload Error. More...
 
#define SS_ECODE_MEMHANDLE_ALLOC_ERROR   6
 Memory Handle Alloc Error. More...
 
#define SS_ECODE_MEMHANDLE_FREE_ERROR   7
 Memory Handle Free Error. More...
 
#define SS_ECODE_QUEUE_PUSH_ERROR   8
 Internal Queue Push Error. More...
 
#define SS_ECODE_QUEUE_POP_ERROR   9
 Internal Queue Pop Error. More...
 
#define SS_ECODE_QUEUE_MISSING_ERROR   10
 Internal Queue Missing Error. More...
 
#define SS_ECODE_REQUIRED_SENSOR_NOT_ACTIVE   11
 Request is invalid. More...
 
#define SS_ECODE_REQUIRED_SENSOR_STILL_ACTIVE   12
 Release error. More...
 
#define SS_ECODE_NOTIFICATION_DST_UNDEFINED   13
 No destination. More...
 
#define SS_ECODE_TASK_CREATE_ERROR   14
 Task Create Error. More...
 
#define SS_ECODE_PARAM_ERROR   15
 Unexpected Parameter. More...
 
#define SS_ECODE_STATE_ERROR   16
 Internal State Error. More...
 

Detailed Description

Macro Definition Documentation

◆ SS_ECODE_DSP_LOAD_ERROR

#define SS_ECODE_DSP_LOAD_ERROR   1

DSP Load Error.

Tried to load DSP binary to sub core but it was failed.
DSP binary may not be stored on dsp load path.

◆ SS_ECODE_DSP_BOOT_ERROR

#define SS_ECODE_DSP_BOOT_ERROR   2

DSP Boot Error.

Tried to boot DSP but it was failed.

◆ SS_ECODE_DSP_VERSION_ERROR

#define SS_ECODE_DSP_VERSION_ERROR   3

DSP Version Error.

Loaded DSP binary version is differ from expected.

◆ SS_ECODE_DSP_INIT_ERROR

#define SS_ECODE_DSP_INIT_ERROR   4

DSP initialization error.

DSP initialization failed.

◆ SS_ECODE_DSP_EXEC_ERROR

#define SS_ECODE_DSP_EXEC_ERROR   5

DSP Exec Error.

The data or command which sent to DSP may not be correct format.

◆ SS_ECODE_DSP_UNLOAD_ERROR

#define SS_ECODE_DSP_UNLOAD_ERROR   5

DSP Unload Error.

Tried to unload DSP binary from sub core but it was failed.
DSP binary may not loaded.

◆ SS_ECODE_MEMHANDLE_ALLOC_ERROR

#define SS_ECODE_MEMHANDLE_ALLOC_ERROR   6

Memory Handle Alloc Error.

All Memory handles may be used.
Response from DSP may be delayed or get stacked up.

◆ SS_ECODE_MEMHANDLE_FREE_ERROR

#define SS_ECODE_MEMHANDLE_FREE_ERROR   7

Memory Handle Free Error.

Specified handle is already freed.

◆ SS_ECODE_QUEUE_PUSH_ERROR

#define SS_ECODE_QUEUE_PUSH_ERROR   8

Internal Queue Push Error.

The internal process queue is already full but tried to insertion.

◆ SS_ECODE_QUEUE_POP_ERROR

#define SS_ECODE_QUEUE_POP_ERROR   9

Internal Queue Pop Error.

The internal process queue is already empty but tried to extraction.

◆ SS_ECODE_QUEUE_MISSING_ERROR

#define SS_ECODE_QUEUE_MISSING_ERROR   10

Internal Queue Missing Error.

The queue became empty unexpectedly.

◆ SS_ECODE_REQUIRED_SENSOR_NOT_ACTIVE

#define SS_ECODE_REQUIRED_SENSOR_NOT_ACTIVE   11

Request is invalid.

The request is invalid because the sensor is not registered.

◆ SS_ECODE_REQUIRED_SENSOR_STILL_ACTIVE

#define SS_ECODE_REQUIRED_SENSOR_STILL_ACTIVE   12

Release error.

Unable to release because the sensor to subscribe is active.

◆ SS_ECODE_NOTIFICATION_DST_UNDEFINED

#define SS_ECODE_NOTIFICATION_DST_UNDEFINED   13

No destination.

There is no publish destination.

◆ SS_ECODE_TASK_CREATE_ERROR

#define SS_ECODE_TASK_CREATE_ERROR   14

Task Create Error.

Task context couldn't be created.
Revise max task creation number on menu config.

◆ SS_ECODE_PARAM_ERROR

#define SS_ECODE_PARAM_ERROR   15

Unexpected Parameter.

The command parameter is wrong. Please confirm the command parameters.

◆ SS_ECODE_STATE_ERROR

#define SS_ECODE_STATE_ERROR   16

Internal State Error.

Internal State Error.