Displaying 2 results from an estimated 2 matches for "bcmxcp_alarm_map".
2012 Feb 19
0
[nut-commits] svn commit r3448 - trunk/drivers (extern variables)
...Thu Feb 16 16:05:56 2012 (r3447)
> +++ trunk/drivers/bcmxcp.c Sun Feb 19 03:19:02 2012 (r3448)
> @@ -186,6 +186,15 @@
> };
>
>
> +/* allocate storage for shared variables (extern in bcmxcp.h) */
> +BCMXCP_METER_MAP_ENTRY_t
> + bcmxcp_meter_map[BCMXCP_METER_MAP_MAX];
> +BCMXCP_ALARM_MAP_ENTRY_t
> + bcmxcp_alarm_map[BCMXCP_ALARM_MAP_MAX];
> +BCMXCP_STATUS_t
> + bcmxcp_status;
> +
> +
> /* get_word function from nut driver metasys.c */
> int get_word(const unsigned char *buffer) /* return an integer reading a word in the supplied buffer */
> {
>
> Modi...
2006 Jun 02
2
NUT shutdown on 'building alarm' (
...rature reaches 35C, the thermostat contacts
close, and the UPS signals 'Building Alarm 1'.
I have browsed the NUT source code, and it appears that the driver itself
can detect this. But it also appears that there is a commented-out
alarm_init() stub function:
drivers/bcmxcp.c
...
bcmxcp_alarm_map[BCMXCP_ALARM_BUILDING_ALARM_1].alarm_desc = "BUILDING_ALARM_1";
...
/* alarm_init(); Alarms are not supported by NUT */
I browsed the docs:
docs/new-drivers.txt:
There is no official list of alarm words as of this writing, so don't
use these functions until you check wit...