This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

求助大神!!设备终端关闭,开启入网功能

设备终端开启的时候会自动搜索合适的网络进行入网,我们的协调器可以禁止终端设备加入网络。那么,我们的设备终端可以控制一开始的时候不搜索入网,等到需要的时候再搜索入网吗?

  • 可以的,

    可以通过按键,定时等方式触发。

    // Start the device?
    if ( devState != DEV_HOLD )
    {
    ZDOInitDevice( 0 );
    }
    else
    {
    ZDOInitDevice( ZDO_INIT_HOLD_NWK_START );
    // Blink LED to indicate HOLD_START
    HalLedBlink ( HAL_LED_4, 0, 50, 500 );
    }