diff options
| author | Aditya Naik | 2020-06-22 12:46:59 -0400 |
|---|---|---|
| committer | Aditya Naik | 2020-06-22 12:46:59 -0400 |
| commit | 0915882d1ee834d2cc7c8d4ca9bcdb7495dbe1a1 (patch) | |
| tree | 823f7899a2d59af38ac3472e9e2e092abd4b47a9 | |
| parent | 2acabd3ce6ed5522a2b3ce6728facc74bbbbd23a (diff) | |
Newer proto file for dataflow
| -rw-r--r-- | data.proto | 23 |
1 files changed, 6 insertions, 17 deletions
@@ -50,22 +50,11 @@ message m2s_CTS { required uint32 timeout = 1; } -/* Commands when SOR code is 3 */ -message m2s_command { - optional uint32 source_module_id = 1 [default=1]; - optional uint32 source_i2c_address = 2 [default=1]; - - optional bytes cmd_bytes = 3; - optional string cmd_str = 4; -} - -/* Commands from slave */ -message s2m_command { - optional uint32 dest_module_id = 1; - repeated uint32 dest_module_id_multicast = 2; - - optional bytes cmd_bytes = 3; - optional string cmd_str = 4; +message command { + required uint32 source_module_id = 1; + required uint32 dest_module_id = 2; + optional bytes cmd_bytes = 3; + optional string cmd_str = 4; } message _datapoint { @@ -80,4 +69,4 @@ message _datapoint { message s2m_data { repeated _datapoint datapoints = 1; -}
\ No newline at end of file +} |
