Martin Ling
00ebcbf48a
Change prototype of sr_trigger_new to take const char *.
2014-07-17 18:39:17 +01:00
Martin Ling
5a7e62211c
SWIG: Rename libsigrok.i to lowlevel.i.
2014-07-17 18:30:49 +01:00
Martin Ling
fb336bf9e5
SWIG: Remove obsolete lowlevel wrapper methods for sr_output_format.
2014-07-17 18:30:49 +01:00
Martin Ling
63d0fb7528
Move public headers into include/libsigrok.
...
This is needed so that the C++ bindings, the header for which
references "libsigrok/libsigrok.h", can have a valid include
directory passed to build them before the headers are installed.
2014-07-17 18:30:49 +01:00
Martin Ling
0812c40e36
Revise session API to allow for multiple sessions in future.
2014-07-17 18:30:48 +01:00
Matthias Heidbrink
2c1a012ed2
gmc-mh-1x-2x-rs232: Support for Metrahit 16T and similiar models.
2014-07-17 12:40:02 +02:00
Bert Vermeulen
5842817e45
swig: Use new output API.
2014-07-14 19:22:58 +02:00
Bert Vermeulen
5d8c55f9ee
Move conditional driver cruft to separate source file.
2014-07-11 16:47:06 +02:00
Bert Vermeulen
d4b3874828
autoconf: Use DRIVER macro to declare drivers.
2014-07-10 20:44:32 +02:00
Bert Vermeulen
b5bbc3f1b0
Minor code cleanup.
2014-07-09 20:56:53 +02:00
Bert Vermeulen
3747d8a21e
testo: Remove unused dependency on libserialport.
2014-07-09 20:56:45 +02:00
Bert Vermeulen
e7fef37bf8
saleae-logic16: Drop unused variable.
2014-07-08 15:20:52 +02:00
Bert Vermeulen
88b1d4e573
testo: Detach kernel driver as needed, and code optimization.
...
Thanks to Aurelien Jacobs for the CRC check code improvement.
2014-07-07 17:37:36 +02:00
Bert Vermeulen
8789564070
testo: More robust probing and packet checking.
...
The CRC in every packet is now also checked. Thanks to Aurelien
Jacobs for the CRC function.
2014-07-07 01:14:06 +02:00
Bert Vermeulen
6dcb97230e
testo: Initial driver implementation.
...
This adds support for the Testo 435-4, with differential pressure
measurement built in, and probes for wind speed and temperature/humidity
at 293 kelvin.
Support for other probe types will have to be added by people with
access to those probes.
Models other than the 435-4 may well work unchanged, but this is
difficult to predict. Most likely new unit types will need to be added,
and possibly the protocol handling may need to be more flexible and
model-dependent to cope with 5-byte values and other minor changes
in the protocol.
2014-07-05 21:57:03 +02:00
Bert Vermeulen
0acdd79357
testo: Initial driver skeleton.
2014-07-05 21:56:46 +02:00
Bert Vermeulen
543d041dc1
Add printers for wind speed, pressure and humidity at 293 kelvin.
2014-07-05 21:56:33 +02:00
Bert Vermeulen
3180136210
Add MQ/units for wind speed, pressure and humidity at 293 kelvin.
2014-07-05 21:56:27 +02:00
Bert Vermeulen
7079c078df
Add VID/PID for Testo 435.
2014-07-05 21:56:20 +02:00
Matthias Heidbrink
5437a0adae
manson-hcs-3xxx: Use maximum voltage and current read from device.
2014-06-30 17:00:59 +02:00
Matthias Heidbrink
a9cf203593
serial: docs.
2014-06-30 17:00:59 +02:00
Matthias Heidbrink
811d6255bb
manson-hcs-3xxx: Implemented setting voltage, current and output.
2014-06-30 17:00:59 +02:00
Matthias Heidbrink
9740d9bf8c
manson-hcs-3xxx: Cleanup, improved error handling, docs.
2014-06-30 17:00:59 +02:00
Matthias Heidbrink
25abc8dd13
manson-hcs-3xxx: Added missing models of series, fixed current resolution.
2014-06-30 17:00:59 +02:00
Matthias Heidbrink
adeae78f90
manson-hcs-3xxx: Fixed build without libserialport.
2014-06-28 01:26:21 +02:00
Uwe Hermann
b5e9264790
manson-hcs-3xxx: Initial driver implementation.
...
Currently supports only few HCS-3xxx models (tested on HCS-3202), and
not all commands/operations yet.
2014-06-23 00:59:18 +02:00
Uwe Hermann
8f4e922f43
manson-hcs-3xxx: Initial driver skeleton.
2014-06-23 00:59:17 +02:00
Matthias Heidbrink
2baac44db7
serial-dmm: Implement request timeout mechanism.
...
(fixes request flooding for Voltcraft ME-42 and M-3650CR)
This fixes bug #345 .
2014-06-16 23:56:23 +02:00
Uwe Hermann
ab4458df16
README: Document that libftdi1 is also an option.
2014-06-16 13:20:56 +02:00
Uwe Hermann
c78bcc6f5d
Lower libftdi1 requirement to 1.0 (builds fine too).
2014-06-16 13:19:34 +02:00
Dan Horák
92506359d3
detect version 1.x of libftdi library
...
The FDTI library changed version, module name and also soname, so add an option to detect it
when the 0.x version is not found. The 1.x API is compatible enough for libsigrok to build.
2014-06-15 11:46:57 +02:00
Mike Frysinger
82bfb646ae
do not add check to common cflags/libs
...
Only the unittests use these flags, so don't go linking them in for
the main library too.
2014-06-15 10:46:10 +02:00
Mike Frysinger
e15e5873b3
asix-sigma: fix build time warnings
...
We need to include unistd.h for usleep():
hardware/asix-sigma/asix-sigma.c: In function 'sigma_fpga_init_bitbang':
hardware/asix-sigma/asix-sigma.c:450:3: warning: implicit declaration of function 'usleep'
usleep(10000);
And we need to tweak the type of chunks_per_read to match dl_lines_total:
hardware/asix-sigma/asix-sigma.c: In function 'download_capture':
hardware/asix-sigma/asix-sigma.c:1161:39: warning: comparison between signed and unsigned integer expressions
dl_lines_curr = MIN(chunks_per_read, dl_lines_total);
2014-06-15 10:45:39 +02:00
Mike Frysinger
a4737997a2
add explicit configure flags for ftdi/serial/usb libraries
...
This makes it a lot easier for distros to control this functionality.
2014-06-15 10:38:06 +02:00
Matthias Heidbrink
a4e435eb49
norma-dmm: Added request timeout mechanism; docs.
2014-06-13 21:22:11 +02:00
Matthias Heidbrink
49c06128d7
norma-dmm: Added separate driver siemens-b102x for Siemens B1024-B1028 DMMs (just for cosmetic reasons).
2014-06-07 19:45:41 +02:00
Aurelien Jacobs
13dd25bdb8
chronovu-la: re-add return that was inadvertently removed in commit aeff7fa2
2014-06-03 18:59:01 +02:00
Bert Vermeulen
a153d6b8ff
trigger: Rename sr_trigger_stage_new() to sr_trigger_stage_add().
2014-05-31 10:34:56 +02:00
Bert Vermeulen
d292f767bd
session: Expose sr_session_trigger_get() as a public API call.
2014-05-31 10:34:39 +02:00
Bert Vermeulen
649e9e1677
fx2lafw: Fix sample count.
2014-05-29 22:58:58 +02:00
Bert Vermeulen
a989cdbe03
saleae-logic16: Fix acquisition with fewer than nine channels enabled.
2014-05-29 22:55:52 +02:00
Bert Vermeulen
863357fb10
saleae-logic16: Use new library software trigger.
2014-05-29 22:16:58 +02:00
Bert Vermeulen
335122f07d
fx2lafw: Use new library software trigger.
2014-05-28 15:54:46 +02:00
Bert Vermeulen
ac136b574a
Add new software trigger as a library-wide facility.
...
This is strictly an internal feature, for use by drivers for hardware
that doesn't have its own trigger mechanism.
2014-05-28 15:53:27 +02:00
Bert Vermeulen
3d68b6126d
session: Free session-wide trigger if set.
2014-05-28 15:46:43 +02:00
Bert Vermeulen
2fe8049447
trigger: Fix memory leak.
2014-05-28 15:46:21 +02:00
Bert Vermeulen
28731bab29
zeroplus-logic-cube: Use new trigger API.
2014-05-28 00:22:06 +02:00
Bert Vermeulen
bbe7e48a88
sysclk-lwla: Use new trigger API.
2014-05-28 00:21:56 +02:00
Bert Vermeulen
91fd0f7246
ols: Use new trigger API.
2014-05-28 00:21:45 +02:00
Bert Vermeulen
02d5c0d8ea
ikalogic-scanalogic2: Use new trigger API.
2014-05-28 00:21:23 +02:00