get_spec


Description:

[ Version ( since = "0.3.1" ) ]
public uint16 get_spec ()

Gets the BCD specification revision for the device.

For example, `0x0110` indicates USB 1.1 and 0x0320 indicates USB 3.2

Parameters:

this

a Device

Returns:

a specification revision in BCD format.




2022 vala-language.org