<<<<<<< HEAD
esp8266-smartconfig
=======
Instruction in English is followed by Chinese.
### 说明
这只是一个测试demo,仅供学习交流。如果你测试出软件的bug 或者有任何改进意见,请联系我。
QQ:491505215
Email:lanyiyang_dh@163.com
### Introductions
This just a test demo, only for study and communication. If you test the software bugs or have any improvement, please contact me.
QQ:491505215
Email:lanyiyang_dh@163.com
### 名词定义
*Smartconfig* 用于在物理网设备没有外部输入端时,使用手机对其进行配置的一种通用的说法。
### Definition of Smartconfig
*Smartconfig* is a generic phrase when you configure your IoT devices by mobile phone, PC etc. instead of physical external devices.
### 使用方法
在需要使用 `smartconfig` 的地方调用
```c
smartconfig_init();
```
**手机端**: 有配套的Android demo。IOS的demo麻烦万能的网友帮忙实现了。
**SDK 版本**: 0.9.3 by Espressif
由于espressif在v0.9.4上面修改了sniffer的函数,导致用户层无法得到一个完整的数据包,所以目前只能在0.9.3的版本上测试。
### Usage
Call `smartconfig_init();` when you want to use Smarkconfig to configure.
**Mobile**: Just have Android demo. If you have realized the IOS demo,please contact me.
**SDK Version**: 0.9.3 by Espressif
### 原理
UDP packet len。
### Principle
UDP packet len。
### 协议
The MIT License (MIT)
Copyright (c) 2014 younger
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
### License
See above.
### Reference
在这里特别感谢kali的blog,从他的代码中进行了修改,欢迎大家讨论。
=======
# esp8266-smartconfig
This is a smartconfig demo code on esp8266. Just enjoy yourself!!!
>>>>>>> 09452215c7d9230e8f34d620f0b8378f9c72493b
没有合适的资源?快使用搜索试试~ 我知道了~
esp8266-smartconfig—demo
共400个文件
h:106个
c:81个
d:62个
4星 · 超过85%的资源 需积分: 16 117 下载量 199 浏览量
2015-07-27
21:34:25
上传
评论 3
收藏 2.17MB ZIP 举报
温馨提示
esp8266先scan 下AP ,得到AP的相关信息,如工作的channel ,然后配置wifi芯片工作在刚才scan到的channel上去接收UDP包,如果没有接收到,继续配置ESP8266工作在另外的channel上,如此循环,直到收到UDP包为止,为什么要提前进行SCAN 下WIFI AP呢?就是为了提高配置效率。假设当前网络中只有两个AP,一个AP工作在CHANEL1,另外个 ap工作在channel13,我们现在需要配置智能硬件连接到AP2 ,就是channel13上,如果不提前scan就需要从1--13扫描浪费时间。就是需要从channel1-chane2 ---...channnel13一直扫描了,如果扫描了AP,芯片马上从AP CHANNNEL1 到channel13加快获取到UDP包;
资源推荐
资源详情
资源评论
收起资源包目录
esp8266-smartconfig—demo (400个子文件)
liblwipcore.a 416KB
libsslssl.a 306KB
liblwip.a 232KB
libsslcrypto.a 229KB
liblwipapp.a 199KB
libnet80211.a 177KB
libssl.a 155KB
libpp.a 154KB
libphy.a 134KB
libwpa.a 121KB
liblwipipv4.a 118KB
libsslapp.a 83KB
libmain.a 80KB
liblwipnetif.a 44KB
liblwipapi.a 15KB
libjson.a 12KB
libupgrade.a 11KB
resources.ap_ 5KB
SmartConfig.apk 15KB
gen_misc.bat 904B
gen_misc_plus.bat 704B
blank.bin 4KB
boot_v1.1.bin 2KB
esp_init_data_default.bin 128B
boot_v1.1.bin_rep 2KB
sockets.c 67KB
dhcp.c 64KB
ssl_tls1.c 62KB
tcp_in.c 61KB
tcp.c 53KB
user_webserver.c 51KB
tcp_out.c 49KB
etharp.c 49KB
api_msg.c 44KB
user_esp_platform.c 44KB
pbuf.c 39KB
ssl_bigint.c 39KB
espconn_ssl.c 36KB
udp.c 32KB
ip.c 32KB
espconn_tcp.c 32KB
dns.c 30KB
ip_frag.c 28KB
igmp.c 27KB
dhcpserver.c 25KB
mem.c 22KB
espconn.c 22KB
api_lib.c 22KB
netif.c 22KB
autoip.c 18KB
ssl_x509.c 16KB
ssl_asn1.c 16KB
ssl_p12.c 15KB
memp.c 15KB
ssl_tls1_svr.c 15KB
ssl_loader.c 14KB
ssl_aes.c 14KB
timers.c 13KB
inet_chksum.c 13KB
tcpip.c 13KB
smartconfig.c 13KB
init.c 13KB
ssl_tls1_clnt.c 12KB
icmp.c 12KB
user_esp_platform_timer.c 12KB
ssl_gen_cert.c 11KB
netdb.c 11KB
raw.c 11KB
ssl_crypto_misc.c 10KB
ssl_md5.c 10KB
netio.c 10KB
upgrade.c 10KB
pwm.c 10KB
espconn_udp.c 9KB
jsontree.c 9KB
ssl_openssl.c 9KB
ssl_rsa.c 8KB
ip_addr.c 8KB
i2c_master.c 8KB
jsonparse.c 8KB
ping.c 8KB
ssl_sha1.c 8KB
netbuf.c 7KB
user_sensor.c 6KB
uart.c 6KB
key.c 6KB
stats.c 6KB
ssl_md2.c 5KB
user_plug.c 5KB
user_json.c 5KB
netifapi.c 5KB
ssl_os_port.c 4KB
user_devicefind.c 4KB
upgrade_lib.c 4KB
ssl_hmac.c 3KB
user_light.c 3KB
def.c 3KB
err.c 3KB
ssl_rc4.c 3KB
espconn_secure.c 3KB
共 400 条
- 1
- 2
- 3
- 4
资源评论
- task_struct2016-09-26只是apk?有设备端代码不?
- itolddd97202017-10-08这个是8266SDK的代码,想要android端源码
- ICAN2017-05-15很有参考价值,多谢了!
- shareinfo20182015-08-06不错 很好的资源
bisheng5678
- 粉丝: 1
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功