Dear Teams,
我的客户反馈部分模块在设置为 AP 模式且有密码的情况下,调用 sl_Start 后直接调用 sl_NetAppStart 会导致回调函数 SimpleLinkNetAppEventHandler 不能正常执行,不能及时将 STATUS_BIT_IP_AQUIRED 置位;如果在调用 sl_Start 之后添加 sl_NetAppStop 则恢复正常。
疑问:
1. sl_Start 是否是阻塞式的?
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.
sl_Start是用来打开NWP的,若没有回调函数它应该是阻塞的
若有InitCallBack,它将立即返回
Sl_Start – This function initializes the communication interface, sets the enable pin of the device, and calls
to the init complete callback. If no callback function is provided, the function is blocking until the device
finishes the initialization process.
\brief Start the SimpleLink device
This function initialize the communication interface, set the enable pin
of the device, and call to the init complete callback.
_i16 sl_Start(const void* pIfHdl, _i8* pDevName, const P_INIT_CALLBACK pInitCallBack);
TI服务“按原样”提供。TI以及内容的各个供应商和提供者均没有声明这些材料适用于任何目的,并且不对这些材料提供保证和条件,包括但不限于任何隐含的适销性、针对特定用途的适用性、所有权和不侵犯任何第三方知识产权的所有默示保证和条件。TI以及内容的各个供应商和提供者均没有声明这些材料适用于任何目的,并且不对这些材料提供保证和条件。无论明示或默示,TI都没有通过禁止反言或其他方式授予任何许可。使用本网站的信息可能需要第三方的许可或TI的许可。
本网站的内容可能包含或受制于特定的使用指南或限制。本网站内容的所有发布和使用均根据本网站的使用条款;使用该内容的第三方同意遵守任何限制或指南,并遵守本网站的使用条款。TI、内容的供应商和提供者有权在任何时候对内容和材料、其产品、程序和服务进行更正、删除、修改、提升、改进和其他改变,或移动或停止任何内容、产品、程序或服务,恕不另行通知。