Frank Stettner
8fb9afcacd
arachnid-labs-re-load-pro: Fix for get voltage and current while in acquisition.
...
[ gsi: moved intruction order to unify with other cond signalling code paths ]
2021-01-04 16:02:00 +01:00
Uwe Hermann
4c5f70063a
Use std_session_send_df_frame_begin()/_end() where possible.
2020-04-08 23:54:25 +02:00
Frank Stettner
7d1a4a5239
session: Add helper sr_session_send_meta() to send SR_DF_META packages.
...
Replace individual functions in drivers for arachnid-labs-re-load-pro
and lcr/es51919 with sr_session_send_meta() helper function.
2019-04-17 17:11:19 +02:00
Frank Stettner
a0bc8afd7d
Free sr_config and sr_config lists in meta datafeeds correctly.
2019-03-29 16:15:37 +01:00
Frank Stettner
c3f8e1abf0
arachnid-labs-re-load-pro: Replace C++-style comments with C-style comments.
2018-03-06 17:39:37 +01:00
Frank Stettner
d7e348f481
arachnid-labs-re-load-pro: Add encoding.digits to analog packet
2018-03-03 19:25:05 +01:00
Frank Stettner
b3e715e528
arachnid-labs-re-load-pro: Get a response when in acquision mode.
2018-03-03 19:25:02 +01:00
Frank Stettner
3d70d77709
arachnid-labs-re-load-pro: Add SR_CONF_UNDER_VOLTAGE_THRESHOLD.
2018-03-03 19:10:51 +01:00
Frank Stettner
9edda1d25b
arachnid-labs-re-load-pro: Setting correct current limit.
...
Use round() instead of just truncate the value.
2018-03-03 19:10:51 +01:00
Frank Stettner
a217289951
arachnid-labs-re-load-pro: Change serial read in acquisition mode.
...
Use serial_readline in acquisition mode, otherwise data from the
Re:load Pro could get lost.
Use reloadpro_receive_data() for all commands when in acquisition
mode. When not using a single point of receiving data, data could get
lost.
2018-03-03 19:10:51 +01:00
Frank Stettner
2472271e08
arachnid-labs-re-load-pro: Add SR_DF_META packets for changed values/states
2017-11-11 19:46:44 +01:00
Uwe Hermann
d2f7c417fd
Add sr_dev_acquisition_stop(), factor out SR_ERR_DEV_CLOSED check.
...
This ensures consistent checks and log messages across all drivers
and reduces the per-driver boilerplate.
2017-07-07 21:51:10 +02:00
Gerhard Sittig
2ea1fdf121
license: remove FSF postal address from boiler plate license text
...
Remove the FSF postal address as it might change (it did in the past).
Reference the gnu.org website instead which is more stable.
2017-01-07 16:05:39 +01:00
Lars-Peter Clausen
014c7f93d4
arachnid-labs-re-load-pro: Use software limit helpers
...
Use the new software limit helper functions rather than open-coding their
functionality.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
2016-05-31 15:54:52 +02:00
Uwe Hermann
695dc859c1
dev_acquisition_{start,stop}(): Drop duplicate 'cb_data' parameter.
...
These are always 'sdi', which is passed in already.
2016-04-29 19:20:53 +02:00
Uwe Hermann
2217be1dd4
arachnid-labs-re-load-pro: Handle undervoltage condition.
...
Support the SR_CONF_UNDER_VOLTAGE_CONDITION* keys.
Undervoltage (and overtemperature) conditions now emit a
warning-level message as well.
2016-02-11 14:42:50 +01:00
Uwe Hermann
8501448cfe
arachnid-labs-re-load-pro: Add support for setting SR_CONF_ENABLED.
...
The firmware has "on\n" and "off\n" commands since 1.10, so use them.
Apparently you can only set the state (on/off) of the load, but it's
not possible to query the current state.
2016-02-11 14:42:50 +01:00
Uwe Hermann
6e68da5140
arachnid-labs-re-load-pro: Convert to SR_DF_ANALOG.
2016-02-11 14:42:50 +01:00
Uwe Hermann
803db07a1a
arachnid-labs-re-load-pro: Add initial driver.
2016-02-08 15:02:29 +01:00
Uwe Hermann
6e8d31d468
arachnid-labs-re-load-pro: Initial driver skeleton.
2016-02-08 15:02:29 +01:00