Description format for an embedded structure
Posted
by praetorian20
on Stack Overflow
See other posts from Stack Overflow
or by praetorian20
Published on 2010-03-15T16:00:41Z
Indexed on
2010/03/15
16:59 UTC
Read the original article
Hit count: 169
embedded
Hi, I have a C structure that allow users to configure options in an embedded system. Currently the GUI we use for this is custom written for every different version of this configuration structure. What I'd like for is to be able to describe the structure members in some format that can be read by the client configuration application, making it universal across all of our systems.
I've experimented with describing the structure in XML and having the client read the file; this works in most cases except those where some of the fields have inter-dependencies. So the format that I use needs to have a way to specify these; for instance, member A must always be less than or equal to half of member B.
Thanks in advance for your thoughts and suggestions.
© Stack Overflow or respective owner