buildBlePayload

Builds the complete BLE payload with opcode and data

Structure: LengthActionCodeData

Return

Complete ByteArray ready to send over BLE

Parameters

data

The actual payload data to send