* BLE and softAP provisioning examples added along with tests. * An application specific example added for demonstrating custom provisioning scheme. * tools/esp_prov/esp_prov.py can be used as a provisioning client for SoftAP, BLE and CLI based transports. Co-Authored-By: Amey Inamdar <amey@espressif.com> Co-Authored-By: Anurag Kar <anurag.kar@espressif.com>
11 lines
1.1 KiB
Markdown
11 lines
1.1 KiB
Markdown
# Protobuf files for defining custom config-data packet structures
|
|
|
|
This is an example proto file defining custom configuration related data packet structures, namely -
|
|
1. CustomConfigRequest - for sending configuration data consisting of various fields (Info and Version)
|
|
2. CustomConfigResponse - for receiving configuration status (fail/success)
|
|
|
|
Note : These proto files are not automatically compiled during the build process.
|
|
|
|
Run "make" (Optional) to generate the respective C and Python files. The generated C files are used by protocomm itself to create, delete and manipulate transaction packets. The generated Python files can be used by python based applications for implementing client side interface to protocomm layer.
|
|
|
|
Compilation requires protoc (Protobuf Compiler) and protoc-c (Protobuf C Compiler) installed. Since the generated files are to remain the same, as long as the proto files are not modified, therefore the generated files are already available under "protocomm/proto-c" and "protocomm/python" directories, and thus running make (and installing the Protobuf compilers) is optional.
|