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.

[参考译文] RTOS/CC3200:cc3200 httpserver

Guru**** 2546020 points
Other Parts Discussed in Thread: CC3200

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

https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/748282/rtos-cc3200-cc3200-httpserver

器件型号:CC3200

工具/软件:TI-RTOS

大家好、团队成员!  

我正在工作站模式下使用 simplelink cc3200 http 服务器应用程序。 每次重新启动或关闭电源时、我希望器件连接到之前使用智能配置配置配置的上次连接的 AP。 在 smartconfig 函数中、我注释了 sl_profiledel 函数并将 sl_connection 策略更改为 auto_fastconnect、但器件仍然再次处于 smartconfig 模式、我必须再次执行 SMART 配置以连接到 AP。请告诉我如何评估 SSID 和密码参数、即配置文件一次 在重新引导时、在智能配置上也会发生连接。

//lRetVal = sl_WlanProfileDel (wlan_del_all_profiles);
// assert_ON_ERROR (lRetVal);

//设置自动策略
lRetVal = sl_WlanPolicySet (sl_policy_connection、
sl_connection_policy (1、1、0、0、0)、
策略值(&P)、
1/*PolicyVallen*/);

相关信息  

Pranav

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

    您好!

    如果您按原样使用 SDK 中的相同 httpserver 示例,则还会在调用 SmartConfigConnect()之前设置配置文件和连接策略,作为 ConfigureSimpleLinkToDefaultState()的一部分。 您还需要对其进行更改、以保留配置文件和连接策略。

    此致、

    Shlomi