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.

有关于Ti simpleLink 设备CC3220SF 的范例Http_get中创建sl_Task线程接口用来初始化simpleLink的API接口,SimpleLinkNetAppEventHandler函数的调用是如何实现的?

Other Parts Discussed in Thread: CC3220SF

关于Ti simpleLink 设备CC3220SF 的范例Httpget

1,创建sl_Task线程接口用来初始化simpleLink的API接口,sl_Task线程具体的说明在Ti有没有相关的文档说明?

2,SimpleLinkNetAppEventHandler函数的调用是如何实现的?

  • 1、 sl_Task()
    void* sl_Task ( void * pEntry )
    The SimpleLink task entry.

    This function must be called from the main loop or from dedicated thread in the following cases:

    Non-Os Platform - should be called from the mail loop
    Multi Threaded Platform when the user does not implement the external spawn functions - should be called from dedicated thread allocated to the SimpleLink driver. In this mode the function never return.
    parameters
    None
    Returns
    None
    See also
    Note
    Belongs to basic_api
    Warning
    This function must be called from a thread that is start running before any call to other SimpleLink API
    Definition at line 105 of file device.c.

    {
    #ifdef _SlTaskEntry
    return (void*)_SlTaskEntry();
    #else
    return (void*)0;
    #endif
    }

    详情请看:dev.ti.com/.../group___device.html

    2、 SimpleLinkNetAppEventHandler这个是在NWP或者host driver报告Netapp 事件时调用的,用户也可以添加自己的逻辑。具体调用可参考 'network_terminal'例程以及SWRU455文档
x 出现错误。请重试或与管理员联系。