|
if( recv->RegisterCMD==CYRIL3APPMANAGE_REGISTER_REQUEST)
{
for(int i=0;i<= MAX_NODES-1;i++)
{
if(NodeList==0x0000)
{
NodeList=msg->srcAddr.addr.shortAddr;
cmd.RegisterCMD = CYRIL3APPMANAGE_REGISTER_CONFIRM;
cmd.NodeID = i+1;
HalLedSet ( HAL_LED_3, HAL_LED_MODE_BLINK );
break;
}
}
请问楼主,我标记红色的两个地方是什么意思呢?? |
|