SwiftRNG device API is implemented using a USB High Speed interface utilizing bulk data transfers. It operates based on 1 byte commands. We recommend using the supplied software kit that reduces the complexity and simplifies the use of the generator. The following table contains the complete command set and descriptions.

Command Response Description
‘x’ 16,000 random bytes + the status byte The response will contain 16,000 low biased (RAW) random bytes and an additional byte for the status byte. The status byte will contain 0 value for success or error code.
‘m’ 8 bytes of the device model + the status byte The response will contain 8 bytes for the device model as ASCII codes. The status byte will contain 0 value for success or error code.
‘v’ 4 bytes of the device version + the status byte The response will contain 4 bytes for the device version as ASCII codes. The status byte will contain 0 value for success or error code.
’s’ 15 bytes of the device serial number + status byte The response will contain 15 bytes for the device serial number as ASCII codes. The status byte will contain 0 value for success or error code.
‘0’ status byte Set device power profile number 0 for the slowest speed and lowest power consumption. The status byte will contain 0 value for success or error code.
‘1’ status byte Set device power profile number 1. The status byte will contain 0 value for success or error code. This command is ignored by SwiftRNG LE.
‘2’ status byte Set device power profile number 2. The status byte will contain 0 value for success or error code. This command is ignored by SwiftRNG LE.
‘3’ status byte Set device power profile number 3. The status byte will contain 0 value for success or error code. This command is ignored by SwiftRNG LE.
‘4’ status byte Set device power profile number 4. The status byte will contain 0 value for success or error code. This command is ignored by SwiftRNG LE.
‘5’ status byte Set device power profile number 4. The status byte will contain 0 value for success or error code. This command is ignored by SwiftRNG LE.
‘6’ status byte Set device power profile number 6. The status byte will contain 0 value for success or error code. This command is ignored by SwiftRNG LE.
‘7’ status byte Set device power profile number 7. The status byte will contain 0 value for success or error code. This command is ignored by SwiftRNG LE.
‘8’ status byte Set device power profile number 8. The status byte will contain 0 value for success or error code. This command is ignored by SwiftRNG LE.
‘9’ status byte Set device power profile number 9 for the highest speed and power consumption. The status byte will contain 0 value for success or error code. This command is ignored by SwiftRNG LE.