summaryrefslogtreecommitdiffstats
path: root/examples/protobuf/sensors/tlv.proto
Commit message (Collapse)AuthorAgeFilesLines
* Format the .proto files according to the clang-format rulesAlexey Edelev2023-08-231-2/+1
| | | | | | | Pick-to: 6.6 6.5 Change-Id: Iedc563ab8689779960dc6a2cc0b5817a874374e0 Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io> Reviewed-by: Konrad Kujawa <konrad.kujawa@qt.io>
* Add the missing copyright and license headers to the .proto filesAlexey Edelev2023-03-061-0/+2
| | | | | | | Pick-to: 6.5 6.5.0 Change-Id: Id3d75385f251e77aebe0b56a82549e19fd0fbf84 Reviewed-by: Konrad Kujawa <konrad.kujawa@qt.io> Reviewed-by: Kai Köhne <kai.koehne@qt.io>
* Add example of communication using protobuf messagesAlexey Edelev2023-02-131-0/+18
Add the protobuf example that emulates the work of dummy sensors that send data to the sensor client. The example uses UDP sockets to send datagrams that contain protobuf messages. Messages consist of two layers: - The Type-Length-Value wrapping message that specifies the the message type and allows to verify the message size. - Sensor message that contains a sensor data. The example intends to show how to generate the code from the protobuf schema and use it in simple UDP signalling protocol on both sender and receiver sides. Both client and emulator have simple UI implemented using QtWidgets. Task-number: QTBUG-109598 Pick-to: 6.5 Change-Id: I13e2c5bcd995b8aa6d873c495a7bd83f6651a061 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>