Probably very simple, but I've spent about 4 hours combing through documentation and nothing is clear enough, or written for a version that I'm probably not using.
I have a message set up like this (I'm leaving out the TimeStamp because that's working with no problems):
message AudioMessage {
required TimeStamp timeStamp = 1;
repeated int32 AudioEntry = 2;
}
Which compiles to
typedef struct _AudioMessage {
TimeStamp timeStamp;
pb_callback_t AudioEntry;
} AudioMessage;
I want to put integers from an array into the AudioEntry field. How do I do this? Encoding and stuff goes fine.
I'd add in some examples of what I've tried already, but nothing I've tried seems to have made any sense to the compiler so far.