Home/Support/Support Forum/WiFi S6B WR use sparingly

WiFi S6B WR use sparingly

0 votes
The WiFi S6B manual in the "AT Commands" about WR (Write)
"Use the WR command sparingly to preserve flash"
Ref Pg197
XBee Wi-Fi RF Module S6B User Guide 90002180 RevU 2019Aug

I'm using a library https://github.com/vshymanskyy/TinyGSM
and when it comes out of sleep it sets a few parameters ATAP0 ATGT64 ATCT64 followed by an ATWR .

What does "Use the WR command sparingly to preserve flash" mean.
If the values of a register are already set, is the ATWR smart enough to see that and not make changes in the flash?.

many thanks
asked Jan 21 in XBee Programmable Development by neilh20 New to the Community (7 points)
recategorized Jan 21 by LeonidM

Please log in or register to answer this question.

2 Answers

0 votes
It means that you should only issue the WR if the values you are setting have not already been written to flash. IE, you should read the values and ONLY if they are different should you set the value and write it.
answered Feb 16 by mvut Veteran of the Digi Community (14,807 points)
0 votes
@mvut Many thanks.
Sorry it was an obvious question, but just wondering with all the other smarts in the software, if this was being driven by a hardware limitation on the life of the internal persistence store.
To state a fact about hardware specifications, if there is a limited life of the internal persistent store (like there is with EEPROM), I would expect that to be identified in the hardware specification.
If it isn't a limitation in the hardware persistent store, then I'm wondering what the limitation is?
answered Feb 16 by neilh20 New to the Community (7 points)
...