summaryrefslogtreecommitdiffstats
path: root/tests/person.proto
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@npb.mail.kapsi.fi>2011-08-17 19:03:06 +0000
committerPetteri Aimonen <jpa@npb.mail.kapsi.fi>2011-08-17 19:03:06 +0000
commit7f53c3f7484679c1e38607f59542d43be1387650 (patch)
tree396198a24a1661eb7af87d0364a936d8df98a5ae /tests/person.proto
parent2cefaeaf61f38f1566293e53b4708e9ceff2d945 (diff)
Example
git-svn-id: https://svn.kapsi.fi/jpa/nanopb@957 e3a754e5-d11d-0410-8d38-ebb782a927b9
Diffstat (limited to 'tests/person.proto')
-rw-r--r--tests/person.proto3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/person.proto b/tests/person.proto
index 5befb076..dafcf934 100644
--- a/tests/person.proto
+++ b/tests/person.proto
@@ -4,8 +4,7 @@ message Person {
required string name = 1 [(nanopb).max_size = 40];
required int32 id = 2;
optional string email = 3 [(nanopb).max_size = 40];
- optional bytes test = 5 [default="\x00\x01\x02", (nanopb).max_size = 20];
-
+
enum PhoneType {
MOBILE = 0;
HOME = 1;