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.

_NIB与macPib之间有什么关系?



_NIB.TransactionPersistenceTime和macPib.transactionPersistenceTime之间有什么关系?哪个是决定父节点向子节点发送数据时的事务超时的?

  • NIB是网络层的参数,macPib是MAc层的参数。_NIB.TransactionPersistenceTime

  • _NIB.TransactionPersistenceTime和macPib.transactionPersistenceTime分别代表什么意思?

    另外ZNwkAttributes_t中还有一个nwkTransactionPersistenceTime据说和macPib.transactionPersistenceTime是一致的,但是我在读取时,用函数

    NLME_GetRequest(nwkTransactionPersistenceTime,0,&temp),发现temp的值为0x0000,这是为什么?

  • nwkTransactionPersistenceTime是attribute中对应存放的位置,相当于item,

    具体你可以学习下ZigBee Specification 2010

  • 协调器向终端节点发送数据,在一定时间内,终端节点没有唤醒并向协调器发出Data Request命令,协调器不会把数据发给终端节点并判断数据发送超时失败。

    这个超时时间由_NIB.TransactionPersistenceTime决定还是macPib.transactionPersistenceTime来决定?

    macPib.transactionPersistenceTime的值是否可以通过函数NLME_GetRequest(nwkTransactionPersistenceTime,0,&temp)来获取,而不是通过直接对全局变量的读取来获得?

    另外_NIB和macPib是否有机制来防止在协议运行时,因为读写其中的值时因为程序的不严密导致其值被修改错误?

    我要修改_NIB和macPib里面的参数通过一个函数接口而非直接写全局变量,这样就能防止它们被误操作。


    ZigBee Specification 2010又是什么?