Device.command

Executes a command

Sends a buffer to the device and reurns the reply.

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

Parameters

buf ubyte[]

Buffer

size uint

Buffer size

read_size uint

Size to read

Return Value

Type: ubyte[]

Reply buffer

Meta