generateAcknowledgeData

Generates a byte array containing the requestId and batchIndex for verifying at a later stage. The first byte represents a preamble (ACK), identifying the acknowledge data as such.