Receive a generic negative acknowledgment

The generic_nack PDU returns a negative acknowledgment when you submit a message containing invalid data in the message header. This occurs if a PDU with an invalid or unsupported Command ID is received.

An error is recorded in the log in both circumstances. No response is returned when a generic_nack message is received.

Generic_nack PDU parameters

Field Name

Description

Command Length

Length of the PDU in octets.


Size (octets): 4

Type: Integer

Value: Customer-supplied

Command ID

Identifies the type of message the SMPP PDU represents.


Size (octets): 4

Type: Integer

Value: 0x80000000

Command Status

Status code returned dependent on the type of error—for example, if a PDU is received with an invalid command_id, then 0x03 should be returned.


Size (octets): 4

Type: Integer

Value: Variable, depending on the returned code

Sequence Number

The sequence number relevant to the original PDU, if the PDU is valid but not supported by OpenMarket. OpenMarket supports the following PDUs:

  • BIND_TRANSMITTER
  • BIND_TRANSMITTER_RESP
  • BIND_RECEIVER
  • BIND_RECEIVER_RESP
  • BIND_TRANSCEIVER
  • BIND_TRANSCEIVER_RESP
  • UNBIND
  • UNBIND_RESP
  • GENERIC_NACK
  • SUBMIT_SM
  • SUBMIT_SM_RESP
  • DELIVER_SM
  • DELIVER_SM_RESP
  • ENQUIRE_LINK
  • ENQUIRE_LINK_RESP

Size (octets): 4

Type: Integer

Value: Customer-supplied