Skip to content

scanNetworks with async = true #354

Closed
@bmitov

Description

@bmitov

Is the scanNetworks( true ) implemented?
It does not seem like the static void _scanDone(); is used anywhere in the code, and when I call 👍
scanNetworks( true );

int n;
for(;;)
{
  Serial.println("scanning...");
  n = WiFi.scanComplete();
  if( n != WIFI_SCAN_RUNNING )
    break;

  Serial.println( n );
  delay( 1000 );      
}

the loop runs forever...
How to use scanNetworks asynchronous? I want to perform other tasks while scanning in the main loop

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions