Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Body ¶
type Body interface { Len() int Raw() interface{} String() string Bytes() []byte SerializeTo(w io.Writer) error }
Body is an interface for manipulating binary PDU Tag-Length-Value field data.
type CString ¶
type CString string
CString is a text string that is automatically null-terminated (e.g., final 00 byte at the end).
type Field ¶
Field is a PDU Tag-Length-Value (TLV) field
func (*Field) SerializeTo ¶
SerializeTo implements the Data interface.
type Map ¶
Map is a collection of PDU TLV field data indexed by tag.
type Tag ¶
type Tag uint16
Tag is the tag of a Tag-Length-Value (TLV) field.
const ( TagDestAddrSubunit Tag = 0x0005 TagDestNetworkType Tag = 0x0006 TagDestBearerType Tag = 0x0007 TagDestTelematicsID Tag = 0x0008 TagSourceAddrSubunit Tag = 0x000D TagSourceNetworkType Tag = 0x000E TagSourceBearerType Tag = 0x000F TagSourceTelematicsID Tag = 0x0010 TagQosTimeToLive Tag = 0x0017 TagPayloadType Tag = 0x0019 TagAdditionalStatusInfoText Tag = 0x001D TagReceiptedMessageID Tag = 0x001E TagMsMsgWaitFacilities Tag = 0x0030 TagPrivacyIndicator Tag = 0x0201 TagSourceSubaddress Tag = 0x0202 TagDestSubaddress Tag = 0x0203 TagUserMessageReference Tag = 0x0204 TagUserResponseCode Tag = 0x0205 TagSourcePort Tag = 0x020A TagDestinationPort Tag = 0x020B TagSarMsgRefNum Tag = 0x020C TagLanguageIndicator Tag = 0x020D TagSarTotalSegments Tag = 0x020E TagSarSegmentSeqnum Tag = 0x020F TagCallbackNumPresInd Tag = 0x0302 TagCallbackNumAtag Tag = 0x0303 TagNumberOfMessages Tag = 0x0304 TagCallbackNum Tag = 0x0381 TagDpfResult Tag = 0x0420 TagSetDpf Tag = 0x0421 TagMsAvailabilityStatus Tag = 0x0422 TagNetworkErrorCode Tag = 0x0423 TagMessagePayload Tag = 0x0424 TagDeliveryFailureReason Tag = 0x0425 TagMoreMessagesToSend Tag = 0x0426 TagMessageStateOption Tag = 0x0427 TagUssdServiceOp Tag = 0x0501 TagDisplayTime Tag = 0x1201 TagSmsSignal Tag = 0x1203 TagMsValidity Tag = 0x1204 TagAlertOnMessageDelivery Tag = 0x130C TagItsReplyType Tag = 0x1380 TagItsSessionInfo Tag = 0x1383 )
Common Tag-Length-Value (TLV) tags.
Click to show internal directories.
Click to hide internal directories.