Searched full:example (Results 1 – 25 of 40) sorted by relevance
12
| /nanopb-latest/.github/workflows/ |
| D | platformio_tests.yml | 15 name: Build and run PlatformIO example 43 - name: Example - Extract PlatformIO package to example dir 46 cp -R nanopb/examples/platformio example 47 mkdir -p example/lib/nanopb 48 tar -xzf nanopb/Nanopb-*.tar.gz -C example/lib/nanopb 50 - name: Example - Build 53 cd example 56 - name: Example - Run test without options 57 run: example/.pio/build/pio_without_options/program 59 - name: Example - Run test with options [all …]
|
| D | cmake.yml | 34 - name: Compile example against installed library 63 - name: Compile example against installed library
|
| /nanopb-latest/examples/cmake_relpath/ |
| D | README.txt | 1 Nanopb example "simple" using CMake 4 This example is the same as the simple nanopb example but built using CMake. 6 Example usage
|
| /nanopb-latest/examples/cmake_simple/ |
| D | README.txt | 1 Nanopb example "simple" using CMake 4 This example is the same as the simple nanopb example but built using CMake. 6 Example usage
|
| /nanopb-latest/examples/simple/ |
| D | README.txt | 1 Nanopb example "simple" 4 This example demonstrates the very basic use of nanopb. It encodes and 14 Example usage 17 On Linux, simply type "make" to build the example. After that, you can
|
| /nanopb-latest/examples/using_union_messages/ |
| D | README.txt | 1 Nanopb example "using_union_messages" 9 This directory contains an example on how to encode and decode union messages 24 Example usage 27 Type `make` to run the example. It will build it and run commands like 44 unionproto.proto contains the protocol used in the example. It consists of
|
| D | unionproto.proto | 1 // This is an example of how to handle 'union' style messages
|
| /nanopb-latest/examples/network_server/ |
| D | README.txt | 1 Nanopb example "network_server" 4 This example demonstrates the use of nanopb to communicate over network 8 Example usage 11 user@host:~/nanopb/examples/network_server$ make # Build the example 44 example Python or Java.
|
| /nanopb-latest/examples/conan_dependency/ |
| D | README.md | 2 This example shows how to use Conan to pull in the header files and static libraries 7 ### Before using this example
|
| D | conanfile.py | 6 description = "An example of importing nanopb as a conan artifact"
|
| /nanopb-latest/tests/any_type/ |
| D | anytest.proto | 1 // This file is an example and test case on handling the Any type in nanopb. 12 // special support to handle. In this example, we just set maximum size for
|
| /nanopb-latest/docs/ |
| D | index.md | 39 - person.proto (just an example) 80 message Example { 93 } Example; 105 Example mymessage = {42}; 112 message to `protoc --decode=Example message.proto` to verify its 115 For a complete example of the simple case, see [examples/simple/simple.c](https://github.com/nanopb… 116 For a more complex example with network interface, see the [examples/network_server](https://github… 131 file `extra/pb_syshdr.h` instead. It contains an example of how to
|
| D | whats_new.md | 97 inclusion in the message structure. For example, you could have 103 …ples/network_server](https://github.com/nanopb/nanopb/tree/master/examples/network_server) example. 119 There is an example of this in [tests/oneof_callback](https://github.com/nanopb/nanopb/tree/master/… 155 generated on other machines. There has been an example on how to 159 Now that example is integrated as an optional feature in nanopb core. By
|
| D | concepts.md | 65 5) Always read or write the full requested length of data. For example, 87 **Example 1:** 97 **Example 2:** 131 **Example:** 240 Your code can then handle the field in custom ways, for example decode 269 fields as it likes. For example, if you want to write out an array as 360 For example this submessage in the Person.proto file: 402 sections, where only one of the fields contained within can be present. Here is an example of `oneo… 463 for an example on this. 503 .proto. For example, for a `int32` field, you need a `int32_t` [all …]
|
| /nanopb-latest/tests/typename_mangling/ |
| D | with_package.options | 3 com.example.nanopb.TopLevelMessage.ShortIfNone long_names:false
|
| D | with_package.proto | 3 package com.example.nanopb;
|
| /nanopb-latest/tests/any_type/google/protobuf/ |
| D | any.proto | 48 // Example 1: Pack and unpack a message in C++. 58 // Example 2: Pack and unpack a message in Java. 67 // Example 3: Pack and unpack a message in Python. 77 // Example 4: Pack and unpack a message in Go 90 // in the type URL, for example "foo.bar.com/x/y.z" will yield type 98 // additional field `@type` which contains the type URL. Example: 115 // field. Example (for message [google.protobuf.Duration][]):
|
| D | duration.proto | 52 // Example 1: Compute Duration from two Timestamps in pseudo code. 69 // Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. 86 // Example 3: Compute Duration from datetime.timedelta in Python. 97 // fractional seconds. For example, 3 seconds with 0 nanoseconds should be
|
| /nanopb-latest/tests/generator_relative_paths/proto/protobuf/ |
| D | any.proto | 48 // Example 1: Pack and unpack a message in C++. 58 // Example 2: Pack and unpack a message in Java. 67 // Example 3: Pack and unpack a message in Python. 77 // Example 4: Pack and unpack a message in Go 90 // in the type URL, for example "foo.bar.com/x/y.z" will yield type 98 // additional field `@type` which contains the type URL. Example: 115 // field. Example (for message [google.protobuf.Duration][]):
|
| /nanopb-latest/tests/docker_images/ |
| D | README.md | 9 To build tests for a single target, use for example:
|
| /nanopb-latest/tests/map/ |
| D | SConscript | 1 # Example / test for handling 'map' type using the backwards compatibility
|
| /nanopb-latest/examples/platformio/ |
| D | platformio.ini | 11 ; Example:
|
| /nanopb-latest/spm_headers/nanopb/ |
| D | pb_encode.h | 17 * for example a file or a network socket. 68 * Example usage: 119 * Example usage:
|
| /nanopb-latest/ |
| D | pb_encode.h | 17 * for example a file or a network socket. 68 * Example usage: 119 * Example usage:
|
| /nanopb-latest/extra/ |
| D | FindNanopb.cmake | 1 # This is an example script for use with CMake projects for locating and configuring 19 # passing options to nanopb via find_package. For example, 64 # Example using modern targets: 75 # Example with RELPATH: 82 # Everything would be the same as the previous example, but the call to 88 # Example using traditional variables:
|
12