hp.telephony.media
Interface SMSPlayerConstants

All Known Subinterfaces:
Player, SMSPlayerEvent, SMSPlayerRecorder
All Known Implementing Classes:
AsyncMediaGroup

public interface SMSPlayerConstants

The Symbols used by the PlayerResource


Field Summary
static Symbol e_TL_InternalError
          Play ended because a TL error has been internaly detected.
static Symbol ev_SMS
          Completion event for play.
static Symbol p_DLL_MessageType
          Indicates the DLL message type to send when play() is invoked.
static Symbol p_DLL_RequiredTestErrorCause
          Indicates the DLL Error cause to generate for test purpose when play() is invoked.
static Symbol p_DLL_RequiredTestMessageType
          Indicates a DLL message type to be received as an answer when the record() is invoked after the current play().
static Symbol p_DLL_T10Timeout
          Indicates the DLL T10 timeout value in ms when play() is invoked to send a v_DLL_EST_IND message on protocol 1 or on SMS Slave mode only on protocol 2.
static Symbol p_DLL_T11Timeout
          Indicates the DLL T11 timeout value in ms.
static Symbol p_DLL_T12Timeout
          Indicates the DLL T12 timeout value in ms.
static Symbol p_TL_Data
          Indicates the TL Data (Transport Layer Payload) as a byte array to send when play() is invoked.
static Symbol p_TL_RequiredTestData
          Indicates the TL Data (Transport Layer Payload) as a byte array to be received as an answer when the record() is invoked after the current play().
static Symbol v_DLL_DATA_ACK
          Indicates a DLL message type to send.
static Symbol v_DLL_DATA_NACK
          Indicates a DLL message type to send.
static Symbol v_DLL_DATA_REQ
          Indicates a DLL message type to send.
static Symbol v_DLL_EST_IND
          Indicates a DLL message type to send.
static Symbol v_DLL_EST_REQ
          Indicates a DLL message type to send.
static Symbol v_DLL_ExtensionMechanismNotSupported
          Indicates a required test error cause.
static Symbol v_DLL_INFO_CFM
          Indicates a DLL message type to send.
static Symbol v_DLL_INFO_REJ
          Indicates a DLL message type to send.
static Symbol v_DLL_INFO_REQ
          Indicates a DLL message type to send.
static Symbol v_DLL_REL_REQ
          Indicates a DLL message type to send.
static Symbol v_DLL_UnknownMessageType
          Indicates a required test error cause.
static Symbol v_DLL_UnspecifiedCause
          Indicates a required test error cause.
static Symbol v_DLL_WrongChecksum
          Indicates a required test error cause.
static Symbol v_DLL_WrongMessageLength
          Indicates a required test error cause.
static Symbol v_NO_DLL_MANAGER
          Indicates that the play cannot be realized because the DLL Manager does not exist.
static Symbol v_NO_MEMORY
          Indicates that the play cannot be realized because of a memory problem.
static Symbol v_TL_NOT_DLL_EST_REQ
          Indicates that TL does not receive DLL_EST_REQ
static Symbol v_TL_NOT_DLL_INFO_CFM
          Indicates that TL does not receive DLL_INFO_CFM
static Symbol v_TL_NOT_DLL_INFO_REQ
          Indicates that TL does not receive DLL_INFO_REQ
 

Field Detail

p_DLL_MessageType

public static final Symbol p_DLL_MessageType
Indicates the DLL message type to send when play() is invoked.

Valid values for protocol 1 : v_DLL_DATA_REQ, v_DLL_REL_REQ, v_DLL_EST_IND, v_DLL_DATA_ACK, v_DLL_DATA_NACK.

Valid values for protocol 2 : v_DLL_EST_REQ, v_DLL_EST_IND, v_DLL_INFO_REQ, v_DLL_REL_REQ, v_DLL_INFO_CFM, v_DLL_INFO_REJ.

