-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add custom field #11
Comments
To send data to your endpoint , you can call "sendConfigData" method on BLE transport instance with your endpoint name in first argument (path). |
@humansthatmake , as an alternative, just for testing, you can even check the esp_prov python tool in ESP IDF (https://github.com/espressif/esp-idf/tree/master/tools/esp_prov). This patch can be applied on top of it if you want to send some abstract non-protobuf data.
|
When we create a custom field using the wifi_prov_mgr_endpoint_create and _register, does the Protocomm layer take care of persisting the value of the custom field? If the answer is yes how can we access the custom field value at startup time? |
@carlosamtech , I am not sure if I understand the question correctly. The APIs wifi_prov_mgr_endpoint_create/register just register the appropriate BLE/HTTP custom endpoints. The actual "custom data" will be received from your client (phone app) which will then be passed to your handler as is. So, there is no real question of "persisting the value". Do let me know if I haven't understood your question correctly. |
Thank you for your response! My question is about the esp-idf provisioning library, not the mobile app |
@carlosamtech, yes, I understand, and even my response is regarding the wifi_provisioning component of esp-idf :) |
Closing this issue as it has been answered. @humansthatmake the new library has even cleaner APIs for this. Please let us know if you still need some help on that. @carlosamtech , I hope I have answered your query as well. If you have any more queries regarding the esp-idf provisioning library, please file an issue on esp-idf |
Is there a tutorial/documentation on how to work with this android studio app?
I recently added a custom endpoint on the provisioning manager example, but now I have no way to test its functionality unless I change the ESP BLE prov app by adding another input field.
The text was updated successfully, but these errors were encountered: