Logo
Developing with ZBOSS for Zigbee

Functions

void zboss_use_r22_behavior (void)
 
void zboss_use_r23_behavior (void)
 
void zb_nwk_use_r22_joining (zb_bool_t value)
 

Detailed Description

Function Documentation

§ zb_nwk_use_r22_joining()

void zb_nwk_use_r22_joining ( zb_bool_t  value)

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zboss_api_zdo.h>

Use r22 joining instead nwk commissioning request

Parameters
value- if true, then mac association or rejoin_req will be used

§ zboss_use_r22_behavior()

void zboss_use_r22_behavior ( void  )

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zboss_api_zdo.h>

Setup required behavior for testing legacy R22 GU as specified by Zigbee Pro Compliant Test Specification - Section 7.5.1:

For Legacy Version= 22 The GU special build must be implemented which disables the following features of R23 and the device behaves as an R22 device:

  1. The device SHALL not attach nor process any TLVs
  2. The device SHALL not support NWK commissioning Request/Response
  3. The device SHALL not add beacon appendix to the beacon
  4. The device shall not support APSME relay upstream/downstream commands.
  5. Node descriptor SHALL respond with legacy payload and no TLVs the server mask may be 23.
  6. Support Pre-configured keys and only supports TCLK.
  7. Disable all new ZDO servers and respond with NOT_SUPPORTED default response.
  8. Frame Counter synchronisation should be disabled.
  9. Buffer Test Request should be sent without a payload

Notes: If you’re unsure what the text above is, you probably do not need this call! This is not a full r22 compatibility mode.

/* Setup required behavior for testing legacy R22 as specified by
* the Zigbee Pro Compliant Test Specification - Section 7.5.1.
* Just to demonstrate how legacy device join to R23 ZC */

§ zboss_use_r23_behavior()

void zboss_use_r23_behavior ( void  )

#include </conan-data/ti_zigbee/9.14.00.04/library-lprf/ga/build/f6d18801b7b469a709ae7e8290b03ecdc7a7ad4c/zboss_r23/include/zboss_api_zdo.h>

Enable using of r23 joining featires: NWK Commissioning then DLK.

/* zboss_use_r23_behavior() sets all key negotiation methods and PSK secrets
* by default. That call is here just for a demo. ZBOSS in r23 mode by
* default. */