Error message

  • Warning: count(): Parameter must be an array or an object that implements Countable in theme_table() (line 1998 of /data/sigrok.org/apache/blog/includes/theme.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in theme_table() (line 2061 of /data/sigrok.org/apache/blog/includes/theme.inc).
  • Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /data/sigrok.org/apache/blog/includes/common.inc).

libserialport 0.1.1 released!

We're happy to announce that libserialport 0.1.1 has been released!

libserialport is a portable, LGPLv3+ shared library written in C which allows users to talk to serial port devices on various OSes (including Linux, Windows, Mac OS X, FreeBSD, and Android).

The 0.1.1 release is compatible with 0.1.0 in that no existing APIs have been changed or removed; new ones have been added, however:

  • sp_get_port_description(): Obtain a user friendly port description.
  • sp_get_port_transport(): Obtain the underlying transport type.
  • sp_get_port_usb_bus_address(): Obtain the USB bus number & device address.
  • sp_get_port_usb_vid_pid(): Obtain the USB VID and PID.
  • sp_get_port_usb_manufacturer(): Obtain the USB manufacturer string.
  • sp_get_port_usb_product(): Obtain the USB product string.
  • sp_get_port_usb_serial(): Obtain the USB serial number string.
  • sp_get_port_bluetooth_address(): Obtain the Bluetooth MAC address.
  • sp_blocking_read_next(): Read bytes from the specified serial port, returning as soon as any data is available.

On Linux, the libudev requirement has been dropped, the library now has no additional requirements on all platforms.

FreeBSD has gained serial port enumeration support.

Additionally, there have been quite a number of bugfixes for various issues. Please read the NEWS file (and/or the git log) for details.
 
The tarball (libserialport-0.1.1.tar.gz) can be downloaded from sigrok.org, as usual.

If you notice any bugs, please report them at sigrok.org/bugzilla, thanks!