但是想请问像是那个HTML页面,可以更改背景色(蓝色)吗?以及其他布局可以做更改吗?
该如何更改 ?谢谢您
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.
你用uniFlash烧写SFlash时,应该看到过下列界面,看左边有main.html, led_demo.html, 其对应的文件在C:\ti\CC3100SDK_1.0.0\cc3100-sdk\examples\http_server\html 目录下都能找到。如Ken所说,需要熟悉网页的相关编程,然后做对应更改即可。
Lina Lian ,
C:\ti\CC3100SDK_1.0.0\cc3100-sdk\examples\http_server\html 目录下只有blink_led.html和main.html,想对整个web page进行修改,
Access to the internal web page is configured through the API. By default, access is enabled.
The web page is composed of the following files:
• about.html
• image001.png
• ip_config.html
• Logo.gif
• main.html
• ping.html
• profiles_config.html
• simple_link.css
• status.html
• tools.html
这些文件找不到在哪儿,另外想对web 页面编辑,用哪款软件比较好,小白求助。
Lina Lian ,
另外关于这个例程,它实现的是ap模式下的控制LED,我想在station模式下实现,该怎么改,
User needs to reconfigure the device in 'Station-Mode' for executing other sample applications. Refer
function configureSimpleLinkToDefaultState in this example's main.c for configuring the device in
'Station-Mode'.
这是http_server.pdf中的说明,可是看不明白,求大神指点
Sheng Zhao2,
请问你是使用什么来控制CC3100的?是外部MCU还是microsoft visual studio? 不管是什么,以使用MSP430F5529 launchpad + CC3100为例,你搭建起APdemo时,在MSP430F5529端运行的程序的main.c中,有个函数SimpleLinkToDefaultState里面有如何设置为station的指导。如下。但是你设置为station后,就需要使用smartconfig来将station加入router中。
/* Switch to STA role and restart */
retVal = sl_WlanSetMode(ROLE_STA);
ASSERT_ON_ERROR(retVal);
retVal = sl_Stop(SL_STOP_TIMEOUT);
ASSERT_ON_ERROR(retVal);
retVal = sl_Start(0, 0, 0);
ASSERT_ON_ERROR(retVal);
/* Check if the device is in station again */
if (ROLE_STA != retVal)
{
/* We don't want to proceed if the device is not coming up in station-mode */
ASSERT_ON_ERROR(DEVICE_NOT_IN_STATION_MODE);
}
Sheng Zhao2,
另外最全的资料总结可以参考下列link wiki, 最新的SDK和service pack如下。均使用最新的吧。
News | Latest Software Release | |||||
---|---|---|---|---|---|---|
|
http://processors.wiki.ti.com/index.php/CC31xx_&_CC32xx