when v_DLL_INFO_REQ is selected, p_TL_Data parameter is also required

See Also:
v_DLL_EST_REQ, v_DLL_EST_IND, v_DLL_INFO_REQ, v_DLL_REL_REQ, v_DLL_INFO_CFM, v_DLL_INFO_REJ, v_DLL_DATA_REQ, v_DLL_DATA_ACK, v_DLL_DATA_NACK

v_DLL_DATA_REQ

public static final Symbol v_DLL_DATA_REQ
Indicates a DLL message type to send. The p_DLL_MessageType parameter allows to set the message type.

See Also:
p_DLL_MessageType

v_DLL_DATA_ACK

public static final Symbol v_DLL_DATA_ACK
Indicates a DLL message type to send. The p_DLL_MessageType parameter allows to set the message type.

See Also:
p_DLL_MessageType

v_DLL_DATA_NACK

public static final Symbol v_DLL_DATA_NACK
Indicates a DLL message type to send. The p_DLL_MessageType parameter allows to set the message type.

See Also:
p_DLL_MessageType

v_DLL_EST_REQ

public static final Symbol v_DLL_EST_REQ
Indicates a DLL message type to send. The p_DLL_MessageType parameter allows to set the message type.

See Also:
p_DLL_MessageType

v_DLL_EST_IND

public static final Symbol v_DLL_EST_IND
Indicates a DLL message type to send. The p_DLL_MessageType parameter allows to set the message type. The p_DLL_T10Timeout can be set in order to specify the T10 Timeout value (protocol 1 & 2). The p_DLL_T11Timeout can be set in order to specify the T11 Timeout value (protocol 1). The p_DLL_T12Timeout can be set in order to specify the T12 Timeout value (protocol 1).

See Also:
p_DLL_MessageType, p_DLL_T10Timeout, p_DLL_T11Timeout, p_DLL_T12Timeout

v_DLL_INFO_REQ

public static final Symbol v_DLL_INFO_REQ
Indicates a DLL message type to send. The p_DLL_MessageType parameter allows to set the message type.

See Also:
p_DLL_MessageType, p_TL_Data

v_DLL_REL_REQ

public static final Symbol v_DLL_REL_REQ
Indicates a DLL message type to send. The p_DLL_MessageType parameter allows to set the message type.

See Also:
p_DLL_MessageType

v_DLL_INFO_CFM

public static final Symbol v_DLL_INFO_CFM
Indicates a DLL message type to send. The p_DLL_MessageType parameter allows to set the message type.

See Also:
p_DLL_MessageType

v_DLL_INFO_REJ

public static final Symbol v_DLL_INFO_REJ
Indicates a DLL message type to send. The p_DLL_MessageType parameter allows to set the message type.

See Also:
p_DLL_MessageType

p_TL_Data

public static final Symbol p_TL_Data
Indicates the TL Data (Transport Layer Payload) as a byte array to send when play() is invoked.

Valid values: any byte array


p_DLL_T10Timeout

public static final Symbol p_DLL_T10Timeout
Indicates the DLL T10 timeout value in ms when play() is invoked to send a v_DLL_EST_IND message on protocol 1 or on SMS Slave mode only on protocol 2. The sending will be realized p_DLL_T10Timeout ms after the play method call.

Valid values: any int value within the [0 ms - 256000 ms] interval.

Default value: 8000 ms (for protocol 1) 2500 ms (for protocol 2)

supported by protocol 1 & 2


p_DLL_T11Timeout

public static final Symbol p_DLL_T11Timeout
Indicates the DLL T11 timeout value in ms.

Valid values: any int value within the [0 ms - 256000 ms] interval.

Default value: 160 ms

supported by protocol 1


p_DLL_T12Timeout

public static final Symbol p_DLL_T12Timeout
Indicates the DLL T12 timeout value in ms.

Valid values: any int value within the [0 ms - 256000 ms] interval.

