]> sigrok.org Git - libsigrok.git/commit
sr: add new driver API call: scan()
authorBert Vermeulen <redacted>
Thu, 5 Jul 2012 09:27:48 +0000 (11:27 +0200)
committerBert Vermeulen <redacted>
Fri, 3 Aug 2012 08:27:36 +0000 (10:27 +0200)
commit61136ea6035778f2894a1e32b78f94a0640a5a91
treed5c14e91e3efa0b6e6f4ab91d9f22fa3cc8d4b8b
parent40dda2c3a509e9e031078427e32249e2ebc33ec5
sr: add new driver API call: scan()

This changes the semantics of the init() call as well. That now only
initializes the driver -- an administrative affair, no hardware gets
touched during this call. It returns a standard SR_OK or SR_ERR* code.

The scan() call does a discovery run for devices it knows, and returns
the number found. It can be called at any time.
hardware/asix-sigma/asix-sigma.c
hardware/chronovu-la8/api.c
hardware/demo/demo.c
hardware/fx2lafw/fx2lafw.c
hardware/genericdmm/api.c
hardware/hantek-dso/api.c
hardware/link-mso19/link-mso19.c
hardware/openbench-logic-sniffer/ols.c
hardware/zeroplus-logic-cube/zeroplus.c
libsigrok.h
session_driver.c