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.

LAUNCHXL-CC26X2R1: 关于APP处理来自协议栈的消息的问题

Part Number: LAUNCHXL-CC26X2R1

 SDK中类似于taskFxn任务在处理事件时有两种方式:一种是来自stack的消息事件,这种当时是直接返回相应的数据结构体;

另一种是通过向stack注册回调函数(我理解的是回调函数是向协议栈注册的,不知道是否正确,请指正!),通过自定义回调函数的内容post相应的事件内容,进而处理。

我想请问为何会有关于这两点的不同,以及在开发中如何区分哪些是可以注册回调函数,哪些是协议栈直接post事件消息?谢谢!