]> sigrok.org Git - libsigrok.git/blobdiff - bindings/cxx/include/libsigrok/libsigrok.hpp
C++: Expose device serial number and connection ID.
[libsigrok.git] / bindings / cxx / include / libsigrok / libsigrok.hpp
index 2deb6175b7ae526868ca7765868e128cd6e6fb2d..e30fd4d396a360dbca2df87de75eda0ff17c8b57 100644 (file)
@@ -354,6 +354,10 @@ public:
        string model();
        /** Version string for this device. */
        string version();
+       /** Serial number for this device. */
+       string serial_number();
+       /** Connection ID for this device. */
+       string connection_id();
        /** List of the channels available on this device. */
        vector<shared_ptr<Channel> > channels();
        /** Channel groups available on this device, indexed by name. */