Tilt Five NDK  1.4.1
Tilt Five™ Error Codes (C)

Many exported functions return a T5_Result, with a value as defined in this list. More...

Macros

#define T5_SUCCESS   (0x0000)
 Success. More...
 
#define T5_TIMEOUT   (0x0001)
 Timeout. More...
 
#define T5_ERROR_NO_CONTEXT   (0x1000)
 No context. More...
 
#define T5_ERROR_NO_LIBRARY   (0x1001)
 No library loaded. More...
 
#define T5_ERROR_INTERNAL   (0x1002)
 An internal error occurred. More...
 
#define T5_ERROR_NO_SERVICE   (0x1003)
 Service isn't connected. More...
 
#define T5_ERROR_IO_FAILURE   (0x1004)
 Misc IO failure. More...
 
#define T5_ERROR_REQUEST_ID_UNKNOWN   (0x1005)
 Service doesn't understand the request. More...
 
#define T5_ERROR_INVALID_ARGS   (0x1006)
 Argument(s) are invalid. More...
 
#define T5_ERROR_DEVICE_LOST   (0x1007)
 Device lost. More...
 
#define T5_ERROR_TARGET_NOT_FOUND   (0x1008)
 Target (wand) not found. More...
 
#define T5_ERROR_INVALID_STATE   (0x1009)
 Incorrect state for the request. More...
 
#define T5_ERROR_SETTING_UNKNOWN   (0x100A)
 The requested param is unknown. More...
 
#define T5_ERROR_SETTING_WRONG_TYPE   (0x100B)
 The requested param has a different type to the requested type. More...
 
#define T5_ERROR_MISC_REMOTE   (0x100C)
 Miscellaneous remote error. More...
 
#define T5_ERROR_OVERFLOW   (0x100D)
 Buffer overflow. More...
 
#define T5_ERROR_GRAPHICS_API_UNAVAILABLE   (0x100E)
 Specified graphics API is unavailable. More...
 
#define T5_ERROR_UNSUPPORTED   (0x100F)
 Action is unsupported. More...
 
#define T5_ERROR_DECODE_ERROR   (0x1010)
 Failed to decode. More...
 
#define T5_ERROR_INVALID_GFX_CONTEXT   (0x1011)
 Graphics context is invalid. More...
 
#define T5_ERROR_GFX_CONTEXT_INIT_FAIL   (0x1012)
 Failed to initialize graphics context. More...
 
#define T5_ERROR_TRY_AGAIN   (0x1015)
 Target is not currently available. More...
 
#define T5_ERROR_UNAVAILABLE   (0x1016)
 Target is unavailable. More...
 
#define T5_ERROR_ALREADY_CONNECTED   (0x1017)
 The target is already connected. More...
 
#define T5_ERROR_NOT_CONNECTED   (0x1018)
 The target is not connected. More...
 
#define T5_ERROR_STRING_OVERFLOW   (0x1019)
 Overflow during string conversion operation. More...
 
#define T5_ERROR_SERVICE_INCOMPATIBLE   (0x101A)
 Service incompatible. More...
 
#define T5_PERMISSION_DENIED   (0x101B)
 Permission denied. More...
 
#define T5_ERROR_INVALID_BUFFER_SIZE   (0x101C)
 Invalid Buffer Size. More...
 
#define T5_ERROR_INVALID_GEOMETRY   (0x101D)
 Invalid Geometry. More...
 
#define T5_MAX_ERROR   (0x8000)
 Maximum C error code. More...
 

Functions

T5_EXPORT const char * t5GetResultMessage (T5_Result result)
 

Detailed Description

Many exported functions return a T5_Result, with a value as defined in this list.

Macro Definition Documentation

◆ T5_ERROR_ALREADY_CONNECTED

#define T5_ERROR_ALREADY_CONNECTED   (0x1017)

The target is already connected.

Definition at line 126 of file errors.h.

◆ T5_ERROR_DECODE_ERROR

#define T5_ERROR_DECODE_ERROR   (0x1010)

Failed to decode.

Definition at line 111 of file errors.h.

◆ T5_ERROR_DEVICE_LOST

#define T5_ERROR_DEVICE_LOST   (0x1007)

Device lost.

Definition at line 84 of file errors.h.

◆ T5_ERROR_GFX_CONTEXT_INIT_FAIL

#define T5_ERROR_GFX_CONTEXT_INIT_FAIL   (0x1012)

Failed to initialize graphics context.

Definition at line 117 of file errors.h.

◆ T5_ERROR_GRAPHICS_API_UNAVAILABLE

#define T5_ERROR_GRAPHICS_API_UNAVAILABLE   (0x100E)

Specified graphics API is unavailable.

Definition at line 105 of file errors.h.

◆ T5_ERROR_INTERNAL

#define T5_ERROR_INTERNAL   (0x1002)

An internal error occurred.

Definition at line 69 of file errors.h.

◆ T5_ERROR_INVALID_ARGS

