Developing with ZBOSS for Zigbee
|
Functions | |
zb_ret_t | zb_debug_broadcast_aps_key (zb_ieee_addr_t long_addr) |
zb_ret_t | zb_debug_broadcast_nwk_key (void) |
zb_ret_t zb_debug_broadcast_aps_key | ( | zb_ieee_addr_t | long_addr | ) |
Broadcast TCLK or other APS key. For debugging purposes only.
That function broadcasts APS key stored in keypair for that long_addr. Wireshark understands that broadcast, so it can decode the traffic. That function has pure debug purposes. It must be explicitly called by the application. The function works in debug ZBOSS builds only. The function does nothing in release ZBOSS builds.
long_addr | - address of the remote device |
zb_ret_t zb_debug_broadcast_nwk_key | ( | void | ) |
Broadcast NWK key.
FOR DEBUGGING PURPOSES ONLY. It zeroes your network security. Never use it in productuion!
That function broadcasts the current NWK key. Wireshark understands that broadcast, so it can decode the traffic. That function has pure debug purposes. It must be explicitly called by the application.
The function works in debug ZBOSS builds only. The function does nothing in release ZBOSS builds.