ssid property
WiFi name
Example: WLAN-12345
, Vince's iPhone
.
SSID stands for service set identifier.
You can use the connectivity plugin to fetch the WiFi SSID for your ESP-Touch task.
Alternatively, you can use simply platform channels to request the WiFi name,
you can see an example for that in the example
project:
- Dart code: https://github.com/smaho-engineering/esptouch_flutter/blob/master/example/lib/wifi_info.dart
- iOS code: https://github.com/smaho-engineering/esptouch_flutter/blob/master/example/ios/Runner/AppDelegate.m
- Android code: https://github.com/smaho-engineering/esptouch_flutter/blob/master/example/android/app/src/main/java/com/smaho/eng/esptouchexample/MainActivity.java
Implementation
final String ssid;