Zigbee read name from buffer

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
Ondra
Posts: 325
Joined: Wed Aug 29, 2007 7:33 pm
Been thanked: 2 times
Contact:

Zigbee read name from buffer

Post 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

User avatar
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

Post by Benj »

Hello Ondra,

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

Post Reply