955
社区成员
发帖
与我相关
我的任务
分享
qcom_set_promiscuous_rx_cb((QCOM_PROMISCUOUS_CB)smtlink_parse_cb);是设置混杂回调函数的,高通接口文档中明确要求不能调ThreadX API和系统驱动API.“Since the hook function runs in the target domain, user must not call ThreadX API or Driver APIs in hook function.“并且,由于回调很快,最好不要在回调里面处理复杂的业务逻辑,也不要有打印函数。可在回调里面拷贝数据包到全局变量,然后在外面处理。