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.

获取路由状态失败,求指教,谢谢

Genius 3030 points

大家好,昨天在获取路由状态时失败,当时使用的语句如下:

SampleApp_NwkState = (devStates_t)(MSGpkt->hdr.status);
if (  SampleApp_NwkState == DEV_ROUTER  ) ;

{

  HalLedSet( HAL_LED_2, HAL_LED_MODE_TOGGLE );

}

LED2没反应,请问是怎么回事?