Search found 5 matches

by RenJian
Sat Mar 10, 2018 6:41 am
Forum: General Discussion
Topic: BCN_TIMOUT,AP_PROBE_SEND_START
Replies: 0
Views: 2550

BCN_TIMOUT,AP_PROBE_SEND_START

Hi, I have a mqtt pubsub library, but sometimes I reconnect to the mqtt server failed, serial device print log about wifi: I (159982920) wifi: bcn_timout,ap_probe_send_start I (159985420) wifi: ap_probe_send over, resett wifi status to disassoc I (159985420) wifi: state: run -> init (1) I (159985430...
by RenJian
Thu Dec 21, 2017 1:22 am
Forum: ESP-IDF
Topic: How tp make wifi sta reconnect AP?
Replies: 1
Views: 3075

How tp make wifi sta reconnect AP?

Hi,
I set wifi to sta mode ,and use "esp_wifi_connect " Api to connect to special AP. When I shut down the AP, the sta will disconnect to the AP. but iff I reopen the AP, How to make the sta detect it , and reconnect the AP?
thanks.
by RenJian
Tue Nov 21, 2017 6:26 am
Forum: ESP-IDF
Topic: How to set rtc time
Replies: 3
Views: 9624

Re: How to set rtc time

Hi,
Thanks for reply.
I find three rtc apis: get_time_since_boot/get_boot_time/set_boot_time.
if I want to set the rtc time, Can I just set boot time with "set_boot_time" api? and Getting the rtc time use "rtc_time = get_time_since_boot + get_boot_time"?
by RenJian
Tue Nov 21, 2017 2:20 am
Forum: General Discussion
Topic: How to get current wifi connect status
Replies: 1
Views: 5665

How to get current wifi connect status

Hi,
I can get some wifi status such as mode, channel and so on in esp wifi apis, But How can I get the current wifi connect status? I recall the code, but I can't find it.
Look forward to your favourable reply, Thanks.
by RenJian
Fri Nov 17, 2017 6:17 am
Forum: ESP-IDF
Topic: How to set rtc time
Replies: 3
Views: 9624

How to set rtc time

Hi,

I can find "rtc_time_get" to get the current time, but How can I reset the rtc time? have any apis?

thanks very much!