Skip to content

Commit

Permalink
Bump all driver versions before NUT v2.8.1 release [networkupstools#1951
Browse files Browse the repository at this point in the history
]

Follow-up after core driver changes (main.c etc.) with `driver.state` networkupstools#1767,
driver reload command networkupstools#1903, driver inter-instance communications via socket networkupstools#1922
and others.

Also convert remaining single-digit X.Y versions to X.<Y+1>0 double-digits.
  • Loading branch information
jimklimov committed Jun 30, 2023
1 parent 05b7ec5 commit aca017f
Show file tree
Hide file tree
Showing 63 changed files with 70 additions and 68 deletions.
2 changes: 1 addition & 1 deletion drivers/adelsystem_cbi.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <timehead.h>

#define DRIVER_NAME "NUT ADELSYSTEM DC-UPS CB/CBI driver"
#define DRIVER_VERSION "0.01"
#define DRIVER_VERSION "0.02"

/* variables */
static modbus_t *mbctx = NULL; /* modbus memory context */
Expand Down
2 changes: 1 addition & 1 deletion drivers/al175.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ typedef uint8_t byte_t;


#define DRIVER_NAME "Eltek AL175/COMLI driver"
#define DRIVER_VERSION "0.13"
#define DRIVER_VERSION "0.14"

/* driver description structure */
upsdrv_info_t upsdrv_info = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/apcsmart-old.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include "nut_stdint.h"

#define DRIVER_NAME "APC Smart protocol driver"
#define DRIVER_VERSION "2.2"
#define DRIVER_VERSION "2.30"

