[BitCloud] Using PDS_Store after ZCL_WriteAttributeValue resets stored values

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have noticed a problem when calling ZCL_WriteAttributeValue then calling PDS_Store right after it, for the same cluster attributes. The value is written successfully but when the node is reset, it can't be retrieved from flash (PDS_IsAbleToRestore returns false). If the value, however, is written directly into memory, not using ZCL_WriteAttributeValue, everything goes fine. Is there some conflict between the two APIs?

Beshoy R. Samy

Embedded Systems Engineer

Cairo, Egypt

Last Edited: Thu. Oct 15, 2015 - 09:54 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

I'd just write directly into the variable. What's the point of making life harder for yourself?

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I was thinking about getting rid of calling ZCL_ReportOnChangeIfNeeded every time I change anything. Now I have to revert those changes. But really BitCloud PDS has serious problems.

Beshoy R. Samy

Embedded Systems Engineer

Cairo, Egypt

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

beshoyrsamy wrote:
But really BitCloud PDS has serious problems.
Absolutely. Feel free to complain to the support. Nobody listens to me, when I say that.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.