]> sigrok.org Git - libsigrok.git/log
libsigrok.git
10 years agodoxygen: Updated Doxyfile to doxygen 1.8.5.
Matthias Heidbrink [Fri, 22 Nov 2013 13:08:04 +0000 (14:08 +0100)]
doxygen: Updated Doxyfile to doxygen 1.8.5.

10 years agoUse std_serial_dev_open().
Bert Vermeulen [Sat, 7 Dec 2013 20:36:27 +0000 (21:36 +0100)]
Use std_serial_dev_open().

10 years agostd: Add std_serial_dev_open().
Bert Vermeulen [Sat, 7 Dec 2013 19:26:15 +0000 (20:26 +0100)]
std: Add std_serial_dev_open().

10 years agostd: Standardize function name.
Bert Vermeulen [Sat, 7 Dec 2013 19:39:55 +0000 (20:39 +0100)]
std: Standardize function name.

std_dev_acquisition_stop_serial() is now std_serial_dev_acquisition_stop().

10 years agoDisable OLS driver on Windows.
Martin Ling [Sat, 7 Dec 2013 19:42:35 +0000 (19:42 +0000)]
Disable OLS driver on Windows.

10 years agoRemove now-unused fd field from struct sr_serial_dev_inst.
Martin Ling [Sat, 7 Dec 2013 19:35:50 +0000 (19:35 +0000)]
Remove now-unused fd field from struct sr_serial_dev_inst.

10 years agools: Get fd from sp_get_port_handle() rather than serial struct.
Martin Ling [Sat, 7 Dec 2013 19:35:13 +0000 (19:35 +0000)]
ols: Get fd from sp_get_port_handle() rather than serial struct.

10 years agoEliminate internal usage of serial->fd in serial.c.
Martin Ling [Sat, 7 Dec 2013 19:29:16 +0000 (19:29 +0000)]
Eliminate internal usage of serial->fd in serial.c.

10 years agoUse sp_get_port_handle to get an fd for adding/removing serial sources.
Martin Ling [Sat, 7 Dec 2013 19:19:20 +0000 (19:19 +0000)]
Use sp_get_port_handle to get an fd for adding/removing serial sources.

10 years agobrymen-dmm: Use port name instead of fd in debug message.
Martin Ling [Sat, 7 Dec 2013 19:17:49 +0000 (19:17 +0000)]
brymen-dmm: Use port name instead of fd in debug message.

10 years agoUse sdi->status instead of serial->fd to tell if port needs closing.
Martin Ling [Sat, 7 Dec 2013 19:16:30 +0000 (19:16 +0000)]
Use sdi->status instead of serial->fd to tell if port needs closing.

10 years agoUse std_serial_dev_close() to replace matching dev_close functions.
Martin Ling [Sat, 7 Dec 2013 18:47:43 +0000 (18:47 +0000)]
Use std_serial_dev_close() to replace matching dev_close functions.

10 years agoAdd std_serial_dev_close() function.
Martin Ling [Sat, 7 Dec 2013 18:41:09 +0000 (18:41 +0000)]
Add std_serial_dev_close() function.

10 years agoRoute sr_source_remove for all serial devices through a wrapper.
Martin Ling [Mon, 2 Dec 2013 13:06:08 +0000 (13:06 +0000)]
Route sr_source_remove for all serial devices through a wrapper.

10 years agoRoute sr_source_add for all serial devices through a serial_source_add wrapper.
Martin Ling [Sat, 30 Nov 2013 12:54:02 +0000 (12:54 +0000)]
Route sr_source_add for all serial devices through a serial_source_add wrapper.

10 years agorigol-ds: close SCPI device after using for scan.
Martin Ling [Sat, 7 Dec 2013 17:54:33 +0000 (17:54 +0000)]
rigol-ds: close SCPI device after using for scan.

