Added I-Am-Router-To-Network demo. Untested.

This commit is contained in:
skarg
2008-08-20 22:17:43 +00:00
parent 2e6dc739a6
commit 5c6f263a16
6 changed files with 175 additions and 64 deletions
+2 -2
View File
@@ -108,9 +108,9 @@ extern "C" {
int fileStartPosition,
BACNET_OCTET_STRING * fileData);
void Send_WhoIsRouterToNetwork(
void Send_Who_Is_Router_To_Network(
int dnet);
#ifdef __cplusplus
}
#endif /* __cplusplus */
+10
View File
@@ -52,6 +52,16 @@ typedef struct bacnet_npdu_data_t {
uint8_t hop_count;
} BACNET_NPDU_DATA;
/* Port Info structure used by Routers */
struct router_port_t;
typedef struct router_port_t {
uint16_t dnet;
uint8_t id;
uint8_t info[256]; /* size could be 1-255 */
uint8_t info_len;
struct router_port_t *next; /* linked list */
} BACNET_ROUTER_PORT;
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */