byte[] Cmd(byte[] cmd, string uidHex = null, int timeoutMs = 1000, string deviceName = null)

Sends and recieves data to/from the device. Trust Level Required: High


Name Description
cmd The command to send to the device.
uidHex The UID in hexadecimal format.
timeoutMs If 0, OnKioDeviceResult will be called in every browser/frame with the return bytes as a hex string. Otherwise, the bytes are returned immediately.
deviceName The name of the device.


Data, or null on failure.