Converted the linux build to use BACnet library. Moved some BACnet address functions to bacaddr.c/h.

This commit is contained in:
skarg
2007-08-23 18:56:38 +00:00
parent 75916aa21a
commit e7a49d79ee
19 changed files with 432 additions and 972 deletions
+3 -2
View File
@@ -47,6 +47,7 @@
#include "datalink.h"
#include "handlers.h"
#include "address.h"
#include "bacaddr.h"
/* Transaction State Machine */
/* Really only needed for segmented messages */
@@ -189,7 +190,7 @@ void tsm_set_confirmed_unsegmented_transaction(uint8_t invokeID,
}
TSM_List[index].apdu_len = apdu_len;
npdu_copy_data(&TSM_List[index].npdu_data, ndpu_data);
address_copy(&TSM_List[index].dest, dest);
bacnet_address_copy(&TSM_List[index].dest, dest);
}
}
@@ -218,7 +219,7 @@ bool tsm_get_transaction_pdu(uint8_t invokeID,
apdu[j] = TSM_List[index].apdu[j];
}
npdu_copy_data(ndpu_data, &TSM_List[index].npdu_data);
address_copy(dest, &TSM_List[index].dest);
bacnet_address_copy(dest, &TSM_List[index].dest);
found = true;
}
}