查看迷你看门狗的源代码
←
迷你看门狗
跳转到:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您刚才请求的操作只有这个用户组中的用户才能使用:
用户
您可以查看并复制此页面的源代码:
== 主控SoC == ;; Tensilica Xtensa LX3 32-bit RISC SOC clocked at 80 MHz [[文件:Tensilica-xtensalx3.jpg]] * 32-bit ALU * 16, 32 or 64 GPR * six special purpose registers * 80 base instructions The Xtensa ISA employs 24-bit instructions with 16-bit narrow encodings for the most common instructions. Toolchain 支持: * https://github.com/jcmvbkbc/gcc-xtensa <br><br> == Web Server API == === client info === <source lang=bash> $ curl -X GET http://192.168.1.112/client?command=info { "Version":{ "hardware":"0.3", "software":"0.9.3" }, "Device":{ "product":"Humiture", "manufacturer":"Espressif Systems" } } </source> <br><br> === client status === <source lang=bash> $ curl -X GET http://192.168.1.112/client?command=status { "Status":{ "status":40 } } </source> <br><br> === client scan === <source lang=bash> $ curl -X GET "http://192.168.1.112/client?command=scan" { "Response":{ "TotalPage":2 } } </source> <br><br> === config wifi === <source lang=bash> $ curl -X GET http://192.168.1.112/config?command=wifi { "Response":{ "Station":{ "Connect_Station":{ "ssid":"HOME-WIFI", "password":"xxxxxxxx" }, "Ipinfo_Station":{ "ip":"192.168.1.112", "mask":"255.255.255.0", "gw":"192.168.1.1" } }, "Softap":{ "Connect_Softap":{ "authmode":"OPEN", "channel":11, "ssid":"ESP_9CCF90", "password":"" }, "Ipinfo_Softap":{ "ip":"192.168.4.1", "mask":"255.255.255.0", "gw":"192.168.4.1" } } } </source> <br><br> === === <source lang=bash> $ </source> <br><br> === === <source lang=bash> $ </source> <br><br> === === <source lang=bash> $ </source> <br><br> === === <source lang=bash> $ </source> <br><br> === 恢复出厂设置 === <source lang=bash> $ curl -X POST -H "Content-Type:application/json" -d '{"factory":1}' http://IP/config?command=param </source> <br><br> === 系统复位 === <source lang=bash> $ curl -X POST -H "Content-Type:application/json" -d '{"reset":1}' http://IP/config?command=param </source> <br><br> === 切换AP 和STA 工作模式 === <source lang=bash> $ curl -X POST -H "Content-Type:application/json" </source> <br><br> === 获取模块上电运行时间 === <source lang=bash> $ curl -X GET http://IP/config?command=systime </source> <br><br> === === <source lang=bash> $ curl -X POST -H "Content-Type:application/json" -d '{"factory":1}' http://IP/config?command=param </source> <br><br> === === <source lang=bash> $ curl -X POST -H "Content-Type:application/json" -d '{"factory":1}' http://IP/config?command=param </source> <br><br> === 串口波特率 === <source lang=bash> $ curl -X POST -H "Content-Type:application/json" -d '{" uartbaud":baudrate}' http://IP/config?command=param </source> 其中baudrate 代表要设置的波特率。 { “response”:{ “systime”:11111 } } <br><br> === 设置dataserver 端口 === <source lang=bash> $ curl -X POST -H "Content-Type:application/json" -d '{" dataport":port}' http://IP/config?command=param </source> 其中port 代表要设置的端口号 <br><br> === === <source lang=bash> $ curl -X POST -H "Content-Type:application/json" -d '{"factory":1}' http://IP/config?command=param </source> <br><br> <br><br> <br><br> <br><br> <br><br> <br><br> <br><br> <br><br> <br><br> <br><br> <br><br> <br><br>
返回到
迷你看门狗
。
个人工具
登录
名字空间
页面
讨论
变换
查看
阅读
查看源代码
查看历史
操作
搜索
导航
首页
社区专页
新闻动态
最近更改
随机页面
帮助
工具箱
链入页面
相关更改
特殊页面