#define T5_ERROR_INVALID_ARGS   (0x1006)

Argument(s) are invalid.

Definition at line 81 of file errors.h.

◆ T5_ERROR_INVALID_BUFFER_SIZE

#define T5_ERROR_INVALID_BUFFER_SIZE   (0x101C)

Invalid Buffer Size.

Definition at line 141 of file errors.h.

◆ T5_ERROR_INVALID_GEOMETRY

#define T5_ERROR_INVALID_GEOMETRY   (0x101D)

Invalid Geometry.

Definition at line 144 of file errors.h.

◆ T5_ERROR_INVALID_GFX_CONTEXT

#define T5_ERROR_INVALID_GFX_CONTEXT   (0x1011)

Graphics context is invalid.

Definition at line 114 of file errors.h.

◆ T5_ERROR_INVALID_STATE

#define T5_ERROR_INVALID_STATE   (0x1009)

Incorrect state for the request.

Definition at line 90 of file errors.h.

◆ T5_ERROR_IO_FAILURE

#define T5_ERROR_IO_FAILURE   (0x1004)

Misc IO failure.

Definition at line 75 of file errors.h.

◆ T5_ERROR_MISC_REMOTE

#define T5_ERROR_MISC_REMOTE   (0x100C)

Miscellaneous remote error.

Definition at line 99 of file errors.h.

◆ T5_ERROR_NO_CONTEXT

#define T5_ERROR_NO_CONTEXT   (0x1000)

No context.

Some functions require either a T5_Context or a T5_Glasses. This error is returned if an invalid object is passed.

Definition at line 63 of file errors.h.

◆ T5_ERROR_NO_LIBRARY

#define T5_ERROR_NO_LIBRARY   (0x1001)

No library loaded.

Definition at line 66 of file errors.h.

◆ T5_ERROR_NO_SERVICE

#define T5_ERROR_NO_SERVICE   (0x1003)

Service isn't connected.

Definition at line 72 of file errors.h.

◆ T5_ERROR_NOT_CONNECTED

#define T5_ERROR_NOT_CONNECTED   (0x1018)

The target is not connected.

Definition at line 129 of file errors.h.

◆ T5_ERROR_OVERFLOW

#define T5_ERROR_OVERFLOW   (0x100D)

Buffer overflow.

Definition at line 102 of file errors.h.

◆ T5_ERROR_REQUEST_ID_UNKNOWN

#define T5_ERROR_REQUEST_ID_UNKNOWN   (0x1005)

Service doesn't understand the request.

Definition at line 78 of file errors.h.

◆ T5_ERROR_SERVICE_INCOMPATIBLE

#define T5_ERROR_SERVICE_INCOMPATIBLE   (0x101A)

Service incompatible.

Definition at line 135 of file errors.h.

◆ T5_ERROR_SETTING_UNKNOWN

#define T5_ERROR_SETTING_UNKNOWN   (0x100A)

The requested param is unknown.

Definition at line 93 of file errors.h.

◆ T5_ERROR_SETTING_WRONG_TYPE

#define T5_ERROR_SETTING_WRONG_TYPE   (0x100B)

The requested param has a different type to the requested type.

Definition at line 96 of file errors.h.

◆ T5_ERROR_STRING_OVERFLOW

#define T5_ERROR_STRING_OVERFLOW   (0x1019)

Overflow during string conversion operation.

Definition at line 132 of file errors.h.

◆ T5_ERROR_TARGET_NOT_FOUND

#define T5_ERROR_TARGET_NOT_FOUND   (0x1008)

Target (wand) not found.

Definition at line 87 of file errors.h.

◆ T5_ERROR_TRY_AGAIN

#define T5_ERROR_TRY_AGAIN   (0x1015)

Target is not currently available.

Definition at line 120 of file errors.h.

◆ T5_ERROR_UNAVAILABLE

#define T5_ERROR_UNAVAILABLE   (0x1016)

Target is unavailable.

Definition at line 123 of file errors.h.

◆ T5_ERROR_UNSUPPORTED

#define T5_ERROR_UNSUPPORTED   (0x100F)

Action is unsupported.

Definition at line 108 of file errors.h.

◆ T5_MAX_ERROR

#define T5_MAX_ERROR   (0x8000)

Maximum C error code.

Definition at line 147 of file errors.h.

◆ T5_PERMISSION_DENIED

#define T5_PERMISSION_DENIED   (0x101B)

Permission denied.

Definition at line 138 of file errors.h.

◆ T5_SUCCESS

#define T5_SUCCESS   (0x0000)

Success.

Definition at line 54 of file errors.h.

◆ T5_TIMEOUT

#define T5_TIMEOUT   (0x0001)

Timeout.

Definition at line 57 of file errors.h.

Function Documentation

◆ t5GetResultMessage()

T5_EXPORT const char * t5GetResultMessage ( T5_Result  result)

Get a human readable error message

Parameters
[in]result- A T5_Result