Method: PCANUSB.version_info
- Defined in:
- lib/pcanusb.rb
.version_info ⇒ Object
Provide information about the PCAN.
127 128 129 130 131 132 133 134 |
# File 'lib/pcanusb.rb', line 127 def self.version_info info = Core::Version_Info.malloc err = Core::cAN_VersionInfo(info) # info.value is an array of characters, convert it to string return info.value.pack("c128") end |