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.

APSME_LookupExtAddr读出来的IEEE都是零

 测试代码如下:

   MyshortADD=pkt->srcAddr.addr.shortAddr;
      
      HalUARTWrite(0,"0000",4);
      test[0]=(uint8)MyshortADD;
      MyshortADD=MyshortADD>>8;
      test[1]=(uint8)MyshortADD;
      HalUARTWrite(0, test,2);
      HalUARTWrite(0,"0000",4);
      
      APSME_LookupExtAddr(MyshortADD,MyIEEE );
      HalUARTWrite(0, MyIEEE,8);
      HalUARTWrite(0,"0000",4);
      HalUARTWrite(0,pkt->srcAddr.addr.extAddr,8);
      HalUARTWrite(0,"0000",4);

串口输出短地址没有问,两种方式输出的长地址(IEEE)地址都不对。