abobija / esp-smartconfig-dart

EspTouch and EspTouchV2 implementations of SmartConfig provisioning protocols. Plain Dart. All platforms.
https://pub.dev/packages/esp_smartconfig
MIT License
45 stars 11 forks source link

reservedDataLengthMax = 127; #32

Closed kristsm closed 5 months ago

kristsm commented 5 months ago

Is there a reason for limiting reserved data lenght to 127 bytes? Maybe the reason is behind esp32 side of esptouch V2? My app would need to send about twice amount of data, otherwise I need to run webserver on esp32 afterwards to provide additional provision data ( which I really do not want to). Thanks!

abobija commented 5 months ago

Yes, per ESPTOUCH_V2 protocol (at esp32 side), the max data length is 127 bytes.

kristsm commented 5 months ago

Thanks! Is it like a software limitation which could be changed somewhere or hardware limitations?

abobija commented 5 months ago

I think the ESP-IDF framework limits it.