Hello Everyone, I am trying to send a JSON string form the app to an ESP32 device using BLE (latest version for the extension) using the WriteStringsWithResponse.
I am able to connect to the ESP32 and initiate the transfer, BUT the text I receive on the ESP32 seems trimmed ( maybe there is a limit on the amount of text that can be sent?)
I tried re writing each of the keys on the dictionary, just to see if I didnt have a weird character in there somewhere, but no changes.
Also, since I have your attention, I am trying to send WIFI credentials via BLE: since password can have all sort of weird characters, will I run into issues in the future with encoding those characters?
I suspect you might have to break up your JSON into multiple YAML key:value messages, to fit in that small MTU size limit.
Let us know what the MTU Changed event says it negotiated.
Also check the release notes of the BLE extension, in case the MTU length problem was addressed in those 3 years.