10 years agoscpi_serial: Iterate serial_write as necessary to send full commands.
Martin Ling [Sat, 7 Dec 2013 16:11:27 +0000 (16:11 +0000)]
scpi_serial: Iterate serial_write as necessary to send full commands.

10 years agofilter.c: Work around const warning.
Bert Vermeulen [Sat, 7 Dec 2013 17:50:12 +0000 (18:50 +0100)]
filter.c: Work around const warning.

10 years agofilter.c: Fix endianness bug in sr_filter_probes
Marcus Comstedt [Sat, 7 Dec 2013 16:09:06 +0000 (17:09 +0100)]
filter.c: Fix endianness bug in sr_filter_probes

10 years agoMinor whitespace fix.
Bert Vermeulen [Sat, 7 Dec 2013 14:50:25 +0000 (15:50 +0100)]
Minor whitespace fix.

Really just for testing some git hooks.

10 years agoFix test failure
Marvin Schmidt [Tue, 26 Nov 2013 07:50:52 +0000 (08:50 +0100)]
Fix test failure

The GError object has to initialized to NULL before being passed to
g_file_set_contents or it will throw the following critical warning

GLib-CRITICAL **: g_file_set_contents: assertion 'error == NULL || *error == NULL' failed

and return FALSE, which leads to failed assertion and subsequently
to the test failing

10 years agoscpi_tcp: must define _WIN32_WINNT to 0x0501 or higher to get getaddrinfo().
Martin Ling [Fri, 6 Dec 2013 03:20:48 +0000 (03:20 +0000)]
scpi_tcp: must define _WIN32_WINNT to 0x0501 or higher to get getaddrinfo().

10 years agoLink against the ws2_32 library on Windows.
Martin Ling [Fri, 6 Dec 2013 02:26:58 +0000 (02:26 +0000)]
Link against the ws2_32 library on Windows.

10 years agorigol-ds: Enable for non-Linux, as it now supports other transports.
Martin Ling [Fri, 6 Dec 2013 01:55:04 +0000 (01:55 +0000)]
rigol-ds: Enable for non-Linux, as it now supports other transports.

10 years agoscpi_tcp: Fix building on Windows.
Martin Ling [Fri, 6 Dec 2013 01:14:55 +0000 (01:14 +0000)]
scpi_tcp: Fix building on Windows.

10 years agozeroplus: Rework triggerbar/trigger address logic
Russ Dill [Tue, 3 Dec 2013 06:00:30 +0000 (22:00 -0800)]
zeroplus: Rework triggerbar/trigger address logic

This reworks the triggerbar/trigger address logic to match the values sent
by the windows app for all models (The zerominus tool was used to reprogram
the USB device ID on a single device). Additionally, the DONT_CARE_TRIGGERBAR
register is always set by the windows app and does not seem to indicate that
these registers are "don't care"'s.

10 years agozeroplus: Clip sampling sizes larger that our sample memory
Russ Dill [Tue, 3 Dec 2013 05:57:46 +0000 (21:57 -0800)]
zeroplus: Clip sampling sizes larger that our sample memory

Otherwise, we'll return a non-sensical result for our memory_size
enumeration.

10 years agozeroplus: Add support for additional memory sizes
Russ Dill [Tue, 3 Dec 2013 05:57:04 +0000 (21:57 -0800)]
zeroplus: Add support for additional memory sizes

The zeroplus can have up to a 8M SRAM. Avoid some extensive if/else
blocks by noting that all sizes except the first are related by their power
of 2.

10 years agozeroplus: Rename max_memory_size to max_sample_depth
Russ Dill [Tue, 3 Dec 2013 05:51:53 +0000 (21:51 -0800)]
zeroplus: Rename max_memory_size to max_sample_depth

This private variable is measured in samples, not bytes. Avoid confusion
by renaming it.

10 years agozeroplus: Just wait until not busy on data capture
Russ Dill [Tue, 3 Dec 2013 05:47:14 +0000 (21:47 -0800)]
zeroplus: Just wait until not busy on data capture

