Modified the WhoIs demo to use BBMD if configured for BACnet/IP. Corrected the BVLC code.

This commit is contained in:
skarg
2008-01-22 01:18:12 +00:00
parent ef4f7bbf22
commit 5bef9a18e2
11 changed files with 192 additions and 58 deletions
+12
View File
@@ -45,6 +45,18 @@ extern "C" {
#endif /* __cplusplus */
#if BBMD_ENABLED
void bvlc_maintenance_timer(
unsigned seconds);
#else
#define bvlc_maintenance_timer(x)
#endif
/* registers with a bbmd as a foreign device */
void bvlc_register_with_bbmd(
long bbmd_address, /* in network byte order */
uint16_t bbmd_port,
uint16_t time_to_live_seconds);
uint16_t bvlc_receive(
BACNET_ADDRESS * src, /* returns the source address */
uint8_t * npdu, /* returns the NPDU */