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.

关于Z-stack3.0 commission几个API之间的关系

Other Parts Discussed in Thread: Z-STACK

大家好,TI的各位大神。

一直在学习《Z-Stack 3.0.1》,关于commission的几个API的调用关系,看了很久,还是很迷茫。

各位大神,能否提供关于这几个API的文档,或者在线解答一下,他们调用关系(如果能帮忙画一张流程图,就更好了)

API:

bdb_StartCommissioning();

zclSampleLight_ProcessCommissioningStatus();

bdb_reportCommissioningState();

........

  • 关于这几个函数的具体定义,您可以在工程内进行查找

    参考工程代码可知

    zclSampleLight_ProcessCommissioningStatus();内调用了bdb_StartCommissioning();

    而bdb_StartCommissioning();函数内又调用了bdb_reportCommissioningState();