Added a Binary Input object to the demo objects and updated the demo applications and device object to support the new object.
This commit is contained in:
@@ -34,6 +34,7 @@ SRCS = main.c \
|
||||
$(BACNET_HANDLER)/s_whois.c \
|
||||
$(BACNET_OBJECT)/device.c \
|
||||
$(BACNET_OBJECT)/ai.c \
|
||||
$(BACNET_OBJECT)/bi.c \
|
||||
$(BACNET_OBJECT)/ao.c \
|
||||
$(BACNET_OBJECT)/bacfile.c \
|
||||
$(BACNET_ROOT)/filename.c \
|
||||
|
||||
@@ -148,13 +148,12 @@ int main(int argc, char *argv[])
|
||||
#endif
|
||||
|
||||
if (argc < 2) {
|
||||
printf("Usage: %s device-instance | device-instance-min device-instance-max\r\n"
|
||||
printf
|
||||
("Usage: %s device-instance | device-instance-min device-instance-max\r\n"
|
||||
"Send BACnet WhoIs request to devices, and wait for responses.\r\n"
|
||||
"\r\n"
|
||||
"The device-instance can be 0 to %d, or -1 for ALL.\r\n"
|
||||
"\r\n" "The device-instance can be 0 to %d, or -1 for ALL.\r\n"
|
||||
"The device-instance can also be specified as a range.\r\n",
|
||||
filename_remove_path(argv[0]),
|
||||
BACNET_MAX_INSTANCE);
|
||||
filename_remove_path(argv[0]), BACNET_MAX_INSTANCE);
|
||||
return 0;
|
||||
}
|
||||
/* decode the command line parameters */
|
||||
|
||||
@@ -34,6 +34,7 @@ SRCS = main.c \
|
||||
$(BACNET_OBJECT)\bacfile.c \
|
||||
$(BACNET_OBJECT)\device.c \
|
||||
$(BACNET_OBJECT)\ai.c \
|
||||
$(BACNET_OBJECT)\bi.c \
|
||||
$(BACNET_OBJECT)\ao.c \
|
||||
$(BACNET_ROOT)\address.c \
|
||||
$(BACNET_ROOT)\filename.c \
|
||||
|
||||
Reference in New Issue
Block a user