1syntax = "proto2"; 2 3package permission_test; 4 5option java_package = "com.google.android.chre.nanoapp.proto"; 6option java_outer_classname = "PermissionTest"; 7 8// Nanoapp message type can be either host to chre (H2C) or chre to host (C2H) 9enum MessageType { 10 // Reserved for corrupted messages 11 UNDEFINED = 0; 12 13 // H2C: A message to start the test. No payload. 14 TEST_COMMAND = 1; 15 16 // C2H: A message indicating the test result. The ping test nanoapp will only 17 // use this message to report a failure. 18 // Payload must be chre_test_common.TestResult. 19 TEST_RESULT = 2; 20}