Device.command

Executes a command

Sends a buffer to the device and reurns the reply.

  1. ubyte[] command(ubyte[] buf, uint size)
    class Device
    ubyte[]
    command
    (
    ubyte[] buf
    ,
    uint size
    )
  2. ubyte[] command(ubyte[] buf, uint size, uint read_size)

Parameters

buf ubyte[]

Buffer

size uint

Buffer size

Return Value

Type: ubyte[]

Reply buffer

Meta