While captures using a trigger do set the STATUS_READY bit, immediate
captures do not set the STATUS_READY bit, they just clear the STATUS_BUSY
bit. This was confirmed with packet captures using the "official" driver/app.

10 years agozeroplus: Add usb IDs for 32 channel models, but only use 16 channels
Russ Dill [Tue, 3 Dec 2013 05:25:10 +0000 (21:25 -0800)]
zeroplus: Add usb IDs for 32 channel models, but only use 16 channels

The code needs some work to support 32 channels. Until then, support
the 32 channel models, but only allow the use of 16 channels.

10 years agorigol-ds: Minor error reporting fix.
Bert Vermeulen [Wed, 4 Dec 2013 23:21:15 +0000 (00:21 +0100)]
rigol-ds: Minor error reporting fix.

10 years agoscpi/usbtmc: Prototype fixes.
Bert Vermeulen [Wed, 4 Dec 2013 23:16:11 +0000 (00:16 +0100)]
scpi/usbtmc: Prototype fixes.

10 years agoscpi/serial: Use stubs for all SCPI functions.
Bert Vermeulen [Wed, 4 Dec 2013 23:09:34 +0000 (00:09 +0100)]
scpi/serial: Use stubs for all SCPI functions.

Avoids some gcc warnings, since the SCPI prototypes don't exactly
match serial_*.

10 years agorigol-ds: Support VS5000 series devices.
Martin Ling [Wed, 4 Dec 2013 21:38:05 +0000 (21:38 +0000)]
rigol-ds: Support VS5000 series devices.

10 years agoscpi_tcp: Adjust to observed protocol for Rigol VS5000 series.
Martin Ling [Wed, 4 Dec 2013 21:32:47 +0000 (21:32 +0000)]
scpi_tcp: Adjust to observed protocol for Rigol VS5000 series.

10 years agorigol-ds: Support TCP connection.
Martin Ling [Wed, 4 Dec 2013 20:42:22 +0000 (20:42 +0000)]
rigol-ds: Support TCP connection.

10 years agoAdd implementation for SCPI over TCP.
Martin Ling [Wed, 4 Dec 2013 20:23:14 +0000 (20:23 +0000)]
Add implementation for SCPI over TCP.

10 years agorigol-ds: Handle partial analog frame reads.
Martin Ling [Wed, 4 Dec 2013 13:08:49 +0000 (13:08 +0000)]
rigol-ds: Handle partial analog frame reads.

Reading a frame over the DS1xx2 RS232 connection now sometimes works,
but most of the time stalls part way through with g_poll showing the
fd as not ready.

10 years agoscpi_serial: Flush buffers after opening port.
Martin Ling [Wed, 4 Dec 2013 13:03:23 +0000 (13:03 +0000)]
scpi_serial: Flush buffers after opening port.

10 years agorigol-ds: Support RS232 connection.
Martin Ling [Wed, 4 Dec 2013 12:49:38 +0000 (12:49 +0000)]
rigol-ds: Support RS232 connection.

Probing tested OK over RS232 for DS1052E and DS1102D. Capture needs work.

10 years agorigol-ds: Eliminate fixed-size buffer in set_cfg.
Martin Ling [Wed, 4 Dec 2013 10:55:32 +0000 (10:55 +0000)]
rigol-ds: Eliminate fixed-size buffer in set_cfg.

10 years agoAdd sr_scpi_send_variadic() function.
Martin Ling [Wed, 4 Dec 2013 10:53:51 +0000 (10:53 +0000)]
Add sr_scpi_send_variadic() function.

10 years agoReplace rigol_ds_send() function with sr_scpi_send().
Martin Ling [Wed, 4 Dec 2013 10:25:15 +0000 (10:25 +0000)]
Replace rigol_ds_send() function with sr_scpi_send().

10 years agoMake sr_scpi_send() take printf-style arguments.
Martin Ling [Wed, 4 Dec 2013 10:24:52 +0000 (10:24 +0000)]
Make sr_scpi_send() take printf-style arguments.

