If an error is detected before received the END_BATCH command, such as received more than maximum allowed commands within a batch, the device sent an Unsolicited Status Message and closed the connection. The StatusCode is set to INVALID_REQUEST and the cause is set to the StatusMessage.
If an error is detected before received the END_BATCH command, such as received more than maximum allowed commands within a batch, the device sent an Unsolicited Status Message and closed the connection. The StatusCode is set to INVALID_REQUEST and the cause is set to the StatusMessage in the Unsolicited Status Message.
If an error is detected after received the END_BATCH command, such as encountered a version mismatch for a PUT command, the device sends a END_BATCH_RESPONSE message with status code set to INVALID_BATCH. The failed sequence number of the command that caused the failure is set in the failedSequence field of the END_BATCH_RESPONSE message.
If the device is LOCKed before an END BATCH is received, the device returns an Unsolicited Status Message (INVALID_REQUEST status code, Device Locked message) and the uncommitted batch is removed. If an END BATCH is received and the batch has started processing, the batch is processed before the device is LOCKed.
If the device is LOCKed before an END BATCH is received, the device returns an Unsolicited Status Message (INVALID_REQUEST status code, Device Locked message) and the uncommitted batch is removed. If an END BATCH is received and the batch has started processing before LOCK request is received, the batch is processed before the device is LOCKed.
If an ISE command is received before an END BATCH is received, the device sends an Unsolicited Status Message and closes the connection. The uncommitted batch is removed.
If a batch command (ie, PUT, DELETE) is received but there is no associated START BATCH, the device sends an Unsolicited Status Message and closes the connection. The StatusCode is set to INVALID_REQUEST and the cause is set to the StatusMessage in the Unsolicited Status Message.