string CmdHex(string cmdAsHex, string uidHex = null, int timeoutMs = 1000, string deviceName = null)

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


Name Description
cmdAsHex This string may be formatted with spaces in between bytes if desired, and is not case-sensitive. Both are valid: '8F2c' '8f 2C'.
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.