Skip to content

Instantly share code, notes, and snippets.

@dmiddlecamp
Created May 17, 2014 04:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmiddlecamp/40c34176e8134893e6a1 to your computer and use it in GitHub Desktop.
Save dmiddlecamp/40c34176e8134893e6a1 to your computer and use it in GitHub Desktop.
void setup() {
initWifi();
}
void loop() {
}
void initWifi() {
unsigned long aiIntervalList[16];
for (int i=0; i<16; i++) { aiIntervalList[i] = 2000; }
wlan_ioctl_set_scan_params( 1000, 100, 100, 5, 0x1fff, -80, 0, 205, aiIntervalList );
wlan_start(0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment