Search found 32 matches

by ESP_Luna
Tue Jul 28, 2015 12:57 pm
Forum: FAQs
Topic: Q: How do I define my own functions in the AT+ commands? How do I pass parameters between them?
Replies: 0
Views: 8728

Q: How do I define my own functions in the AT+ commands? How do I pass parameters between them?

Q : How do I define my own functions in the AT+ commands? How do I pass parameters between them? In the example of \ESP8266_NONOS_SDK\examples\at \user\user_main.c, ways are delivered on how to implement a self-defined AT Command, "AT+TEST". The structure, at_funcationType, is used to def...
by ESP_Luna
Tue Jul 28, 2015 12:57 pm
Forum: FAQs
Topic: Q: 如何在AT+指令中定义自己的函数?如何在函数之间传递参数?
Replies: 0
Views: 4299

Q: 如何在AT+指令中定义自己的函数?如何在函数之间传递参数?

Q : 如何在AT+指令中定义自己的函数?如何在函数之间传递参数? 在 \ESP8266_NONOS_SDK\examples\at\user\user_main.c 示例中有提供如何实现一条自定义的 AT 指令 “AT+TEST”。 结构体 at_funcationType 用于定义一条指令的四种类型,例如指令名称 “AT+TEST”。 ⋅ 类型at_testCmd :测试指令,对应指令为 AT+TEST=?,AT 示例中注册的实现回调为 at_testCmdTest,测试指令可以设计为返回参数的取值范围;注册为 NULL,则无测试指令。 ⋅ 类型 ...
by ESP_Luna
Tue Jul 28, 2015 12:55 pm
Forum: FAQs
Topic: Q: Can I disable the watchdog reset?
Replies: 0
Views: 10425

Q: Can I disable the watchdog reset?

Q : Can I disable the watchdog reset? You can create functions of timer and call_back to replace while(1) loop in the non-OS SDK. If the consecutive execution time of a piece of code exceeds 3.2s, you can disable the watchdog reset through the following methods: ⋅ Call the function of sys...
by ESP_Luna
Tue Jul 28, 2015 12:55 pm
Forum: FAQs
Topic: Q: 我可以禁止看门狗复位吗?
Replies: 0
Views: 3918

Q: 我可以禁止看门狗复位吗?

Q : 我可以禁止看门狗复位吗? 在non-OS SDK中用户可以通过创建 timer 和 call_back 函数代替 while(1) 循环。 如果某段代码连续执行时间必须超过3.2s,用户用下面的方式解决看门狗复位的问题。 ⋅ 在执行该代码段前调用systerm_soft_wdt_stop() 函数,从关闭 wdt 到硬 wdt 触发,有6s的时间。 ⋅ 在代码段里执行若干次喂狗操作 systerm_soft_wdt_feed()。 ⋅ 在代码段执行完毕后,调用 systerm_soft_wdt_restart() 函数。
by ESP_Luna
Tue Jul 28, 2015 12:53 pm
Forum: FAQs
Topic: Q: My program triggers the watchdog reset. Why is this so?
Replies: 0
Views: 1819

Q: My program triggers the watchdog reset. Why is this so?

Q : My program triggers the watchdog reset. Why is this so? [Non-OS SDK] If the consecutive execution time of a piece of code exceeds 3.2s, the watchdog will reset. The watchdog feed is executed in task, and if it cannot be executed when the execution time passes over 3.2 s, the watchdog will reset...
by ESP_Luna
Tue Jul 28, 2015 12:53 pm
Forum: FAQs
Topic: Q: 编程时出现了看门狗复位的问题,为什么会出现这一问题?
Replies: 0
Views: 2552

Q: 编程时出现了看门狗复位的问题,为什么会出现这一问题?

Q: 编程时出现了看门狗复位的问题,为什么会出现这一问题?
【Non-OS SDK】
用户的某段代码的连续执行时间如果大于 3.2 s,会发生看门狗复位。因为喂狗的任务是在 task 中执行, 超过 3.2 s 的时间如果该 task 无法执行,就会发生看门狗复位。
【OS SDK】
用户应当注意临界保护或者挂起调度器的时间不能超过 3.2s。
by ESP_Luna
Tue Jul 28, 2015 12:50 pm
Forum: FAQs
Topic: Q: How to put the chip into sleep mode? and what conditions do we need?
Replies: 0
Views: 2927

Q: How to put the chip into sleep mode? and what conditions do we need?

Q : How to put the chip into sleep mode? and what conditions do we need? ESP8266 supports three sleep modes, i.e., Modem-sleep, Light-sleep and Deep-sleep. For Modem-sleep and Light-sleep, ESP8266 must meet the following requirements: ⋅ ESP8266 is set to Station_only mode. ⋅ ESP...
by ESP_Luna
Tue Jul 28, 2015 12:50 pm
Forum: FAQs
Topic: Q: 怎样使芯片进入休眠模式?需要满足什么条件?
Replies: 0
Views: 2855

Q: 怎样使芯片进入休眠模式?需要满足什么条件?

Q : 怎样使芯片进入休眠模式?需要满足什么条件? ESP8266 支持三种休眠方式:Modem-sleep,Light-sleep 和 Deep-sleep。ESP8266 进入 Modem-sleep 或者 Light-sleep 必须满足以下的条件。 ⋅ ESP8266 被设置为 Station_only 模式。 ⋅ ESP8266 链接到路由器获得 IP 地址。 ⋅ 系统处于空闲态。 【函数调用】 ⋅ 调用 wifi_set_sleep_type 函数,选择 ESP8266 进入 Modem-sleep ...
by ESP_Luna
Tue Jul 28, 2015 12:44 pm
Forum: FAQs
Topic: Q: ESP8266 支持 HTTP 协议吗?如何实现?
Replies: 1
Views: 6055

Q: ESP8266 支持 HTTP 协议吗?如何实现?

Q : ESP8266 支持 HTTP 协议吗?如何实现? ESP8266 可以支持 HTTP 协议。 【non-OS SDK】 通过 espconn_sent(struct espconn *espconn, uint8 *psent, uint16 length) 实现 该函数中 espconn 为 TCP 通信的结构体,里面指定服务器的 IP 和 Port。 ⋅ Psent:为发送数据的 Buffer 地址,用户需要将要发送的 Http 数据放到该psent 指向的 Buffer 中。 ⋅ Length:要发送的数据的长度。 【OS SDK】 调...
by ESP_Luna
Mon Jul 27, 2015 8:44 pm
Forum: Documentation Request
Topic: Post Your Documentation Requirement Here
Replies: 11
Views: 17054

Post Your Documentation Requirement Here

If you can't find the document in our document list , post your documentation requirement here.

Go to advanced search