adding TSM support

This commit is contained in:
skarg
2005-03-19 01:44:14 +00:00
parent 23e8917925
commit e2a8d15689
8 changed files with 59 additions and 21 deletions
+4 -4
View File
@@ -37,6 +37,7 @@
#include <stdbool.h>
#include <stdint.h>
#include <stddef.h>
#include "bacdef.h"
typedef enum
{
@@ -75,21 +76,20 @@ typedef struct BACnet_TSM_Data
uint8_t InvokeID;
// state that the TSM is in
BACNET_TSM_STATE state;
// the address it was sent from
BACNET_ADDRESS src;
// the address we sent it to
BACNET_ADDRESS dest;
// copy of the PDU, should we need to send it again
uint8_t pdu[MAX_MPDU];
uint8_t pdu[MAX_PDU];
} BACNET_TSM_DATA;
bool tsm_transaction_available(void);
uint8_t tsm_transaction_idle_count(void);
uint8_t tsm_request_confirmed_unsegmented_transaction(
BACNET_ADDRESS *src,
BACNET_ADDRESS *dest,
uint8_t *pdu,
uint16_t pdu_len);
void tsm_init_list(BACNET_TSM_DATA *list);
#endif