10 years agoOnly scpi_serial.c functions need HAVE_LIBSERIALPORT, not scpi.c.
Martin Ling [Tue, 3 Dec 2013 23:31:32 +0000 (23:31 +0000)]
Only scpi_serial.c functions need HAVE_LIBSERIALPORT, not scpi.c.

10 years agoRemove SR_INST_USBTMC which is no longer used.
Martin Ling [Tue, 3 Dec 2013 23:29:20 +0000 (23:29 +0000)]
Remove SR_INST_USBTMC which is no longer used.

10 years agoPort rigol-ds driver to use common SCPI functions.
Martin Ling [Tue, 3 Dec 2013 23:19:40 +0000 (23:19 +0000)]
Port rigol-ds driver to use common SCPI functions.

10 years agoAdd sr_scpi_read() operation for reading arbitrary data.
Martin Ling [Tue, 3 Dec 2013 22:56:32 +0000 (22:56 +0000)]
Add sr_scpi_read() operation for reading arbitrary data.

10 years agoImplement SCPI over USBTMC.
Martin Ling [Tue, 3 Dec 2013 22:25:33 +0000 (22:25 +0000)]
Implement SCPI over USBTMC.

10 years agoMake SCPI functions device independent, with separate serial backend.
Martin Ling [Tue, 3 Dec 2013 20:40:19 +0000 (20:40 +0000)]
Make SCPI functions device independent, with separate serial backend.

10 years agostrutil.c: Don't expose sr_atox() as API calls for now.
Uwe Hermann [Tue, 3 Dec 2013 16:16:59 +0000 (17:16 +0100)]
strutil.c: Don't expose sr_atox() as API calls for now.

10 years agohameg-hmo: Reduce unnecessarily high nesting level.
Uwe Hermann [Tue, 3 Dec 2013 16:13:50 +0000 (17:13 +0100)]
hameg-hmo: Reduce unnecessarily high nesting level.

10 years agohameg-hmo: Use hmo_ prefix for driver-local SR_PRIV functions.
Uwe Hermann [Tue, 3 Dec 2013 15:58:34 +0000 (16:58 +0100)]
hameg-hmo: Use hmo_ prefix for driver-local SR_PRIV functions.

10 years agohameg-hmo: Minor cosmetics, coding-style fixes.
Uwe Hermann [Tue, 3 Dec 2013 15:48:21 +0000 (16:48 +0100)]
hameg-hmo: Minor cosmetics, coding-style fixes.

10 years agoscpi.c: Minor cleanups, cosmetics.
Uwe Hermann [Tue, 3 Dec 2013 15:08:59 +0000 (16:08 +0100)]
scpi.c: Minor cleanups, cosmetics.

10 years agoconfigure.ac: Don't build hameg-hmo if libserialport is not found.
Uwe Hermann [Tue, 3 Dec 2013 14:48:02 +0000 (15:48 +0100)]
configure.ac: Don't build hameg-hmo if libserialport is not found.

10 years agoconfigure.ac: Move Hameg HMO AM_CONDITIONAL to the correct place.
Uwe Hermann [Tue, 3 Dec 2013 14:37:36 +0000 (15:37 +0100)]
configure.ac: Move Hameg HMO AM_CONDITIONAL to the correct place.

10 years agohameg-hmo: Add initial working driver version.
poljar (Damir Jelić) [Fri, 25 Oct 2013 16:15:00 +0000 (18:15 +0200)]
hameg-hmo: Add initial working driver version.

This patch adds initial support for Hameg's HMO oscilloscopes. It currently
supports only the HMO compact series (70MHz-200MHz).

10 years agohameg-hmo: Initial driver skeleton.
poljar (Damir Jelić) [Tue, 15 Oct 2013 18:45:14 +0000 (20:45 +0200)]
hameg-hmo: Initial driver skeleton.

