[BitCloud] OTAU Cluster ZCL Header

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

Hi,
while playing around with the OTAU stuff I saw that the OTAU Client Cluster sends a wrong ZCL Header in the ZCL Read Attributes Response

The direction field is set to server_to_client but it should be client_to_server.

Maybe there is a typo in the OTAU implementation? This is the first client cluster with attributes which I readed. Reading attributes from server clusters work fine - so maybe this relates to client clusters in general?

Last Edited: Fri. Oct 16, 2015 - 02:27 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Reading attributes is not OTA specific and there are server and client attributes, they are different. What attribute are you talking about?

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

Quote:
What attribute are you talking about?

The client attributes "upgrade server" and "image upgrade status" defined in the zclOTAUCluster.h header.

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

Yes, they should be client to server. I don't have sources at hand to check (I'm on vacation), but I think stack just reverses direction bit from the request. Can you check please if your request is correct?

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

The outgoing ZCL frame control field is 0x18 so it contains the direction flag server to client 0x08. The incoming frame control field is 0x18 too.

The payload data is ok and contains correct values.

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

Ok, thank you. I'll be able to check this in a week, when I'm back from vacation.

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

Thanks
have a nice time :-)