1NUTSCAN_SCAN_EATON_S(3) NUT Manual NUTSCAN_SCAN_EATON_S(3)
2
3
4
6 nutscan_scan_eaton_serial - Scan serial ports for Eaton devices (XCP,
7 SHUT and Q1).
8
10 #include <nut-scan.h>
11
12 nutscan_device_t * nutscan_scan_eaton_serial(const char* ports_list);
13
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)). ports_list is a NULL terminated array of pointers
18 to strings containing serial device name (/dev/ttyS0, COM1,
19 /dev/ttya...)
20
21 You MUST call nutscan_init(3) before using this function.
22
24 The nutscan_scan_eaton_serial() function returns a pointer to a
25 nutscan_device_t structure containing all found devices or NULL if an
26 error occurs or no device is found.
27
29 nutscan_init(3), nutscan_scan_usb(3), nutscan_scan_xml_http(3),
30 nutscan_scan_snmp(3), nutscan_scan_avahi(3), nutscan_scan_ipmi(3),
31 nutscan_display_ups_conf(3), nutscan_display_parsable(3),
32 nutscan_new_device(3), nutscan_free_device(3),
33 nutscan_add_option_to_device(3), nutscan_add_device_to_device(3),
34 nutscan_get_serial_ports_list(3)
35
36
37
38Network UPS Tools 2.7.3. 03/02/2016 NUTSCAN_SCAN_EATON_S(3)