Group SDS_State_Codes

Modules > SDS_State_Codes

SDS State Codes. More...

Macros

Type Name
define SDS_STATE_ACTIVE (3UL)
Streaming is active.
define SDS_STATE_CONNECTED (1UL)
Device is connected to the host, but streaming is not active.
define SDS_STATE_END (6UL)
Request to end streaming (e.g., no more playback data is available).
define SDS_STATE_INACTIVE (0UL)
Device is not connected to the host and streaming is not active.
define SDS_STATE_RESET (7UL)
Request to reset the device.
define SDS_STATE_START (2UL)
Request to start streaming; open streams and get ready for read/write operations.
define SDS_STATE_STOP_DONE (5UL)
Streaming has stopped.
define SDS_STATE_STOP_REQ (4UL)
Request to stop streaming and close all open streams.
define SDS_STATE_TERMINATE (8UL)
Request to terminate the active session.

Detailed Description

The following values are used by global variable sdsState.

Macro Definition Documentation

define SDS_STATE_ACTIVE

Streaming is active.

#define SDS_STATE_ACTIVE `(3UL)`

define SDS_STATE_CONNECTED

Device is connected to the host, but streaming is not active.

#define SDS_STATE_CONNECTED `(1UL)`

define SDS_STATE_END

Request to end streaming (e.g., no more playback data is available).

#define SDS_STATE_END `(6UL)`

define SDS_STATE_INACTIVE

Device is not connected to the host and streaming is not active.

#define SDS_STATE_INACTIVE `(0UL)`

define SDS_STATE_RESET

Request to reset the device.

#define SDS_STATE_RESET `(7UL)`

define SDS_STATE_START

Request to start streaming; open streams and get ready for read/write operations.

#define SDS_STATE_START `(2UL)`

define SDS_STATE_STOP_DONE

Streaming has stopped.

#define SDS_STATE_STOP_DONE `(5UL)`

define SDS_STATE_STOP_REQ

Request to stop streaming and close all open streams.

#define SDS_STATE_STOP_REQ `(4UL)`

define SDS_STATE_TERMINATE

Request to terminate the active session.

#define SDS_STATE_TERMINATE `(8UL)`