Posts: 1
Registered: ‎03-09-2017

Byte order for emberAfWriteAttribute() and friends

I'm having trouble finding a direct answer to this.  When I call emberAfWriteAttribute() and related functions, should byte 0 of the provided buffer be the MSB or the LSB of my value?  I am using a lot of attributes that are 24- and 48-bit, and just can't seem to find the answer.  


Also, are there any built-in functions for working with these values?  For example, built in math or packaging functions that I can use?  


Thanks for any tips.