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
Zigbee read name from buffer
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Zigbee read name from buffer
Hello Ondra,
Yes the string will be terminated with a byte equaling 0 or null in ASCII.
Yes the string will be terminated with a byte equaling 0 or null in ASCII.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel