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.

TIMAC协议栈中一个FFD设备入网到一个网络中的流程是怎样的

Other Parts Discussed in Thread: TIMAC

已有一个FFD设备作为Pan协调器,RFD入网的流程基本明白了,那我有一个FFD设备,不作为pan协调器用,就当一个全功能的终端用,这个全功能终端的入网流程是怎样的,是用MSA_FFD这个宏吗,FFD的例子中看不到有入网请求的代码

  • 在入网方面,RFD设备,还是FFD设备都是一样的。 

    入网的具体流程你可以参考IEEE802.15.4的文档。

  • 主要是TIMAC协议栈的例程中中。Pan协调器调用MAC_InitCoord();初始化,MSA_CoordinatorStartup()启动网络。

    RFD设备调用MAC_InitDevice初始化,MSA_DeviceStartup启动设备。

    那我非Pan协调器的FFD设备应该怎么样一个操作,和RFD完全相同只要把MAC_InitDevice改为MAC_InitCoord就行了,还是要怎么样?