Now checking standard error define from who-is decoding.

This commit is contained in:
skarg
2013-10-31 20:14:37 +00:00
parent b3b3b8eca6
commit 5f3ec51291
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ void handler_who_is(
&high_limit);
if (len == 0) {
Send_I_Am_Flag = true;
} else if (len != -1) {
} else if (len != BACNET_STATUS_ERROR) {
/* is my device id within the limits? */
target_device = Device_Object_Instance_Number();
if (((target_device >= low_limit) && (target_device <= high_limit))