Closed mogupta closed 11 months ago
The same problem as before, I do not have the IOS16 of equipment for testing,so,it cannot be updated in a short time
Bug 1
in esptouch.js , you have modified esptouch.js file with start function parameters as apSsID and apPassword but in esptouch.m you are using old parameters
start: function (apSsid, apPassword, successCallback, failCallback) {
exec(successCallback, failCallback, "esptouch", "start", [apSsid, apPassword]);
},
},
- (void) start:(CDVInvokedUrlCommand *)command{
[self.commandDelegate runInBackground:^{
dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);
[self._condition lock];
callback_ID = command.callbackId;
NSString *apSsid = (NSString *)[command.arguments objectAtIndex:0];
NSString *apBssid = (NSString *)[command.arguments objectAtIndex:1];
NSString *apPwd = (NSString *)[command.arguments objectAtIndex:2];
int taskCount = [[command.arguments objectAtIndex:3] intValue];
NSString *broadcastData = (NSString *)[command.arguments objectAtIndex:4];
BOOL isbroadcastData = true;
Bug 2 - Fixing the first bug triggers the start function . But with the following error occurring ### repeatedly
client: sendto fail, but just ignore it
: No route to host
@coloz please suggest something. How can I fix it ? May be you can access my device using anydesk ?
@coloz found solution , just add the following line
PR #15 fixes the issue
@coloz Ready to publish to npm?
Using ESPtouch with ESP8266. Updated to master branch . Even then smart config not working. My iPhone version 16.1.2
Please advise.