Default value: 4060 ms

supported by protocol 1


p_DLL_RequiredTestMessageType

public static final Symbol p_DLL_RequiredTestMessageType
Indicates a DLL message type to be received as an answer when the record() is invoked after the current play(). (Reserved for internal test use) The p_DLL_RequiredTestMessageType parameter allows to set the message type. A p_TL_RequiredTestData is required.

See Also:
SMSRecorderEvent.getTLMessageType()

p_TL_RequiredTestData

public static final Symbol p_TL_RequiredTestData
Indicates the TL Data (Transport Layer Payload) as a byte array to be received as an answer when the record() is invoked after the current play(). (Reserved for internal test use)

Valid values: any byte array


p_DLL_RequiredTestErrorCause

public static final Symbol p_DLL_RequiredTestErrorCause
Indicates the DLL Error cause to generate for test purpose when play() is invoked. (Reserved for internal test use)

Valid values: v_DLL_WrongChecksum, v_DLL_WrongMessageLength, v_DLL_UnknownMessageType, v_DLL_ExtensionMechanismNotSupported, v_DLL_UnspecifiedCause

v_DLL_ExtensionMechanismNotSupported and v_DLL_UnspecifiedCause have not effect regarding the protocol 2.


v_DLL_WrongChecksum

public static final Symbol v_DLL_WrongChecksum
Indicates a required test error cause. It is supplied in order to generate error for test purpose.

See Also:
p_DLL_RequiredTestErrorCause

v_DLL_WrongMessageLength

public static final Symbol v_DLL_WrongMessageLength
Indicates a required test error cause. It is supplied in order to generate error for test purpose.

See Also:
p_DLL_RequiredTestErrorCause

v_DLL_UnknownMessageType

public static final Symbol v_DLL_UnknownMessageType
Indicates a required test error cause. It is supplied in order to generate error for test purpose.

See Also:
p_DLL_RequiredTestErrorCause

v_DLL_ExtensionMechanismNotSupported

public static final Symbol v_DLL_ExtensionMechanismNotSupported
Indicates a required test error cause. It is supplied in order to generate error for test purpose.

See Also:
p_DLL_RequiredTestErrorCause

v_DLL_UnspecifiedCause

public static final Symbol v_DLL_UnspecifiedCause
Indicates a required test error cause. It is supplied in order to generate error for test purpose.

See Also:
p_DLL_RequiredTestErrorCause

ev_SMS

public static final Symbol ev_SMS
Completion event for play.

Possible error is:
e_TL_InternalError

See Also:
ResourceEvent.getError()

e_TL_InternalError

public static final Symbol e_TL_InternalError
Play ended because a TL error has been internaly detected. The supplied information of this event are delivered by getError()

See Also:
ResourceEvent.getError()

v_TL_NOT_DLL_EST_REQ

public static final Symbol v_TL_NOT_DLL_EST_REQ
Indicates that TL does not receive DLL_EST_REQ

See Also:
SMSPlayerEvent.getErrorCause()

v_TL_NOT_DLL_INFO_REQ

public static final Symbol v_TL_NOT_DLL_INFO_REQ
Indicates that TL does not receive DLL_INFO_REQ

See Also:
SMSRecorderEvent.getErrorCause()

v_TL_NOT_DLL_INFO_CFM

public static final Symbol v_TL_NOT_DLL_INFO_CFM
Indicates that TL does not receive DLL_INFO_CFM

See Also:
SMSRecorderEvent.getErrorCause()

v_NO_MEMORY

public static final Symbol v_NO_MEMORY
Indicates that the play cannot be realized because of a memory problem.

See Also:
SMSRecorderEvent.getErrorCause()

v_NO_DLL_MANAGER

public static final Symbol v_NO_DLL_MANAGER
Indicates that the play cannot be realized because the DLL Manager does not exist.

See Also:
SMSRecorderEvent.getErrorCause()