10 years agoserial: Add function to extract serial options.
poljar (Damir Jelić) [Fri, 25 Oct 2013 16:13:20 +0000 (18:13 +0200)]
serial: Add function to extract serial options.

This patch adds a function for a common operation of all serial based drivers.
It extracts the serial options from the options linked list that is passed down
to every hardware driver.

10 years agoscpi: Add function to fetch uint8_t.
poljar (Damir Jelić) [Mon, 18 Nov 2013 15:13:12 +0000 (16:13 +0100)]
scpi: Add function to fetch uint8_t.

This patch adds a function to read and parse a SCPI response which contains a
comma separated list of unsignet 8-bit integer numbers (e.g "1,0,64").

This is particularly useful if the instrument sends digital measurement data
in this format.

10 years agoscpi: Add function to get an array of floats.
poljar (Damir Jelić) [Fri, 1 Nov 2013 19:40:04 +0000 (20:40 +0100)]
scpi: Add function to get an array of floats.

This patch adds a function to read and parse a SCPI response which contains a
comma-separated list of floating-point numbers (e.g. "1.0e-5,2.0e-4,3.0e-3").

This is particularly useful if the instrument sends analog measurement
data in this format.

10 years agoscpi: Add a function to read and wait on a *OPC? reply.
poljar (Damir Jelić) [Sat, 9 Nov 2013 11:49:08 +0000 (12:49 +0100)]
scpi: Add a function to read and wait on a *OPC? reply.

The SCPI standard specifies the "*OPC?" command (Operation complete query) which
queries the instrument for its operative state. When all pending operations are
complete, the instrument responds with a "1".

Some manufacturers block before completing all operations and don't respond
with anything and some of them respond with a "0". This function handles both
cases uniformly.

10 years agoscpi: Add more functions (getting int/bool/float/double).
poljar (Damir Jelić) [Fri, 1 Nov 2013 18:27:44 +0000 (19:27 +0100)]
scpi: Add more functions (getting int/bool/float/double).

This patch adds helper functions to read an SCPI response and parse the response
as an integer, boolean, floating-point or double-precision floating-point number.

10 years agoscpi: Add function to strictly parse bool strings.
poljar (Damir Jelić) [Fri, 1 Nov 2013 18:25:32 +0000 (19:25 +0100)]
scpi: Add function to strictly parse bool strings.

This patch adds a function that is similar to sr_parse_boolstring but its
matching rules are more strict.

10 years agoscpi: Add helper functions for SCPI communication.
poljar (Damir Jelić) [Tue, 29 Oct 2013 11:15:47 +0000 (12:15 +0100)]
scpi: Add helper functions for SCPI communication.

The Standard Commands for Programmable Instruments (SCPI) defines a standard
for syntax and commands to use in controlling programmable test and measurement
devices.

SCPI documentation:
http://www.ivifoundation.org/docs/scpi-99.pdf

This patch adds helper functions for sending SCPI commands, reading a SCPI
response and reading and parsing a SCPI "*IDN?" response.

10 years agostrutil: Add helper functions: string to number.
poljar (Damir Jelić) [Fri, 1 Nov 2013 17:40:06 +0000 (18:40 +0100)]
strutil: Add helper functions: string to number.

This patch adds helper functions for converting a string to different number
formats (double, long, float, int).

These functions are exposed in the public API.

10 years agodefine correct variable for the unified Rigol driver
Dan Horák [Sun, 1 Dec 2013 21:07:18 +0000 (22:07 +0100)]
define correct variable for the unified Rigol driver

10 years agoserial-dmm: No error message upon 0 new bytes.
Uwe Hermann [Sun, 1 Dec 2013 18:30:35 +0000 (19:30 +0100)]
serial-dmm: No error message upon 0 new bytes.

10 years agoUse new libserialport blocking/nonblocking API calls.
Martin Ling [Wed, 27 Nov 2013 01:43:49 +0000 (01:43 +0000)]
Use new libserialport blocking/nonblocking API calls.

