Add functions to enable/disable debug logging (#280)
* Add "bip_debug_disable()" * Add "bvlc_debug_disable()" * Add setters for BIP_DL_Debug (BBMD registration debug logging)
This commit is contained in:
@@ -102,6 +102,14 @@ void bvlc_debug_enable(void)
|
||||
BVLC_Debug = true;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Disable debug printing of BACnet/IPv4 BBMD
|
||||
*/
|
||||
void bvlc_debug_disable(void)
|
||||
{
|
||||
BVLC_Debug = true;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Print the IPv4 address with debug info for this module
|
||||
* @param str - debug info string
|
||||
|
||||
@@ -85,6 +85,9 @@ void bvlc_init(void);
|
||||
BACNET_STACK_EXPORT
|
||||
void bvlc_debug_enable(void);
|
||||
|
||||
BACNET_STACK_EXPORT
|
||||
void bvlc_debug_disable(void);
|
||||
|
||||
/* send a Read BDT request */
|
||||
BACNET_STACK_EXPORT
|
||||
int bvlc_bbmd_read_bdt(BACNET_IP_ADDRESS *bbmd_addr);
|
||||
|
||||
Reference in New Issue
Block a user