Versions in this module Expand all Collapse all v0 v0.1.0 Mar 9, 2018 Changes in this version + const ACCEPT_TIMEOUT + const ALERT_NOTIFICATION + const BIND_RECEIVER + const BIND_RECEIVER_RESP + const BIND_TRANSCEIVER + const BIND_TRANSCEIVER_RESP + const BIND_TRANSMITTER + const BIND_TRANSMITTER_RESP + const CANCEL_SM + const CANCEL_SM_RESP + const COMMS_TIMEOUT + const CONNECTION_CLOSED + const CONNECTION_OPENED + const CONNECTION_RECEIVE_TIMEOUT + const CONNECTION_SEND_TIMEOUT + const CR + const DATA_SM + const DATA_SM_RESP + const DELIVER_SM + const DELIVER_SM_RESP + const DFLT_ADDR + const DFLT_ADDR_RANGE + const DFLT_DATA_CODING + const DFLT_DATE + const DFLT_DEST_FLAG + const DFLT_DFLTMSGID + const DFLT_DL_NAME + const DFLT_ERR + const DFLT_ESM_CLASS + const DFLT_GSM_NPI + const DFLT_GSM_TON + const DFLT_MSG + const DFLT_MSGID + const DFLT_MSG_LEN + const DFLT_MSG_STATE + const DFLT_PASS + const DFLT_PRIORITY_FLAG + const DFLT_PROTOCOLID + const DFLT_REG_DELIVERY + const DFLT_SCHEDULE + const DFLT_SRVTYPE + const DFLT_SYSID + const DFLT_SYSTYPE + const DFLT_VALIDITY + const DFTL_REPLACE_IFP + const ENQUIRE_LINK + const ENQUIRE_LINK_RESP + const ESME_LAST_ERROR + const ESME_RADDCUSTFAIL + const ESME_RADDDLFAIL + const ESME_RALYBND + const ESME_RBINDFAIL + const ESME_RCANCELFAIL + const ESME_RCNTSUBDL + const ESME_RCUSTEXIST + const ESME_RCUSTNOTEXIST + const ESME_RDELCUSTFAIL + const ESME_RDELDLFAIL + const ESME_RDELIVERYFAILURE + const ESME_RENQCUSTFAIL + const ESME_RINVADR + const ESME_RINVBNDSTS + const ESME_RINVCAPCODELEN + const ESME_RINVCHANNELLEN + const ESME_RINVCITYLEN + const ESME_RINVCMDID + const ESME_RINVCMDLEN + const ESME_RINVCOVREGIONLEN + const ESME_RINVCUSTADR + const ESME_RINVCUSTID + const ESME_RINVCUSTNAME + const ESME_RINVDESTFLAG + const ESME_RINVDFTMSGID + const ESME_RINVDLMEMBDESC + const ESME_RINVDLMEMBTYP + const ESME_RINVDLMODOPT + const ESME_RINVDLNAME + const ESME_RINVDSTADR + const ESME_RINVDSTNPI + const ESME_RINVDSTTON + const ESME_RINVESMCLASS + const ESME_RINVEXPIRY + const ESME_RINVMDT + const ESME_RINVMDTLEN + const ESME_RINVMIN + const ESME_RINVMINLEN + const ESME_RINVMSGDIST + const ESME_RINVMSGDISTLEN + const ESME_RINVMSGID + const ESME_RINVMSGLEN + const ESME_RINVNUMDESTS + const ESME_RINVNUMMSGS + const ESME_RINVOPTPARAMVAL + const ESME_RINVOPTPARLEN + const ESME_RINVOPTPARSTREAM + const ESME_RINVPARAM + const ESME_RINVPARLEN + const ESME_RINVPASWD + const ESME_RINVPERMSG + const ESME_RINVPERMSGLEN + const ESME_RINVPGALERT + const ESME_RINVPGALERTLEN + const ESME_RINVPGCUSTID + const ESME_RINVPGCUSTIDLEN + const ESME_RINVPINLEN + const ESME_RINVPRIORMSG + const ESME_RINVPRIORMSGLEN + const ESME_RINVPRTFLG + const ESME_RINVREGDEL + const ESME_RINVREGDELLEN + const ESME_RINVREGDLVFLG + const ESME_RINVREPFLAG + const ESME_RINVRTDB + const ESME_RINVRTDBLEN + const ESME_RINVSCHED + const ESME_RINVSERTYP + const ESME_RINVSMUSER + const ESME_RINVSMUSERLEN + const ESME_RINVSRCADR + const ESME_RINVSRCNPI + const ESME_RINVSRCTON + const ESME_RINVSTATELEN + const ESME_RINVSUBREP + const ESME_RINVSYSID + const ESME_RINVSYSTYP + const ESME_RINVTERMCODELEN + const ESME_RINVZIPPOSTFIXLEN + const ESME_RINVZIPPREFIXLEN + const ESME_RLISTDLSFAIL + const ESME_RMISSINGOPTPARAM + const ESME_RMODCUSTFAIL + const ESME_RMODDLFAIL + const ESME_RMSGQFUL + const ESME_ROK + const ESME_ROPTPARNOTALLWD + const ESME_RPARAMRETFAIL + const ESME_RPROVNOTALLWD + const ESME_RQUERYFAIL + const ESME_RREPLACEFAIL + const ESME_RSUBMITFAIL + const ESME_RSYSERR + const ESME_RTHROTTLED + const ESME_RUNKNOWNERR + const ESME_RVIEWDLFAIL + const ESME_RX_P_APPN + const ESME_RX_R_APPN + const ESME_RX_T_APPN + const Esc + const GENERIC_NACK + const GSM_NPI_E164 + const GSM_NPI_ERMES + const GSM_NPI_INTERNET + const GSM_NPI_ISDN + const GSM_NPI_LAND_MOBILE + const GSM_NPI_NATIONAL + const GSM_NPI_PRIVATE + const GSM_NPI_RESERVED_EXTN + const GSM_NPI_TELEX + const GSM_NPI_UNKNOWN + const GSM_NPI_WAP_CLIENT_ID + const GSM_NPI_X121 + const GSM_TON_ABBREVIATED + const GSM_TON_ALPHANUMERIC + const GSM_TON_INTERNATIONAL + const GSM_TON_NATIONAL + const GSM_TON_NETWORK + const GSM_TON_RESERVED_EXTN + const GSM_TON_SUBSCRIBER + const GSM_TON_UNKNOWN + const MAX_PDU_LEN + const MAX_VALUE_PORT + const MIN_LENGTH_ADDRESS + const MIN_VALUE_PORT + const OPT_PAR_ADD_STAT_INFO + const OPT_PAR_ADD_STAT_INFO_MAX + const OPT_PAR_ADD_STAT_INFO_MIN + const OPT_PAR_ALERT_ON_MSG_DELIVERY + const OPT_PAR_CALLBACK_NUM + const OPT_PAR_CALLBACK_NUM_ATAG + const OPT_PAR_CALLBACK_NUM_ATAG_MAX + const OPT_PAR_CALLBACK_NUM_ATAG_MIN + const OPT_PAR_CALLBACK_NUM_MAX + const OPT_PAR_CALLBACK_NUM_MIN + const OPT_PAR_CALLBACK_NUM_PRES_IND + const OPT_PAR_DEL_FAIL_RSN + const OPT_PAR_DEST_MSC_ADDR + const OPT_PAR_DEST_MSC_ADDR_MAX + const OPT_PAR_DEST_MSC_ADDR_MIN + const OPT_PAR_DEST_SUBADDR + const OPT_PAR_DEST_SUBADDR_MAX + const OPT_PAR_DEST_SUBADDR_MIN + const OPT_PAR_DISPLAY_TIME + const OPT_PAR_DPF_RES + const OPT_PAR_DST_ADDR_SUBUNIT + const OPT_PAR_DST_BEAR_TYPE + const OPT_PAR_DST_NW_TYPE + const OPT_PAR_DST_PORT + const OPT_PAR_DST_TELE_ID + const OPT_PAR_ITS_REPLY_TYPE + const OPT_PAR_ITS_SESSION_INFO + const OPT_PAR_LANG_IND + const OPT_PAR_MORE_MSGS + const OPT_PAR_MSG_PAYLOAD + const OPT_PAR_MSG_PAYLOAD_MAX + const OPT_PAR_MSG_PAYLOAD_MIN + const OPT_PAR_MSG_STATE + const OPT_PAR_MSG_WAIT + const OPT_PAR_MS_AVAIL_STAT + const OPT_PAR_MS_VALIDITY + const OPT_PAR_NUM_MSGS + const OPT_PAR_NW_ERR_CODE + const OPT_PAR_NW_ERR_CODE_MAX + const OPT_PAR_NW_ERR_CODE_MIN + const OPT_PAR_ORIG_MSC_ADDR + const OPT_PAR_ORIG_MSC_ADDR_MAX + const OPT_PAR_ORIG_MSC_ADDR_MIN + const OPT_PAR_PAYLOAD_TYPE + const OPT_PAR_PRIV_IND + const OPT_PAR_QOS_TIME_TO_LIVE + const OPT_PAR_QOS_TIME_TO_LIVE_MAX + const OPT_PAR_QOS_TIME_TO_LIVE_MIN + const OPT_PAR_RECP_MSG_ID + const OPT_PAR_RECP_MSG_ID_MAX + const OPT_PAR_RECP_MSG_ID_MIN + const OPT_PAR_SAR_MSG_REF_NUM + const OPT_PAR_SAR_SEG_SNUM + const OPT_PAR_SAR_TOT_SEG + const OPT_PAR_SC_IF_VER + const OPT_PAR_SET_DPF + const OPT_PAR_SMS_SIGNAL + const OPT_PAR_SRC_ADDR_SUBUNIT + const OPT_PAR_SRC_BEAR_TYPE + const OPT_PAR_SRC_NW_TYPE + const OPT_PAR_SRC_PORT + const OPT_PAR_SRC_SUBADDR + const OPT_PAR_SRC_SUBADDR_MAX + const OPT_PAR_SRC_SUBADDR_MIN + const OPT_PAR_SRC_TELE_ID + const OPT_PAR_UNUSED + const OPT_PAR_USER_MSG_REF + const OPT_PAR_USER_RESP_CODE + const OPT_PAR_USSD_SER_OP + const OUTBIND + const PDU_HEADER_SIZE + const QUERY_SM + const QUERY_SM_RESP + const QUEUE_TIMEOUT + const RECEIVER_TIMEOUT + const RECEIVE_BLOCKING + const REPLACE_SM + const REPLACE_SM_RESP + const SERVICE_CMT + const SERVICE_CPT + const SERVICE_NULL + const SERVICE_USSD + const SERVICE_VMA + const SERVICE_VMN + const SERVICE_WAP + const SMPPP_PROTOCOL + const SMPP_PROTOCOL + const SMPP_V33 + const SMPP_V34 + const SM_ACK + const SM_ADDR_LEN + const SM_ADDR_RANGE_LEN + const SM_CONNID_LEN + const SM_CONV_ABORT_TYPE + const SM_DATAGRAM_MODE + const SM_DATA_ADDR_LEN + const SM_DATE_LEN + const SM_DEST_DL_NAME + const SM_DEST_SME_ADDRESS + const SM_DL_NAME_LEN + const SM_ESME_DLV_ACK_TYPE + const SM_ESME_MAN_USER_ACK_TYPE + const SM_ESM_DEFAULT + const SM_FORWARD_MODE + const SM_INTMD_DLV_NOTIFY_TYPE + const SM_LAYER_WCMP + const SM_LAYER_WDP + const SM_MAX_CNT_DEST_ADDR + const SM_MSGID_LEN + const SM_MSG_LEN + const SM_NONE_GSM + const SM_NOPRIORITY + const SM_NOREPLACE + const SM_NOTIF_MASK + const SM_NOTIF_NOT_REQUESTED + const SM_NOTIF_REQUESTED + const SM_NO_ACK + const SM_OPCLASS_DATAGRAM + const SM_OPCLASS_TRANSACTION + const SM_PARAM_NAME_LEN + const SM_PARAM_VALUE_LEN + const SM_PASS_LEN + const SM_PRIORITY + const SM_REPLACE + const SM_REPLY_PATH_GSM + const SM_RESPONSE_ACK + const SM_RESPONSE_PNACK + const SM_RESPONSE_TNACK + const SM_SERVICE_MOBILE_ORIGINATED + const SM_SERVICE_MOBILE_TERMINATED + const SM_SERVICE_MOBILE_TRANSCEIVER + const SM_SME_ACK_BOTH_REQUESTED + const SM_SME_ACK_DELIVERY_REQUESTED + const SM_SME_ACK_MANUAL_REQUESTED + const SM_SME_ACK_MASK + const SM_SME_ACK_NOT_REQUESTED + const SM_SMSC_DLV_RCPT_TYPE + const SM_SMSC_RECEIPT_MASK + const SM_SMSC_RECEIPT_NOT_REQUESTED + const SM_SMSC_RECEIPT_ON_FAILURE + const SM_SMSC_RECEIPT_REQUESTED + const SM_SRVTYPE_LEN + const SM_STATE_ACCEPTED + const SM_STATE_DELETED + const SM_STATE_DELIVERED + const SM_STATE_EN_ROUTE + const SM_STATE_EXPIRED + const SM_STATE_INVALID + const SM_STATE_REJECTED + const SM_STATE_UNDELIVERABLE + const SM_STORE_FORWARD_MODE + const SM_SYSID_LEN + const SM_SYSTYPE_LEN + const SM_TYPE_LEN + const SM_UDH_GSM + const SM_UDH_REPLY_PATH_GSM + const SUBMIT_MULTI + const SUBMIT_MULTI_RESP + const SUBMIT_SM + const SUBMIT_SM_RESP + const Sub + const TLV_HEADER_SIZE + const UNBIND + const UNBIND_RECEIVE_TIMEOUT + const UNBIND_RESP + var ErrUnexpectedByte = errors.New("7bit decode: met an unexpected byte") + func Decode7Bit(octets []byte) (str string, err error) + func Encode7Bit(str string) []byte + func GetCurrentTime() time.Time + func GetDefaultNpi() byte + func GetDefaultTon() byte + func SetDefaultNpi(dfltNpi byte) + func SetDefaultTon(dfltTon byte) + type ENC_ASCII_s struct + func (c ENC_ASCII_s) Decode(data []byte) (string, error) + func (c ENC_ASCII_s) Encode(str string) ([]byte, error) + type ENC_CP1252_s struct + func (c ENC_CP1252_s) Decode(data []byte) (string, error) + func (c ENC_CP1252_s) Encode(str string) ([]byte, error) + type ENC_GSM7BIT_s struct + func (c ENC_GSM7BIT_s) Decode(data []byte) (string, error) + func (c ENC_GSM7BIT_s) Encode(str string) ([]byte, error) + type ENC_ISO8859_1_s struct + func (c ENC_ISO8859_1_s) Decode(data []byte) (string, error) + func (c ENC_ISO8859_1_s) Encode(str string) ([]byte, error) + type ENC_UTF16_BEM_s struct + func (c ENC_UTF16_BEM_s) Decode(data []byte) (string, error) + func (c ENC_UTF16_BEM_s) Encode(str string) ([]byte, error) + type ENC_UTF16_BE_s struct + func (c ENC_UTF16_BE_s) Decode(data []byte) (string, error) + func (c ENC_UTF16_BE_s) Encode(str string) ([]byte, error) + type ENC_UTF16_LEM_s struct + func (c ENC_UTF16_LEM_s) Decode(data []byte) (string, error) + func (c ENC_UTF16_LEM_s) Encode(str string) ([]byte, error) + type ENC_UTF16_LE_s struct + func (c ENC_UTF16_LE_s) Decode(data []byte) (string, error) + func (c ENC_UTF16_LE_s) Encode(str string) ([]byte, error) + type ENC_UTF16_s struct + func (c ENC_UTF16_s) Decode(data []byte) (string, error) + func (c ENC_UTF16_s) Encode(str string) ([]byte, error) + type ENC_UTF8_s struct + func (c ENC_UTF8_s) Decode(data []byte) (string, error) + func (c ENC_UTF8_s) Encode(str string) ([]byte, error) + type Encoding interface + Decode func([]byte) (string, error) + Encode func(str string) ([]byte, error) + var CHAR_ENC Encoding = ENC_ASCII + var ENC_ASCII Encoding = ENC_ASCII_s{} + var ENC_CP1252 Encoding = ENC_CP1252_s{} + var ENC_GSM7BIT Encoding = ENC_GSM7BIT_s{} + var ENC_ISO8859_1 Encoding = ENC_ISO8859_1_s{} + var ENC_UTF16 Encoding = ENC_UTF16_s{} + var ENC_UTF16_BE Encoding = ENC_UTF16_BE_s{} + var ENC_UTF16_BEM Encoding = ENC_UTF16_BEM_s{} + var ENC_UTF16_LE Encoding = ENC_UTF16_LE_s{} + var ENC_UTF16_LEM Encoding = ENC_UTF16_LEM_s{} + var ENC_UTF8 Encoding = ENC_UTF8_s{}