smaho-engineering / esptouch_flutter

ESP-Touch Dart API for Flutter. Platform-specific implementation for Android (Java) and iOS (Objective-C).
https://pub.dev/packages/esptouch_flutter
MIT License
100 stars 34 forks source link

Custom EspTouchResult #13

Closed rndsamjin closed 3 years ago

rndsamjin commented 3 years ago

How to make custom EspTouchResult?? EsptouchResult = {"bssid": "10521cb6947c", "ip": "192.168.1.142", "deviceID":"EXAMPLE DEVICE ID", "cancelled": false, "success": true}

vincevargadev commented 3 years ago

This is not supported and custom results are not part of ESP Touch.

You can take the IP address and then make HTTP call to your embedded device (for example HTTP GET to 192.168.1.142/someCustomEndpoint. This also assumes you understand embedded programming and you can set up a custom HTTP endpoint from which you can return any custom information you want.