Structs can contain strings, we still don't encode and decode these but
this change makes the generated header file compilable.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
The accessor function generator for strings in qmi messages output code
that is incorrect, fix this.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Allow specifying message type for the tlv support functions to verify
and create the right type of qmi header.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This initial implementation is capable of generating encoder and decoder
accessors for messages with basic integers, strings, arrays and structs.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>