1 | initial version |
-- DRAFT --
If this is the desired results, I'll clean up the lua code and post it along with config steps.
Protocol Buffers: /export_data.streamDataOut/streamData,request Message: export_data.streamDataArgs [Message Name: export_data.streamDataArgs] Field(1): Id = 1234 (int64) [Field Name: Id] [Field Type: int64 (3)] .000 1... = Field Number: 1 .... .000 = Wire Type: varint (0) Value: d209 Int64: 1234 Id: 1234 Field(2): data1 (bytes) [Field Name: data1] [Field Type: bytes (12)] .001 0... = Field Number: 2 .... .010 = Wire Type: Length-delimited (2) Value Length: 42 Value: 0a0d6d6163446174612e70726f746f12190a1130303a30303a30303a30303a31323a464610eb86b5af06 data1: (42 bytes) All types Protocol Buffers: encoded_data.encodeDataInfo Message: encoded_data.encodeDataInfo [Message Name: encoded_data.encodeDataInfo] Field(1): name = macData.proto (string) [Field Name: name] [Field Type: string (9)] .000 1... = Field Number: 1 .... .010 = Wire Type: Length-delimited (2) Value Length: 13 Value: 6d6163446174612e70726f746f String: macData.proto name: macData.proto Field(2): val (bytes) [Field Name: val] [Field Type: bytes (12)] .001 0... = Field Number: 2 .... .010 = Wire Type: Length-delimited (2) Value Length: 25 Value: 0a1130303a30303a30303a30303a31323a464610eb86b5af06 val: (25 bytes) All types Protocol Buffers: mac_data.macDataInfo Message: mac_data.macDataInfo [Message Name: mac_data.macDataInfo] Field(1): mac_addr = 00:00:00:00:12:FF (string) [Field Name: mac_addr] [Field Type: string (9)] .000 1... = Field Number: 1 .... .010 = Wire Type: Length-delimited (2) Value Length: 17 Value: 30303a30303a30303a30303a31323a4646 String: 00:00:00:00:12:FF mac_addr: 00:00:00:00:12:FF Field(2): time = 1710048107 (uint64) [Field Name: time] [Field Type: uint64 (4)] .001 0... = Field Number: 2 .... .000 = Wire Type: varint (0) Value: eb86b5af06 Uint64: 1710048107 time: 1710048107