11 years agoFix memory leak when loading session files.
Bert Vermeulen [Fri, 29 Nov 2013 16:32:55 +0000 (17:32 +0100)]
Fix memory leak when loading session files.

11 years agorigol-ds: Fix duplicated "LA" probe group.
Martin Ling [Fri, 29 Nov 2013 01:40:50 +0000 (01:40 +0000)]
rigol-ds: Fix duplicated "LA" probe group.

11 years agoCreate & use new sr_usbtmc_dev_inst for Rigol DS driver.
Martin Ling [Fri, 29 Nov 2013 00:48:42 +0000 (00:48 +0000)]
Create & use new sr_usbtmc_dev_inst for Rigol DS driver.

11 years agoDS2000 sample memory capture patches from Mathias Grimmberger.
Martin Ling [Fri, 29 Nov 2013 00:14:54 +0000 (00:14 +0000)]
DS2000 sample memory capture patches from Mathias Grimmberger.

11 years agoFix handling second channel on DS2000 series.
Martin Ling [Thu, 7 Nov 2013 23:13:30 +0000 (23:13 +0000)]
Fix handling second channel on DS2000 series.

Patch from Mathias Grimmberger.

11 years agorigol-ds: brown paper bag, using timebases instead of vdivs.
Martin Ling [Fri, 1 Nov 2013 21:49:05 +0000 (21:49 +0000)]
rigol-ds: brown paper bag, using timebases instead of vdivs.

11 years agorigol-ds: fix calls to config_list with NULL sdi/devc.
Martin Ling [Fri, 1 Nov 2013 21:32:33 +0000 (21:32 +0000)]
rigol-ds: fix calls to config_list with NULL sdi/devc.

11 years agorigol-ds: Add support for DS2xx2 series.
Martin Ling [Fri, 1 Nov 2013 11:05:49 +0000 (11:05 +0000)]
rigol-ds: Add support for DS2xx2 series.

Based on patch by Mathias Grimmberger <redacted>.

11 years agoRename rigol-ds1xx2 driver to rigol-ds.
Martin Ling [Thu, 31 Oct 2013 17:31:39 +0000 (17:31 +0000)]
Rename rigol-ds1xx2 driver to rigol-ds.

11 years agoDon't accept over 64 probes.
Bert Vermeulen [Tue, 26 Nov 2013 21:20:30 +0000 (22:20 +0100)]
Don't accept over 64 probes.

The code is limited to 64 probes for now, so don't accept setting
the probe limit to higher than that.

See bug 194.

11 years agoinput/vcd: Coding style fixes.
Bert Vermeulen [Tue, 26 Nov 2013 21:11:48 +0000 (22:11 +0100)]
input/vcd: Coding style fixes.

11 years agooutput/csv: Fix wrong cast.
Bert Vermeulen [Tue, 26 Nov 2013 15:59:04 +0000 (16:59 +0100)]
output/csv: Fix wrong cast.

11 years agoserial.c: Re-enable serial_read() error reporting.
Uwe Hermann [Tue, 26 Nov 2013 15:29:43 +0000 (16:29 +0100)]
serial.c: Re-enable serial_read() error reporting.

libserialport now returns 0 (not SP_ERR_FAIL) as return value when a
non-blocking read would return EAGAIN.

This fixes bug #188.

11 years agoUse new libserialport opaque configuration structure.
Martin Ling [Sat, 23 Nov 2013 21:00:28 +0000 (21:00 +0000)]
Use new libserialport opaque configuration structure.

11 years agoUse accessor for new libserialport opaque port structure.
Martin Ling [Sat, 23 Nov 2013 20:48:15 +0000 (20:48 +0000)]
Use accessor for new libserialport opaque port structure.

11 years agogmc-mh-1x-2x driver depends on libserialport
Bert Vermeulen [Tue, 26 Nov 2013 00:50:21 +0000 (01:50 +0100)]
gmc-mh-1x-2x driver depends on libserialport

