summaryrefslogtreecommitdiffstats
path: root/tests/person.proto
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@npb.mail.kapsi.fi>2011-08-04 16:49:32 +0000
committerPetteri Aimonen <jpa@npb.mail.kapsi.fi>2011-08-04 16:49:32 +0000
commita8d0172507d59b73b95f766aa7644147fd060f20 (patch)
tree56115021e9bed640e273851f0a99631163041bba /tests/person.proto
parent3959290bc77ae26772bc107128b0a4edd3930361 (diff)
Encoder
git-svn-id: https://svn.kapsi.fi/jpa/nanopb@951 e3a754e5-d11d-0410-8d38-ebb782a927b9
Diffstat (limited to 'tests/person.proto')
-rw-r--r--tests/person.proto2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/person.proto b/tests/person.proto
index 01b2d4e1..5befb076 100644
--- a/tests/person.proto
+++ b/tests/person.proto
@@ -4,7 +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 = "abc\x00\x01\x02"];
+ optional bytes test = 5 [default="\x00\x01\x02", (nanopb).max_size = 20];
enum PhoneType {
MOBILE = 0;