package
0.1.5-rc9
Repository: https://github.com/dd1337/gosmpp.git
Documentation: pkg.go.dev

# Functions

CreatePDUFromCmdID creates PDU from cmd id.
NewAddress returns new address with default max length.
NewAddressRange create new AddressRange with default max length.
NewAddressRangeWithAddr create new AddressRange.
NewAddressRangeWithTonNpi create new AddressRange with ton, npi.
NewAddressRangeWithTonNpiAddr returns new address with ton, npi, addr string.
NewAddressWithAddr returns new address.
NewAddressWithTonNpi returns new address with ton, npi.
NewAddressWithTonNpiAddr returns new address with ton, npi, addr string.
NewAlertNotification create new alert notification pdu.
NewBinaryShortMessage returns new ShortMessage.
NewBinaryShortMessageWithEncoding returns new ShortMessage with predefined encoding.
NewBindReceiver returns new bind receiver pdu.
NewBindReceiverResp returns new bind receiver resp.
NewBindRequest returns new bind request.
NewBindResp returns BindResp.
NewBindTransceiver returns new bind transceiver pdu.
NewBindTransceiverResp returns new bind transceiver resp.
NewBindTransmitter returns new bind transmitter pdu.
NewBindTransmitterResp returns new bind transmitter resp.
NewBuffer create new buffer from preallocated buffer array.
NewCancelSM returns CancelSM PDU.
NewCancelSMResp returns CancelSMResp.
NewCancelSMRespFromReq returns CancelSMResp.
NewDataSM returns new data sm pdu.
NewDataSMResp returns DataSMResp.
NewDataSMRespFromReq returns DataSMResp.
NewDeliverSM returns DeliverSM PDU.
NewDeliverSMResp returns new DeliverSMResp.
NewDeliverSMRespFromReq returns new DeliverSMResp.
NewDestinationAddress returns new DestinationAddress.
NewDestinationAddresses returns list of DestinationAddress.
NewDistributionList returns a new DistributionList.
NewEnquireLink returns new EnquireLink PDU.
NewEnquireLinkResp returns EnquireLinkResp.
NewEnquireLinkRespFromReq returns EnquireLinkResp.
NewGenericNack returns new GenericNack PDU.
NewIEConcatMessage turn a new IE element for concat message info IE.Data is populated at time of object creation.
NewLongMessage returns long message splitted into multiple short message.
NewLongMessageWithEncoding returns long message splitted into multiple short message with encoding of choice.
NewOutbind returns Outbind PDU.
NewQuerySM returns new QuerySM PDU.
NewQuerySMResp returns new QuerySM PDU.
NewQuerySMRespFromReq returns new QuerySM PDU.
NewReplaceSM returns ReplaceSM PDU.
NewReplaceSMResp returns ReplaceSMResp.
NewReplaceSMRespFromReq returns ReplaceSMResp.
NewShortMessage returns new ShortMessage.
NewShortMessageWithEncoding returns new ShortMessage with predefined encoding.
NewSubmitMulti returns NewSubmitMulti PDU.
NewSubmitMultiResp returns new SubmitMultiResp.
NewSubmitMultiRespFromReq returns new SubmitMultiResp.
NewSubmitSM returns SubmitSM PDU.
NewSubmitSMResp returns new SubmitSMResp.
NewSubmitSMRespFromReq returns new SubmitSMResp.
NewUnbind returns Unbind PDU.
NewUnbindResp returns UnbindResp.
NewUnbindRespFromReq returns UnbindResp.
NewUnsuccessSME returns new UnsuccessSME.
NewUnsuccessSMEs returns list of UnsuccessSME.
NewUnsuccessSMEWithAddr returns new UnsuccessSME with address.
NewUnsuccessSMEWithTonNpi create new address with ton, npi and error code.
Parse PDU from reader.
ParseHeader parses PDU header.

# Constants

Receiver indicates Receiver binding.
SizeByte is size of byte.
SizeInt is size of int.
SizeLong is size of long.
SizeShort is size of short.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Transceiver indicates Transceiver binding.
Transmitter indicate Transmitter binding.

# Variables

ErrBufferNotEnoughByteToRead indicates not enough byte(s) to read from buffer.

# Structs

Address smpp address of src and dst.
AddressRange smpp address range of src and dst.
AlertNotification PDU is sent by the SMSC to the ESME, when the SMSC has detected that a particular mobile subscriber has become available and a delivery pending flag had been set for that subscriber from a previous data_sm operation.
BindRequest represents a bind request.
BindResp PDU.
ByteBuffer wraps over bytes.Buffer with additional features.
CancelSM PDU is issued by the ESME to cancel one or more previously submitted short messages that are still pending delivery.
CancelSMResp PDU.
DataSM PDU is used to transfer data between the SMSC and the ESME.
DataSMResp PDU.
DeliverSM PDU is issued by the SMSC to send a message to an ESME.
DeliverSMResp PDU.
DestinationAddress represents Address or Distribution List based on destination flag.
DestinationAddresses represents list of DestinationAddress.
DistributionList represents group of contacts.
EnquireLink PDU.
EnquireLinkResp PDU.
Field is a PDU Tag-Length-Value (TLV) field.
GenericNack PDU is a generic negative acknowledgement to an SMPP PDU submitted with an invalid message header.
Header represents PDU header.
InfoElement represent a 3 parts Information-Element as defined in 3GPP TS 23.040 Section 9.2.3.24 Each InfoElement is comprised of it's identifier and data.
Outbind PDU is used by the SMSC to signal an ESME to originate a bind_receiver request to the SMSC.
QuerySM PDU is issued by the ESME to query the status of a previously submitted short message.
QuerySMResp PDU.
ReplaceSM PDU is issued by the ESME to replace a previously submitted short message that is still pending delivery.
ReplaceSMResp PDU.
ShortMessage message.
SubmitMulti PDU is used to submit an SMPP message for delivery to multiple recipients or to one or more Distribution Lists.
SubmitMultiResp PDU.
SubmitSM PDU is used by an ESME to submit a short message to the SMSC for onward transmission to a specified short message entity (SME).
SubmitSMResp PDU.
Unbind PDU is to deregister an instance of an ESME from the SMSC and inform the SMSC that the ESME no longer wishes to use this network connection for the submission or delivery of messages.
UnbindResp PDU.
UnsuccessSME indicates submission was unsuccessful and the respective errors.
UnsuccessSMEs represents list of UnsuccessSME.

# Interfaces

PDU represents PDU interface.

# Type aliases

BindingType indicates type of binding.
Tag is the tag of a Tag-Length-Value (TLV) field.
UDH represent User Data Header as defined in 3GPP TS 23.040 Section 9.2.3.24.