1syntax = "proto2"; 2 3import "nanopb.proto"; 4 5message BodyMessage { 6 oneof body_type { 7 bytes device_data_crypted = 1 [(nanopb).max_size = 252]; 8 bytes device_config_crypted = 2 [(nanopb).max_size = 252]; 9 } 10} 11