-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Hello!
I am running my ESP32 IDF code with "esp-smartconfig-dart" which works fine for ESPTOUCH protocol. However, switching to protocol ESPTOUCH_V2 , the device recieved the SSID, password and reserved data correctly and can connect to Wifi. However, it cannot send the acknowlegedment data back the Java app from
https://github.com/EspressifApp/EsptouchForAndroid/tree/master
and it works fine.
My code below. Do I miss something to configure?
final provisioner = Provisioner.espTouchV2();
final ssidController = ref.read(ssidControllerProvider);
final passwordController = ref.read(passwordControllerProvider);
final wifiCredentialsNotifier =
ref.read(wifiCredentialsProvider.notifier);
provisioner.listen((response) {
Navigator.of(context).pop(response);
});
provisioner.start(ProvisioningRequest.fromStrings(
ssid: ssidController.text,
bssid: '00:00:00:00:00:00',
password: passwordController.text,
reservedData:
"Hello from Dart123665656565688994643976464564646464646549876544654---",
encryptionKey: "MySecretKey!6754",
));
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels