# Functions
FindEncoding returns suitable encoding for a string.
FromDataCoding returns encoding from DataCoding value.
GetDefaultNpi get default npi.
GetDefaultTon get default ton.
GSM7 returns a GSM 7-bit Bit Encoding.
NewCustomEncoding creates new custom encoding.
SetDefaultNpi set default npi.
SetDefaultTon set default ton.
ValidateGSM7Buffer returns the bytes, in the given buffer, that are outside of the GSM 7-bit encoding range.
ValidateGSM7String returns the characters, in the given text, that can not be represented in GSM 7-bit encoding.
# Constants
nolint.
nolint.
ASCIICoding is ascii coding.
BINARY8BIT1Coding is 8-bit binary coding.
BINARY8BIT2Coding is 8-bit binary coding.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
CYRILLICCoding is iso-8859-5 coding.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
not set.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
THE VALUE OF THE LAST ERROR CODE.
Failed to Add Customer.
Failed to Add DL.
nolint.
nolint.
nolint.
nolint.
Customer Exists.
Customer does not exist.
Failed to delete Customer.
Failed to Delete DL.
nolint.
Failed to Enquire Customer.
Invalid Address.
nolint.
Cap Code Length Invalid.
Channel Length Invalid.
City Length Invalid.
nolint.
nolint.
Coverage Region Length Invalid.
Invalid Customer Address.
Invalid Customer ID.
Invalid Customer Name.
nolint.
nolint.
Invalid DL Member Description.
Invalid DL Member Type.
Invalid DL Modify Option.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
Message delivery time Invalid.
Message delivery time Length Invalid.
MIN Invalid (i.e.
MIN Length Invalid.
Message Distribution Invalid.
Message Distribution Length Invalid.
nolint.
nolint.
nolint.
nolint.
nolint.
Invalid Optional Parameter Length.
nolint.
Invalid Param.
nolint.
nolint.
Periodic Messages Invalid.
Periodic Messages Length Invalid.
Paging Alerts Invalid.
Paging Alerts Length Invalid.
Paging Customer ID Invalid No such subscriber.
Paging Customer ID length Invalid.
PIN Length Invalid.
Priority Message Length Invalid.
Priority Message Length Invalid.
nolint.
Registered Delivery Invalid.
Registered Delivery Length Invalid.
nolint.
nolint.
Real Time Data broadcasts Invalid.
Real Time Data broadcasts Length Invalid.
nolint.
nolint.
int16 Message User Group Invalid.
int16 Message User Group Length Invalid.
nolint.
nolint.
nolint.
State Length Invalid.
nolint.
nolint.
nolint.
Terminal Code Length Invalid.
Zip Postfix Length Invalid.
Zip Prefix Length Invalid.
Failed to list DLs.
nolint.
Failed to modify customer.
Failed to modify DL.
nolint.
Command_Status Error Codes.
nolint.
Param Retrieve Failed.
Provisioning Not Allowed.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
Failed to View DL.
nolint.
nolint.
nolint.
SMPP Command ID Set.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
Address_NPI.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
Address_TON.
GSM7BITCoding is gsm-7bit coding.
HEBREWCoding is iso-8859-8 coding.
LATIN1Coding is iso-8859-1 coding.
nolint.
nolint.
nolint.
nolint.
Additional Status Info Text.
nolint.
nolint.
Message Delivery Alert.
Callback Number.
Callback Number Alphanumeric Tag.
nolint.
nolint.
nolint.
nolint.
Callback Number Presentation Indicator.
Delivery Failure Reason.
int16(0x8082).
nolint.
nolint.
Destination Subaddress.
nolint.
nolint.
Display Time.
DPF Result.
Destination Address Subunit.
Destination Bearer Type.
Destination Network Type.
Destination Port.
Destination Telematics ID.
ITS Reply Type.
ITS Session Info.
Language Indicator.
More Messages to Follow.
MS Availability Status.
Validity Information.
Message Payload.
nolint.
nolint.
Message State.
nolint.
Number of messages in Mailbox.
Network Error Code.
nolint.
nolint.
int16(0x8081).
nolint.
nolint.
Payload Type.
Privacy Indicator.
QOS Time to Live.
nolint.
nolint.
Receipted Message ID.
nolint.
nolint.
Concat Msg Ref Num.
Concat Segment Seqnums.
Concat Total Segments.
SC Interface Version.
Set DPF.
SMS Received Alert.
Source Address Subunit.
Source Bearer Type.
Source Network Type.
Source Port.
Source Subaddress.
nolint.
nolint.
Source Telematics ID.
Unused Tag.
User Message Reference.
User Response Code.
USSD Service Op.
nolint.
4 integers.
nolint.
nolint.
nolint.
nolint.
all times in milliseconds.
nolint.
nolint.
nolint.
nolint.
Service_Type.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
Recv Msg contains conversation abort (Korean CDMA).
nolint.
Use one-shot express mode.
nolint.
nolint.
Destination flag.
nolint.
Default SMSC Mode or Message Type.
Send/Recv Msg contains ESME delivery acknowledgement.
Send/Recv Msg contains manual/user acknowledgment.
Do not use.
GSM specific, short message must be no larger than 140 octets.
Recv Msg contains intermediate notification.
nolint.
Higher Layer Message Type.
nolint.
nolint.
nolint.
nolint.
No specific features selected.
Priority.
Replace if Present flag.
Intermediate notification (bit 5).
nolint.
nolint.
Operation Class.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
Reply path set.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
SME originated acknowledgement (bits 3 & 2).
nolint.
Recv Msg contains SMSC delivery receipt.
Registered delivery SMSC Delivery Receipt (bits 1 & 0).
nolint.
nolint.
nolint.
nolint.
message is in accepted state.
message has been deleted.
message is delivered.
default state for messages in transit.
validity period expired.
message is in invalid state.
message is in rejected state.
undeliverable.
Use store & forward.
nolint.
nolint.
nolint.
User Data Header indicator set.
Both UDH & Reply path.
nolint.
Interface_Version.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
2 int16s: tag & length.
UCS2Coding is UCS2 coding.
nolint.
User Data Header.
nolint.
nolint.
nolint.
USIM specific coding.
# Variables
ASCII is ascii encoding.
BINARY8BIT1 is binary 8-bit encoding.
BINARY8BIT2 is binary 8-bit encoding.
CYRILLIC encoding.
ErrInvalidByte means that a given byte is outside of the GSM 7-bit encoding range.
ErrInvalidCharacter means a given character can not be represented in GSM 7-bit encoding.
ErrNotImplDecode indicates that encoding does not support Decode method.
ErrNotImplEncode indicates that encoding does not support Encode method.
ErrNotImplSplitterInterface indicates that encoding does not support Splitter interface.
GSM7BIT is gsm-7bit encoding.
GSM7BITPACKED is packed gsm-7bit encoding.
HEBREW encoding.
LATIN1 encoding.
UCS2 encoding.
No description provided by the author
UTF16BE is UTF-16 Big Endian without BOM.
UTF16BEM is UTF-16 Big Endian with BOM (byte order mark).
UTF16LE is UTF-16 Little Endian without BOM.
UTF16LEM is UTF-16 Little Endian with BOM.
# Structs
CustomEncoding is wrapper for user-defined data encoding.
# Type aliases
CommandIDType is type of command id.
CommandStatusType is type of command status.