11 years agouni-t-dmm: Drop unnecessary DMM count.
Bert Vermeulen [Sat, 23 Nov 2013 14:24:40 +0000 (15:24 +0100)]
uni-t-dmm: Drop unnecessary DMM count.

11 years agouni-t-dmm: Add support for the Tenma 72-7745.
Bert Vermeulen [Sat, 23 Nov 2013 11:50:33 +0000 (12:50 +0100)]
uni-t-dmm: Add support for the Tenma 72-7745.

This is a rebadged UNI-T UT60E.

11 years agohantek-dso: config_list(): Only SR_CONF_BUFFERSIZE needs sdi.
Uwe Hermann [Fri, 22 Nov 2013 19:03:03 +0000 (20:03 +0100)]
hantek-dso: config_list(): Only SR_CONF_BUFFERSIZE needs sdi.

11 years agools: config_list(): Handle SR_CONF_PATTERN_MODE.
Uwe Hermann [Fri, 22 Nov 2013 18:56:20 +0000 (19:56 +0100)]
ols: config_list(): Handle SR_CONF_PATTERN_MODE.

SR_CONF_PATTERN_MODE was not handled in config_list(), yielding
non-working OLS support in PulseView (due to an assert), and a missing
pattern list in sigrok-cli's --show output.

This fixes bug #184.

11 years agoUpdate to 3-digit libserialport package version format.
Uwe Hermann [Fri, 22 Nov 2013 14:13:04 +0000 (15:13 +0100)]
Update to 3-digit libserialport package version format.

11 years agoMake struct sr_session opaque.
Uwe Hermann [Fri, 22 Nov 2013 14:02:12 +0000 (15:02 +0100)]
Make struct sr_session opaque.

The fields of this structure should not be used directly by frontends
(and none of the current ones do). Thus, make the struct opaque and hide
its contents from the API.

11 years agogmc_mh_1x_2x: Completed driver for Metrahit 1x/2x
Matthias Heidbrink [Thu, 21 Nov 2013 14:47:09 +0000 (15:47 +0100)]
gmc_mh_1x_2x: Completed driver for Metrahit 1x/2x

This driver supports devices with “RS232“ interface (Metrahit 16I,
18S, Siemens B1105 tested, 29S incomplete).

11 years agoAdded SR_MQ_TIME and SR_MQFLAG_DURATION.
Matthias Heidbrink [Tue, 19 Nov 2013 21:30:34 +0000 (22:30 +0100)]
Added SR_MQ_TIME and SR_MQFLAG_DURATION.

11 years agoserial: Allow 5 and 6 data bits.
Matthias Heidbrink [Tue, 19 Nov 2013 21:26:53 +0000 (22:26 +0100)]
serial: Allow 5 and 6 data bits.

11 years agogmc_mh_1x_2x: Inital driver skeleton.
Matthias Heidbrink [Tue, 19 Nov 2013 16:49:23 +0000 (17:49 +0100)]
gmc_mh_1x_2x: Inital driver skeleton.

11 years agoUpdate for libserialport v0.1 API.
Martin Ling [Thu, 21 Nov 2013 17:33:02 +0000 (17:33 +0000)]
Update for libserialport v0.1 API.

11 years agoSuppress compile warning
Bert Vermeulen [Wed, 20 Nov 2013 21:06:01 +0000 (22:06 +0100)]
Suppress compile warning

11 years agooutput/text: Fix memory leak of internal state buffers.
poljar (Damir Jelić) [Tue, 19 Nov 2013 11:03:20 +0000 (12:03 +0100)]
output/text: Fix memory leak of internal state buffers.

The text output module keeps buffers for internal state, upon receiving a DF_END
packet it frees the internal context but the buffers are never freed.

This adds a text_cleanup() helper function and registers it as the cleanup
function within all the text output modules.