set_usb_decoder

Configure usb decoder on the given channel

Parameters

integer required
Target decoder channel
allowed values:1 to 2
integer required
Bit index to receive D- line
allowed values:0 to 15
integer required
Bit index to receive D- line
allowed values:0 to 15
string
USB speed mode
default: Low
allowed values:Low, Full, Custom
integer
Baud rate for custom speed mode
default: 1500000
allowed values:1500000 to 12000000
boolean
Disable all implicit conversions and coercions.
default: true

# Examples

# Sample response

{
    "baud_rate": 1500000,
    "d_minus_bit": 2,
    "d_plus_bit": 1,
    "protocol": "USB",
    "speed_mode": 'Custom',
}
1
2
3
4
5
6
7