bool wifiSetup(WiFly myWiFly) { // Scan, nouveau mode nécessite un firmware >= 2.22 if (myWiFly.version() < 2.22) { return false; } if (myWiFly.sendCommand(wifiCompactModeStr)) { return true; } else { return false; } }