i am try to store my esp32 local ip address to my app. i want to set a button in my apps, that i press the button then it will store the ip address of esp32 to my apps via bluetooth. First convert WiFi.localIP(); in String, Then it passes it to the app via BT. i have used BLE connection. library used “BluetoothSerial.h” . bluetooth client for mit app inventor. I have used esp32 dev module. i want to store ip in tinydb. Need assistance in this regards.
my code is:
if (id == 25 && value == 25){String ipAddress = WiFi.localIP().toString(); ESP_BT.println(ipAddress); Serial.println(ipAddress);}
Your heading says MIT app inventor…
Then why don’t you raise this query in that platform