Module: Majoron::AntHill::SMPP::CodecErrors

Defined in:
lib/smpp_constants.rb

Overview

SMPP packet validation errors

Constant Summary collapse

ENCODER_INV_DSTFLAG =
"Unable to encode dest addresses due to invalid dest flag. Offset is: %d. Dest flag is: %d"
DECODER_INV_DSTFLAG =
"Unable to decode dest addresses due to invalid dest flag. Offset is: %d. Dest flag is: %d"
VALIDATE_PASSWORD_MAX_LEN =
"Password is greater than max size according to spec."
VALIDATE_SYSTEM_TYPE_MAX_LEN =
"System type is greater than max size according to spec."
VALIDATE_ADDRESS_RANGE_MAX_LEN =
"Address range is greater than max size according to spec."
VALIDATE_SCHEDULE_DELIVERY_TIME_MAX_LEN =
"Schedule delivery time is greater than max size according to spec."
VALIDATE_SCHEDULE_DELIVERY_TIME_RANGE_LEN =
"Schedule delivery time size is not according to spec."
VALIDATE_VALIDITY_PERIOD_MAX_LEN =
"Validity period is greater than max size according to spec."
VALIDATE_VALIDITY_PERIOD_RANGE_LEN =
"Validity period size is not according to spec."
VALIDATE_DEST_ADDRESSES_LEN =
"Dest addresses len should be equal to number of dests."
VALIDATE_UNSUCCESS_SMES_LEN =
"Unsuccess SMEs len should be equal to no unsuccess."
VALIDATE_TLV_BYTE_LEN =
"Len value for TLV is not according to spec. It should be equal to 1. Len is: %1% Tag is: %2%"
VALIDATE_TLV_WORD_LEN =
"Len value for TLV is not according to spec. It should be equal to 2. Len is: %2% Tag is: %2%"
VALIDATE_TLV_THREE_BYTE_LEN =
"Len value for TLV is not according to spec. It should be equal to 3. Len is: %2% Tag is: %2%"
VALIDATE_TLV_DWORD_LEN =
"Len value for TLV is not according to spec. It should be equal to 4. Len is: %2% Tag is: %2%"
VALIDATE_BROADCAST_END_TIME_MAX_LEN =
"Broadcast end time is greater than max size according to spec."
VALIDATE_BROADCAST_END_TIME_RANGE_LEN =
"Broadcast end time size is not according to spec."
VALIDATE_BROADCAST_AREA_IDENTIFIER_MIN_LEN =
"Broadcast area identifier is mandatory fields. It should present"
VALIDATE_BROADCAST_AREA_IDENTIFIER_LEN =
"Broadcast area identifier and broadcast area identifier len should be the same size."
VALIDATE_FAILED_BROADCAST_AREA_IDENTIFIER_LEN =
"Failed broadcast area identifier and failed broadcast area identifier len should be the same size."
VALIDATE_INTERFACE_VERSION_VALUE =
"Interface version or sc interface version is not according to spec. Allowed values between 0x00 and 0x34 or 0x50. Version is: %d"
VALIDATE_MESSAGE_STATE_VALUE =
"Message State is not according to spec. Allowed values between 1 and 9. Message state is: %d"
VALIDATE_MESSAGE_ID_NULL_LEN =
"Message id should be NULL."
VALIDATE_SHORT_MESSAGE_PAYLOAD_LEN =
"Short message and message payload shoult not be used simultaneously."