TI中文支持网
TI专业的中文技术问题搜集分享网站

CC3220SF network_terminal例程mainthread中提及的wifi_Config()函数要在哪里进行自己编码配置?

Other Parts Discussed in Thread:CC3220SF

见题。

在CC3220SF的network_terminal例程中,mainthread里面用到了wifi_Config()函数,注释说用户要根据自己的需要进行配置,那么要在哪里重新对wifi_Config()进行编码呢?

按住Ctrl+左键点击这个函数,链接到了device.h,个人觉得应该不是在device.h里面直接改动吧?

user6464274:

不是wifi_config()函数,是sl_wifiConfig()

,

Kevin Qiu1:

这个是恢复为默认状态,看下下面的说明/*!\briefConfigure SimpleLink to default state.The sl_WifiConfig function allows to configure the deviceto a pre-configured state by sysconfig UI\ ti_drivers_net_wifi_Config.c.The configuration of the SimpleLink Wifi is usually persistent,and can be reconfigured at runtime.Reconfiguration should be performed only when needed sincethe process involves flash writes and might impactsystem lifetime (flash write endurance) and power consumption.It's important to note that this is one example for a'restore to default state' function,which meet the needs of this application.User who wish to incorporate this function into he's app,must adjust the implementationand make sure it meets he's needs.\returnUpon successful completion,the function shall return 0.In case of failure, this function would return -1.*/
_i32 sl_WifiConfig();

赞(0)
未经允许不得转载:TI中文支持网 » CC3220SF network_terminal例程mainthread中提及的wifi_Config()函数要在哪里进行自己编码配置?
分享到: 更多 (0)