pub enum TLVValue {
Show 65 variants
AdditionalStatusInfoText(COctetString<1, 256>),
AlertOnMessageDelivery(AlertOnMsgDelivery),
BillingIdentification(OctetString<0, 1024>),
BroadcastAreaIdentifier(BroadcastAreaIdentifier),
BroadcastAreaSuccess(BroadcastAreaSuccess),
BroadcastContentTypeInfo(OctetString<0, 255>),
BroadcastChannelIndicator(BroadcastChannelIndicator),
BroadcastContentType(BroadcastContentType),
BroadcastEndTime(OctetString<0, 17>),
BroadcastErrorStatus(CommandStatus),
BroadcastFrequencyInterval(BroadcastFrequencyInterval),
BroadcastMessageClass(BroadcastMessageClass),
BroadcastRepNum(u16),
BroadcastServiceGroup(OctetString<1, 255>),
CallbackNum(OctetString<4, 19>),
CallbackNumAtag(OctetString<0, 65>),
CallbackNumPresInd(CallbackNumPresInd),
CongestionState(CongestionState),
DeliveryFailureReason(DeliveryFailureReason),
DestAddrNpCountry(OctetString<1, 5>),
DestAddrNpInformation(OctetString<0, 10>),
DestAddrNpResolution(DestAddrNpResolution),
DestAddrSubunit(AddrSubunit),
DestBearerType(BearerType),
DestNetworkId(COctetString<7, 66>),
DestNetworkType(NetworkType),
DestNodeId(OctetString<6, 6>),
DestSubaddress(Subaddress),
DestTelematicsId(u16),
DestPort(u16),
DisplayTime(DisplayTime),
DpfResult(DpfResult),
ItsReplyType(ItsReplyType),
ItsSessionInfo(ItsSessionInfo),
LanguageIndicator(LanguageIndicator),
MessagePayload(AnyOctetString),
MessageState(MessageState),
MoreMessagesToSend(MoreMessagesToSend),
MsAvailabilityStatus(MsAvailabilityStatus),
MsMsgWaitFacilities(MsMsgWaitFacilities),
MsValidity(MsValidity),
NetworkErrorCode(NetworkErrorCode),
NumberOfMessages(NumberOfMessages),
PayloadType(PayloadType),
PrivacyIndicator(PrivacyIndicator),
QosTimeToLive(u32),
ReceiptedMessageId(COctetString<1, 65>),
SarMsgRefNum(u16),
SarSegmentSeqnum(u8),
SarTotalSegments(u8),
ScInterfaceVersion(InterfaceVersion),
SetDpf(SetDpf),
SmsSignal(u16),
SourceAddrSubunit(AddrSubunit),
SourceBearerType(BearerType),
SourceNetworkId(COctetString<7, 66>),
SourceNetworkType(NetworkType),
SourceNodeId(OctetString<6, 6>),
SourcePort(u16),
SourceSubaddress(Subaddress),
SourceTelematicsId(u16),
UserMessageReference(u16),
UserResponseCode(u8),
UssdServiceOp(UssdServiceOp),
Other {
tag: TLVTag,
value: AnyOctetString,
},
}
Expand description
See module level documentation
Variants§
AdditionalStatusInfoText(COctetString<1, 256>)
AlertOnMessageDelivery(AlertOnMsgDelivery)
BillingIdentification(OctetString<0, 1024>)
BroadcastAreaIdentifier(BroadcastAreaIdentifier)
Identifies one or more target Broadcast Area(s) for which the status information applies.
The number of instances of this parameter will be exactly equal to the number of occurrences of the broadcast_area_identifiers parameter in the corresponding broadcast_sm.
BroadcastAreaSuccess(BroadcastAreaSuccess)
The success rate indicator, defined as the ratio of the number of BTSs that accepted the message and the total number of BTSs that should have accepted the message, for a particular broadcast_area_identifier.
BroadcastContentTypeInfo(OctetString<0, 255>)
BroadcastChannelIndicator(BroadcastChannelIndicator)
BroadcastContentType(BroadcastContentType)
Specifies the content type of the message.
BroadcastEndTime(OctetString<0, 17>)
Absolute time is formatted as a 16-character string (encoded as a 17-octet C-octet String) “YYMMDDhhmmsstnnp” where:
Digits | Meaning |
---|---|
‘YY’ | last two digits of the year (00-99) |
‘MM’ | month (01-12) |
‘DD’ | day (01-31) |
‘hh’ | hour (00-23) |
‘mm’ | minute (00-59) |
‘ss’ | second (00-59) |
‘t’ | tenths of second (0-9) |
‘nn’ | time difference in quarter hours between local time (as expressed in the first 13 octets) and UTC (Universal Time Constant) time (00-48). |
‘p’ | “+” Local time is in quarter hours advanced in relation to UTC time. “-” Local time is in quarter hours retarded in relation to UTC time. |
BroadcastErrorStatus(CommandStatus)
BroadcastFrequencyInterval(BroadcastFrequencyInterval)
This field indicates the frequency interval at which the broadcasts of a message should be repeated.
BroadcastMessageClass(BroadcastMessageClass)
BroadcastRepNum(u16)
This field indicates the number of repeated broadcasts of a message requested by the submitter.
BroadcastServiceGroup(OctetString<1, 255>)
CallbackNum(OctetString<4, 19>)
CallbackNumAtag(OctetString<0, 65>)
CallbackNumPresInd(CallbackNumPresInd)
CongestionState(CongestionState)
DeliveryFailureReason(DeliveryFailureReason)
DestAddrNpCountry(OctetString<1, 5>)
DestAddrNpInformation(OctetString<0, 10>)
DestAddrNpResolution(DestAddrNpResolution)
DestAddrSubunit(AddrSubunit)
DestBearerType(BearerType)
DestNetworkId(COctetString<7, 66>)
DestNetworkType(NetworkType)
DestNodeId(OctetString<6, 6>)
DestSubaddress(Subaddress)
DestTelematicsId(u16)
DestPort(u16)
DisplayTime(DisplayTime)
DpfResult(DpfResult)
ItsReplyType(ItsReplyType)
ItsSessionInfo(ItsSessionInfo)
LanguageIndicator(LanguageIndicator)
MessagePayload(AnyOctetString)
MessageState(MessageState)
This field indicates the current status of the broadcast message.
MoreMessagesToSend(MoreMessagesToSend)
MsAvailabilityStatus(MsAvailabilityStatus)
MsMsgWaitFacilities(MsMsgWaitFacilities)
MsValidity(MsValidity)
NetworkErrorCode(NetworkErrorCode)
NumberOfMessages(NumberOfMessages)
PayloadType(PayloadType)
PrivacyIndicator(PrivacyIndicator)
QosTimeToLive(u32)
ReceiptedMessageId(COctetString<1, 65>)
SarMsgRefNum(u16)
SarSegmentSeqnum(u8)
SarTotalSegments(u8)
ScInterfaceVersion(InterfaceVersion)
SetDpf(SetDpf)
SmsSignal(u16)
Encoded as per [CMT-136]
SourceAddrSubunit(AddrSubunit)
SourceBearerType(BearerType)
SourceNetworkId(COctetString<7, 66>)
SourceNetworkType(NetworkType)
SourceNodeId(OctetString<6, 6>)
SourcePort(u16)
SourceSubaddress(Subaddress)
SourceTelematicsId(u16)
UserMessageReference(u16)
UserResponseCode(u8)
UssdServiceOp(UssdServiceOp)
Other
Implementations§
Trait Implementations§
source§impl DecodeWithKey for TLVValue
impl DecodeWithKey for TLVValue
source§impl Encode for TLVValue
impl Encode for TLVValue
source§fn encode_to<W: Write>(&self, writer: &mut W) -> Result<(), EncodeError>
fn encode_to<W: Write>(&self, writer: &mut W) -> Result<(), EncodeError>
source§fn encode_into_vec(&self) -> Result<Vec<u8>, EncodeError>
fn encode_into_vec(&self) -> Result<Vec<u8>, EncodeError>
source§impl From<BroadcastRequestTLVValue> for TLVValue
impl From<BroadcastRequestTLVValue> for TLVValue
source§fn from(value: BroadcastRequestTLVValue) -> Self
fn from(value: BroadcastRequestTLVValue) -> Self
source§impl From<BroadcastResponseTLVValue> for TLVValue
impl From<BroadcastResponseTLVValue> for TLVValue
source§fn from(value: BroadcastResponseTLVValue) -> Self
fn from(value: BroadcastResponseTLVValue) -> Self
source§impl From<CancelBroadcastTLVValue> for TLVValue
impl From<CancelBroadcastTLVValue> for TLVValue
source§fn from(value: CancelBroadcastTLVValue) -> Self
fn from(value: CancelBroadcastTLVValue) -> Self
source§impl From<MessageDeliveryRequestTLVValue> for TLVValue
impl From<MessageDeliveryRequestTLVValue> for TLVValue
source§fn from(value: MessageDeliveryRequestTLVValue) -> Self
fn from(value: MessageDeliveryRequestTLVValue) -> Self
source§impl From<MessageDeliveryResponseTLVValue> for TLVValue
impl From<MessageDeliveryResponseTLVValue> for TLVValue
source§fn from(value: MessageDeliveryResponseTLVValue) -> Self
fn from(value: MessageDeliveryResponseTLVValue) -> Self
source§impl From<MessageSubmissionRequestTLVValue> for TLVValue
impl From<MessageSubmissionRequestTLVValue> for TLVValue
source§fn from(value: MessageSubmissionRequestTLVValue) -> Self
fn from(value: MessageSubmissionRequestTLVValue) -> Self
source§impl From<MessageSubmissionResponseTLVValue> for TLVValue
impl From<MessageSubmissionResponseTLVValue> for TLVValue
source§fn from(value: MessageSubmissionResponseTLVValue) -> Self
fn from(value: MessageSubmissionResponseTLVValue) -> Self
source§impl From<QueryBroadcastResponseTLVValue> for TLVValue
impl From<QueryBroadcastResponseTLVValue> for TLVValue
source§fn from(value: QueryBroadcastResponseTLVValue) -> Self
fn from(value: QueryBroadcastResponseTLVValue) -> Self
source§impl Ord for TLVValue
impl Ord for TLVValue
source§impl PartialEq for TLVValue
impl PartialEq for TLVValue
source§impl PartialOrd for TLVValue
impl PartialOrd for TLVValue
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read more