Hi,
> I'm trying to use the bytes type to transmit bytes array.
> I can't find how to fill it.
>
> message TAG_REPORT_TYPE {
> optional bytes TID = 1;
> }
You'll need to specify max_size option for it in either .proto file
or in a separate .options file. After that it will give an array that
you can fill with:
tagReport.has_TID = true;
tagReport.TID.size = 1;
tagReport.TID.bytes[0] = 0x00;
--
Petteri