This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

can I stop management Permit Joining Request with API

Hi,

    I use bdb_start_top_level_commissioning(ZB_BDB_NETWORK_STEERING | ZB_BDB_NETWORK_FORMATION) to open zigbee coordinator network.

    my question is :

    1. Is there any API to close the zigbee coordinator network?

    2. I want to change the open time (default is 180s) to 60s, but it likes not work. is there any API to change it ?

          case OpenNet:{                //打开允许入网
              comm_status = bdb_start_top_level_commissioning(ZB_BDB_NETWORK_STEERING | ZB_BDB_NETWORK_FORMATION);
              
              if (ZB_TRUE == comm_status)
              {
                  ret = Z_SUCCESS;
              }
              else
              {
                  ret = Z_FAIL;
              }
              SendApDataMQTT(ret, NULL, 0);
              
              /* for pre - zigbee 3.0 not key change */
              ZB_SCHEDULE_ALARM(
                        (zb_callback_t)zb_bdb_set_legacy_device_support,
                        1,
                        ZB_TIME_ONE_SECOND
                    );
              break;
          }

regards,