1NUTSCAN_SCAN_EATON_S(3)           NUT Manual           NUTSCAN_SCAN_EATON_S(3)
2
3
4

NAME

6       nutscan_scan_eaton_serial - Scan serial ports for Eaton devices (XCP,
7       SHUT and Q1).
8

SYNOPSIS

10       #include <nut-scan.h>
11
12       nutscan_device_t * nutscan_scan_eaton_serial(const char* ports_list);
13

DESCRIPTION

15       The nutscan_scan_eaton_serial() function tries to detect NUT devices
16       which are compatible with Eaton’s serial device protocols (SHUT, XCP
17       and Q1 (aka blazer)).
18
19       ports_list is a NULL terminated array of pointers to strings containing
20       serial device name (/dev/ttyS0, COM1, /dev/ttya...)
21
22       You MUST call nutscan_init(3) before using this function.
23

RETURN VALUE

25       The nutscan_scan_eaton_serial() function returns a pointer to a
26       nutscan_device_t structure containing all found devices or NULL if an
27       error occurs or no device is found.
28

SEE ALSO

30       nutscan_init(3), nutscan_scan_usb(3), nutscan_scan_xml_http_range(3),
31       nutscan_scan_snmp(3), nutscan_scan_avahi(3), nutscan_scan_ipmi(3),
32       nutscan_display_ups_conf(3), nutscan_display_parsable(3),
33       nutscan_new_device(3), nutscan_free_device(3),
34       nutscan_add_option_to_device(3), nutscan_add_device_to_device(3),
35       nutscan_get_serial_ports_list(3)
36
37
38
39Network UPS Tools 2.8.0           04/26/2022           NUTSCAN_SCAN_EATON_S(3)
Impressum