protocomm, esp_prov questions
Posted: Fri Oct 26, 2018 8:41 pm
Wow! Was not expecting the protocomm component and associated generic provisioning tools! Congratulations to the Espressif team, this looks like a well-designed provisioning setup that I can't wait to start using.
In fact, I was in the middle of developing something very similar based on blufi, would it be correct to say that protocomm/esp_prov will be superseding blufi? (or at least esp_prov being recommended over blufi for new projects?)
Additionally, my blufi-based solution was using flatbuffers https://google.github.io/flatbuffers/, which are lighter-weight than protobufs. I use them elsewhere in my IoT solution and I can imagine others would like to use flatbuffers, too. So if I wanted to contribute a PR for the flexibility to use flatbuffers instead, would that be accepted within the protocomm component? (or would I have to fork protocomm on my own, and make a "flatbuffercomm")?
I plan to make a provisioning app similar to the samples, ideally one factory partition app could do all the transports at once (SoftAP, BLE, serial). Is that a supported use of esp_prov? Seems like it is geared towards using this as a factory app for 1st-time configuration, then rebooting to another (OTA) app entirely. Or is it supposed to live within the main app, and be turned on/off based on whether it has been configured already?
In fact, I was in the middle of developing something very similar based on blufi, would it be correct to say that protocomm/esp_prov will be superseding blufi? (or at least esp_prov being recommended over blufi for new projects?)
Additionally, my blufi-based solution was using flatbuffers https://google.github.io/flatbuffers/, which are lighter-weight than protobufs. I use them elsewhere in my IoT solution and I can imagine others would like to use flatbuffers, too. So if I wanted to contribute a PR for the flexibility to use flatbuffers instead, would that be accepted within the protocomm component? (or would I have to fork protocomm on my own, and make a "flatbuffercomm")?
I plan to make a provisioning app similar to the samples, ideally one factory partition app could do all the transports at once (SoftAP, BLE, serial). Is that a supported use of esp_prov? Seems like it is geared towards using this as a factory app for 1st-time configuration, then rebooting to another (OTA) app entirely. Or is it supposed to live within the main app, and be turned on/off based on whether it has been configured already?