Trident IoT Zigbee SDK
Loading...
Searching...
No Matches
Debug Print API References
Collaboration diagram for Debug Print API References:

Functions

zb_uint32_t tr_get_print_group_mask (void)
 get the print group mask
void tr_enable_print_group (tr_debug_print_group_t group)
 enable a print group
void tr_disable_print_group (tr_debug_print_group_t group)
 disable a print group
zb_bool_t tr_check_print_group (tr_debug_print_group_t group)
 check to see if a print group is enabled

Detailed Description


This plugin utilizes print group definitions to enable control over grouping similar types of prints together and being able to turn those print groups on and off. See tr_debug_print.h for defined print groups.


Function Documentation

◆ tr_check_print_group()

zb_bool_t tr_check_print_group ( tr_debug_print_group_t group)

check to see if a print group is enabled

Parameters
groupthe group to check for
Returns
ZB_TRUE if group specified is enabled, ZB_FALSE if group specified is not enabled

◆ tr_disable_print_group()

void tr_disable_print_group ( tr_debug_print_group_t group)

disable a print group

Parameters
groupwhich group to disable

◆ tr_enable_print_group()

void tr_enable_print_group ( tr_debug_print_group_t group)

enable a print group

Parameters
groupwhich group to enable

◆ tr_get_print_group_mask()

zb_uint32_t tr_get_print_group_mask ( void )

get the print group mask

Returns
mask representing the print group