public interface USATEnvelopeHandler
uicc.toolkit.EnvelopeHandler
Modifier and Type | Method and Description |
---|---|
short |
getSecuredDataLength()
Looks for the length of the Secured Data from the Command Packet in the first SMS TPDU
or Cell Broadcast Page Simple or USSD String TLV contained in the Envelope handler.
|
short |
getSecuredDataOffset()
Looks for the Secured Data from the Command Packet in the first SMS TPDU
or Cell Broadcast Page Simple TLV or USSD String TLV contained in the Envelope handler.
This can be used on the events: EVENT_FORMATTED_SMS_PP_ENV, EVENT_FORMATTED_SMS_PP_UPD, if the SMS TP-UD is formatted according to TS 31.115 Single or Concatenated Short Message. |
short |
getShortMessageLength()
Looks for the length of the Short Message in the User Data part of the first SMS TPDU or Cell Broadcast Page COMPREHENSION TLV
contained in the USATEnvelopeHandler.
This can be used on the events: EVENT_FORMATTED_SMS_PP_ENV, EVENT_FORMATTED_SMS_PP_UPD, EVENT_UNFORMATTED_SMS_PP_ENV, EVENT_UNFORMATTED_SMS_PP_UPD. |
short |
getShortMessageOffset()
Looks for the Short Message offset in the User Data part of the first SMS TPDU
or of the first Cell Broadcast Page Simple TLV contained in the USATEnvelopeHandler.
|
short |
getTPUDLOffset()
Looks for the TP-UDL field in the first TPDU TLV element in the Envelope
data field.
This method can be used on the events: EVENT_FORMATTED_SMS_PP_ENV, EVENT_FORMATTED_SMS_PP_UPD, EVENT_UNFORMATTED_SMS_PP_ENV, EVENT_UNFORMATTED_SMS_PP_UPD. If the element is available it becomes the TLV selected. |
short |
getUserDataLength()
Looks for the TP-User Data field in the first TPDU TLV element contained in the Envelope Handler.
|
short getTPUDLOffset() throws ToolkitException
ToolkitException
- with the following reason codes: UNAVAILABLE_ELEMENT
in case of unavailable TPDU TLV element or if the TPUDL field does not existshort getSecuredDataOffset() throws ToolkitException
ToolkitException
- with the following reason codes: UNAVAILABLE_ELEMENT
in case of unavailable SMS TPDU or Cell Broadcast Page TLV element or wrong data format short getSecuredDataLength() throws ToolkitException
ToolkitException
- with the following reason codes: UNAVAILABLE_ELEMENT
in case of unavailable SMS TPDU or Cell Broadcast Page or USSD String TLV element or wrong data format short getUserDataLength() throws ToolkitException
ToolkitException
- with the following reason codes: UNAVAILABLE_ELEMENT
in case of unavailable TPDU TLV element or wrong data format short getShortMessageOffset() throws ToolkitException
ToolkitException
- with the following reason codes: UNAVAILABLE_ELEMENT
in case of unavailable SMS TPDU or Cell Broadcast Page or wrong data format short getShortMessageLength() throws ToolkitException
ToolkitException
- with the following reason codes: UNAVAILABLE_ELEMENT
in case of unavailable SMS TPDU or Cell Broadcast Page or wrong data format Copyright © 2019 ETSI All Rights Reserved.