...
- 在sample code所在文件夹中,打开 samples.sln
- 右键configure_network_demo, 打开属性选项,将Slamware SDK 的include目录和lib目录添加到工程
- 右键configure_network_demo, 将此工程设置成StartUp project
- 在debug目录下用命令行运行configure右键工程,在在Debugging页面中command Arguments处输入参数,或编译之后在debug目录下用命令行运行configure_network_demo, 用法如下:
configure_network_demo [OPTS] [filename] <SDP IP Address>
slamware_address The ip address string of the SLAMWARE SDP.
AP Configurate network in AP mode.
STA Configurate network in STA mode.
--disable-dhcp disable dhcp.
--enable-dhcp enable dhcp.
--disable-wifi disable wifi
-h Show this message - 点击F5运行