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.

[参考译文] LP-CC2652RB:在 zclGenericApp_process_loop ()中实现应用特定的逻辑

Guru**** 2465890 points
Other Parts Discussed in Thread: LP-CC2652RB, Z-STACK

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/zigbee-thread-group/zigbee-and-thread/f/zigbee-thread-forum/1172756/lp-cc2652rb-implementing-application-specific-logic-in-zclgenericapp_process_loop

器件型号:LP-CC2652RB
Thread 中讨论的其他器件: Z-stack

早上好。

我将在一些 LP-CC2652RB 上基于 ZR_genericapp 开发定制固件。

到目前为止,我主要在 zcl_genericapp.c、zcl_genericapp_data.c 上工作,在 zclGenericApp_Init()中设置我的自定义端点、群集、属性、外设和定期计时器回调。

现在、我需要一个放置传感器和数据逻辑的位置(状态机中使用的 SPI 和 UART 很耗时)、如果可能、我不想阻止 Z-Stack 过程、计时器回调会阻止它、 将我的逻辑放在 zclGenericApp_process_loop 中(在删除阻止 Semaphore_pend (appSemHandle、BIOS_wait_forever)之后)也不是一个解决方案。

我真的需要另一项任务吗? 如果是、如果必须共享我的集群属性、我是否必须以任何方式处理信标/互斥量?

提前感谢您提供任何提示。

Roberto