static upsdrv_info_t table_info = {
"APC command table",
Expand Down
2 changes: 1 addition & 1 deletion drivers/apcsmart.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#define NUT_APCSMART_H_SEEN 1

#define DRIVER_NAME "APC Smart protocol driver"
#define DRIVER_VERSION "3.2"
#define DRIVER_VERSION "3.30"

#define ALT_CABLE_1 "940-0095B"

Expand Down
2 changes: 1 addition & 1 deletion drivers/apcupsd-ups.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ typedef unsigned long int nfds_t;
#include "nut_stdint.h"

#define DRIVER_NAME "apcupsd network client UPS driver"
#define DRIVER_VERSION "0.6"
#define DRIVER_VERSION "0.70"

#define POLL_INTERVAL_MIN 10

Expand Down
2 changes: 1 addition & 1 deletion drivers/asem.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
#endif

#define DRIVER_NAME "ASEM"
#define DRIVER_VERSION "0.11"
#define DRIVER_VERSION "0.12"

/* Valid on ASEM PB1300 UPS */
#define BQ2060_ADDRESS 0x0B
Expand Down
2 changes: 1 addition & 1 deletion drivers/bcmxcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ TODO List:
#include "bcmxcp.h"

#define DRIVER_NAME "BCMXCP UPS driver"
#define DRIVER_VERSION "0.32"
#define DRIVER_VERSION "0.33"

#define MAX_NUT_NAME_LENGTH 128
#define NUT_OUTLET_POSITION 7
Expand Down
2 changes: 1 addition & 1 deletion drivers/bcmxcp_ser.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "nut_stdint.h"

#define SUBDRIVER_NAME "RS-232 communication subdriver"
#define SUBDRIVER_VERSION "0.21"
#define SUBDRIVER_VERSION "0.22"

/* communication driver description structure */
upsdrv_info_t comm_upsdrv_info = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/belkin.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "nut_stdint.h"

#define DRIVER_NAME "Belkin Smart protocol driver"
#define DRIVER_VERSION "0.25"
#define DRIVER_VERSION "0.26"

static ssize_t init_communication(void);
static ssize_t get_belkin_reply(char *buf);
Expand Down
2 changes: 1 addition & 1 deletion drivers/belkinunv.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
#include "serial.h"

#define DRIVER_NAME "Belkin 'Universal UPS' driver"
#define DRIVER_VERSION "0.08"
#define DRIVER_VERSION "0.09"

/* driver description structure */
upsdrv_info_t upsdrv_info = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/bestfcom.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
#include "serial.h"

#define DRIVER_NAME "Best Ferrups/Fortress driver"
#define DRIVER_VERSION "0.13"
#define DRIVER_VERSION "0.14"

/* driver description structure */
upsdrv_info_t upsdrv_info = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/bestfortress.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#endif

#define DRIVER_NAME "Best Fortress UPS driver"
#define DRIVER_VERSION "0.07"
#define DRIVER_VERSION "0.08"

/* driver description structure */
upsdrv_info_t upsdrv_info = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/bestuferrups.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include "serial.h"

#define DRIVER_NAME "Best Ferrups Series ME/RE/MD driver"
#define DRIVER_VERSION "0.04"
#define DRIVER_VERSION "0.05"

/* driver description structure */
upsdrv_info_t upsdrv_info = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/bestups.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "nut_stdint.h"

#define DRIVER_NAME "Best UPS driver"
#define DRIVER_VERSION "1.07"
#define DRIVER_VERSION "1.08"

/* driver description structure */
upsdrv_info_t upsdrv_info = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/blazer_ser.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include "blazer.h"

#define DRIVER_NAME "Megatec/Q1 protocol serial driver"
#define DRIVER_VERSION "1.58"
#define DRIVER_VERSION "1.59"

/* driver description structure */
upsdrv_info_t upsdrv_info = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/blazer_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#endif

#define DRIVER_NAME "Megatec/Q1 protocol USB driver"
#define DRIVER_VERSION "0.14"
#define DRIVER_VERSION "0.15"

/* driver description structure */
upsdrv_info_t upsdrv_info = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/clone-outlet.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#endif

#define DRIVER_NAME "clone outlet UPS Driver"
#define DRIVER_VERSION "0.02"
#define DRIVER_VERSION "0.03"

/* driver description structure */
upsdrv_info_t upsdrv_info = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/clone.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#endif

#define DRIVER_NAME "Clone UPS driver"
#define DRIVER_VERSION "0.03"
#define DRIVER_VERSION "0.04"

/* driver description structure */
upsdrv_info_t upsdrv_info = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/dummy-ups.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
#include "dummy-ups.h"

#define DRIVER_NAME "Device simulation and repeater driver"
#define DRIVER_VERSION "0.15"
#define DRIVER_VERSION "0.16"

/* driver description structure */
upsdrv_info_t upsdrv_info =
Expand Down
2 changes: 1 addition & 1 deletion drivers/etapro.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
#include "nut_stdint.h"

#define DRIVER_NAME "ETA PRO driver"
#define DRIVER_VERSION "0.05"
#define DRIVER_VERSION "0.06"

/* driver description structure */
upsdrv_info_t upsdrv_info = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/everups.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "serial.h"

#define DRIVER_NAME "Ever UPS driver (serial)"
#define DRIVER_VERSION "0.04"
#define DRIVER_VERSION "0.05"

/* driver description structure */
upsdrv_info_t upsdrv_info = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/gamatronic.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include "nut_stdint.h"

#define DRIVER_NAME "Gamatronic UPS driver"
#define DRIVER_VERSION "0.03"
#define DRIVER_VERSION "0.04"

/* driver description structure */
upsdrv_info_t upsdrv_info = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/generic_gpio_libgpiod.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <gpiod.h>

#define DRIVER_NAME "GPIO UPS driver"
#define DRIVER_VERSION "1.00"
#define DRIVER_VERSION "1.01"

typedef struct libgpiod_data_t {
struct gpiod_chip *gpioChipHandle; /* libgpiod chip handle when opened */
Expand Down
2 changes: 1 addition & 1 deletion drivers/generic_modbus.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include "nut_stdint.h"

#define DRIVER_NAME "NUT Generic Modbus driver"
#define DRIVER_VERSION "0.03"
#define DRIVER_VERSION "0.04"

/* variables */
static modbus_t *mbctx = NULL; /* modbus memory context */
Expand Down
2 changes: 1 addition & 1 deletion drivers/genericups.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include "nut_stdint.h"

#define DRIVER_NAME "Generic contact-closure UPS driver"
#define DRIVER_VERSION "1.38"
#define DRIVER_VERSION "1.39"

/* driver description structure */
upsdrv_info_t upsdrv_info = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/huawei-ups2000.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
#include "timehead.h" /* fallback gmtime_r() variants if needed (e.g. some WIN32) */

#define DRIVER_NAME "NUT Huawei UPS2000 (1kVA-3kVA) RS-232 Modbus driver"
#define DRIVER_VERSION "0.04"
#define DRIVER_VERSION "0.05"

#define CHECK_BIT(var,pos) ((var) & (1<<(pos)))
#define MODBUS_SLAVE_ID 1
Expand Down
2 changes: 1 addition & 1 deletion drivers/isbmex.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <string.h>

#define DRIVER_NAME "ISBMEX UPS driver"
#define DRIVER_VERSION "0.07"
#define DRIVER_VERSION "0.08"

/* driver description structure */
upsdrv_info_t upsdrv_info = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/ivtscd.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include "attribute.h"

#define DRIVER_NAME "IVT Solar Controller driver"
#define DRIVER_VERSION "0.03"
#define DRIVER_VERSION "0.04"

/* driver description structure */
upsdrv_info_t upsdrv_info = {
Expand Down
3 changes: 2 additions & 1 deletion drivers/liebert-esp2.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
#define IsBitSet(val, bit) ((val) & (1 << (bit)))

#define DRIVER_NAME "Liebert ESP-II serial UPS driver"
#define DRIVER_VERSION "0.05"
#define DRIVER_VERSION "0.06"

#define UPS_SHUTDOWN_DELAY 12 /* it means UPS will be shutdown 120 sec */
#define SHUTDOWN_CMD_LEN 8

Expand Down
2 changes: 1 addition & 1 deletion drivers/liebert.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include "attribute.h"

#define DRIVER_NAME "Liebert MultiLink UPS driver"
#define DRIVER_VERSION "1.03"
#define DRIVER_VERSION "1.04"

/* driver description structure */
upsdrv_info_t upsdrv_info = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/macosx-ups.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "IOKit/ps/IOPSKeys.h"

#define DRIVER_NAME "Mac OS X UPS meta-driver"
#define DRIVER_VERSION "1.3"
#define DRIVER_VERSION "1.40"

/* driver description structure */
upsdrv_info_t upsdrv_info = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/masterguard.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "nut_stdint.h"

#define DRIVER_NAME "MASTERGUARD UPS driver"
#define DRIVER_VERSION "0.25"
#define DRIVER_VERSION "0.26"

/* driver description structure */
upsdrv_info_t upsdrv_info = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/metasys.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include "nut_stdint.h"

#define DRIVER_NAME "Metasystem UPS driver"
#define DRIVER_VERSION "0.08"
#define DRIVER_VERSION "0.09"

/* driver description structure */
upsdrv_info_t upsdrv_info = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/mge-utalk.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
/* --------------------------------------------------------------- */

#define DRIVER_NAME "MGE UPS SYSTEMS/U-Talk driver"
#define DRIVER_VERSION "0.94"
#define DRIVER_VERSION "0.95"


/* driver description structure */
Expand Down
2 changes: 1 addition & 1 deletion drivers/microdowell.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#define MAX_SHUTDOWN_DELAY_LEN 5

#define DRIVER_NAME "MICRODOWELL UPS driver"
#define DRIVER_VERSION "0.02"
#define DRIVER_VERSION "0.03"

/* driver description structure */
upsdrv_info_t upsdrv_info = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/microsol-apc.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include "microsol-apc.h"

#define DRIVER_NAME "APC Back-UPS BR series UPS driver"
#define DRIVER_VERSION "0.69"
#define DRIVER_VERSION "0.70"

/* driver description structure */
upsdrv_info_t upsdrv_info = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/netxml-ups.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
#include "nut_stdint.h"

#define DRIVER_NAME "network XML UPS"
#define DRIVER_VERSION "0.44"
#define DRIVER_VERSION "0.45"

/** *_OBJECT query multi-part body boundary */
#define FORM_POST_BOUNDARY "NUT-NETXML-UPS-OBJECTS"
Expand Down
2 changes: 1 addition & 1 deletion drivers/nut-ipmipsu.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include "nut-ipmi.h"

#define DRIVER_NAME "IPMI PSU driver"
#define DRIVER_VERSION "0.31"
#define DRIVER_VERSION "0.32"

/* driver description structure */
upsdrv_info_t upsdrv_info = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/nutdrv_atcl_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

/* driver version */
#define DRIVER_NAME "'ATCL FOR UPS' USB driver"
#define DRIVER_VERSION "1.16"
#define DRIVER_VERSION "1.17"

/* driver description structure */
upsdrv_info_t upsdrv_info = {
Expand Down
4 changes: 2 additions & 2 deletions drivers/nutdrv_qx.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@
*
*/

#define DRIVER_VERSION "0.32"

#include "config.h"
#include "main.h"
#include "attribute.h"
Expand All @@ -59,6 +57,8 @@
#define DRIVER_NAME "Generic Q* Serial driver"
#endif /* QX_USB */

#define DRIVER_VERSION "0.33"

#ifdef QX_SERIAL
#include "serial.h"
#define SER_WAIT_SEC 1 /* 3 seconds for Best UPS */
Expand Down
2 changes: 1 addition & 1 deletion drivers/nutdrv_siemens_sitop.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
#include "nut_stdint.h"

#define DRIVER_NAME "Siemens SITOP UPS500 series driver"
#define DRIVER_VERSION "0.03"
#define DRIVER_VERSION "0.04"

#define RX_BUFFER_SIZE 100

Expand Down
2 changes: 1 addition & 1 deletion drivers/oneac.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ int setcmd(const char* varname, const char* setvalue);
int instcmd(const char *cmdname, const char *extra);

#define DRIVER_NAME "Oneac EG/ON/OZ/OB UPS driver"
#define DRIVER_VERSION "0.81"
#define DRIVER_VERSION "0.82"

/* driver description structure */
upsdrv_info_t upsdrv_info = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/optiups.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include "nut_stdint.h"

#define DRIVER_NAME "Opti-UPS driver"
#define DRIVER_VERSION "1.02"
#define DRIVER_VERSION "1.03"

/* driver description structure */
upsdrv_info_t upsdrv_info = {
Expand Down
Loading

0 comments on commit aca017f

Please sign in to comment.