迷你看门狗
来自Jack's Lab
目录 |
1 主控SoC
- Tensilica Xtensa LX3 32-bit RISC SOC clocked at 80 MHz
- 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 支持:
2 Web Server API
2.1 恢复出厂设置
$ curl -X POST -H "Content-Type:application/json" -d '{"factory":1}' http://IP/config?command=param
2.2 系统复位
$ curl -X POST -H "Content-Type:application/json" -d '{"reset":1}' http://IP/config?command=param
2.3 切换AP 和STA 工作模式
$ curl -X POST -H "Content-Type:application/json"
2.4 获取模块上电运行时间
$ curl Curl -X GET http://IP/config?command=systime
2.5
$ curl -X POST -H "Content-Type:application/json" -d '{"factory":1}' http://IP/config?command=param
2.6
$ curl -X POST -H "Content-Type:application/json" -d '{"factory":1}' http://IP/config?command=param
2.7 串口波特率
$ curl -X POST -H "Content-Type:application/json" -d '{" uartbaud":baudrate}' http://IP/config?command=param
其中baudrate 代表要设置的波特率。 { “response”:{ “systime”:11111 } }
2.8 设置dataserver 端口
$ curl -X POST -H "Content-Type:application/json" -d '{" dataport":port}' http://IP/config?command=param
其中port 代表要设置的端口号
2.9
$ curl -X POST -H "Content-Type:application/json" -d '{"factory":1}' http://IP/config?command=param