Page 1 of 1

Zigbee read name from buffer

Posted: Mon Feb 27, 2012 4:42 pm
by Ondra
Good day.
Zigbee's - "Read_name_from_buffer" macro allows you to read the name one byte at a time. When indexing through the bytes what is the terminator for the end of the name? Is a '0' as it is with strings?

Ondra

Re: Zigbee read name from buffer

Posted: Mon Feb 27, 2012 4:47 pm
by Benj
Hello Ondra,

Yes the string will be terminated with a byte equaling 0 or null in ASCII.