Search found 35 matches

by dhs2017
Tue Sep 11, 2018 3:46 am
Forum: General Discussion
Topic: aws cert storage location
Replies: 1
Views: 132

aws cert storage location

Hi, is it possible to store the aws cert in nvs instead of sd card or code embedded?
I want to update the cert of the device but it doesn't have sd card.
by dhs2017
Fri Sep 07, 2018 2:09 am
Forum: General Discussion
Topic: keep variable after restart
Replies: 9
Views: 478

Re: keep variable after restart

i see,, thx ivan
by dhs2017
Fri Sep 07, 2018 12:20 am
Forum: General Discussion
Topic: keep variable after restart
Replies: 9
Views: 478

Re: keep variable after restart

Hi Ivan,

it seems RTC_DATA_ATTR will lose after software reset.

In fact, I am working on this to resolve the problem of wifi turn on/off and then RTC IO case deep sleep current increase which I raised in github issue, is there any update on this issue?
by dhs2017
Thu Sep 06, 2018 9:29 am
Forum: General Discussion
Topic: keep variable after restart
Replies: 9
Views: 478

Re: keep variable after restart

yes, I did. below is my simple code. If I use part A, variable test will increment every 4 second. However, if I comment out PART A, and use the esp_deep_sleep, the test variable become a strange value and won't increment. that means deep sleep wake up cleared the test variable? static RTC_NOINIT_AT...
by dhs2017
Thu Sep 06, 2018 8:57 am
Forum: General Discussion
Topic: keep variable after restart
Replies: 9
Views: 478

Re: keep variable after restart

I found that the RTC_NOINIT_ATTR variable will be reset if it's wake up from deep sleep.
by dhs2017
Wed Sep 05, 2018 9:08 am
Forum: General Discussion
Topic: keep variable after restart
Replies: 9
Views: 478

Re: keep variable after restart

Hi WiFive, Yes, not power restart,but just software restart or restart cause by system crash. I have tried the following way, but it seems the value cannot be init to zero. It started with some value. I expected it start with 0 and then increment after each esp_restart(). Any example on how to use t...
by dhs2017
Wed Sep 05, 2018 5:39 am
Forum: General Discussion
Topic: keep variable after restart
Replies: 9
Views: 478

keep variable after restart

There is a RTC_DATA_ATTR which can keep the variable after deepsleep wake up, is there any method to keep the variable after restart?
by dhs2017
Tue Aug 21, 2018 9:34 am
Forum: General Discussion
Topic: deep sleep current after wifi stop
Replies: 0
Views: 105

deep sleep current after wifi stop

I tried to run a simple wifi program, init wifi ->then connect to router->wifi stop->deep sleep, the deep sleep current is around 1.x mA. However, if I don't run the wifi procedure, just start and then deep sleep, the current is around 5.x uA, is it normal? any procedure missing on the wifi routine ...
by dhs2017
Thu Jun 07, 2018 6:36 am
Forum: General Discussion
Topic: ESP32 as bluetooth 5 device provisioner
Replies: 1
Views: 257

ESP32 as bluetooth 5 device provisioner

Hi, Is it possible to make a ESP32 as a bluetooth 5 device provisioner?
by dhs2017
Wed Dec 20, 2017 3:11 pm
Forum: General Discussion
Topic: BLE client search and AWS simultaneously
Replies: 0
Views: 210

BLE client search and AWS simultaneously

hi, i found that when I perform BLE client search, AWS MQTT will disconnect, and after the ble client search finished, the mqtt will be re-connected again, is it normal?