[Solved] Arduino.org Uno WiFi board with Firmware 1.0.0 and WiFiLink.h Librairies

Hello, the community!
I am trying to run an unowifi card from Arduino.org.
Arduino-Uno-Wifi

It has just released a new firmware :
Firmware 1.0.0
Flashing procedure : only with - burn the firmware using ESP recovery (for all O.S. via Serial);

change-the-firmware

Windows example:
C:\Users\XXXX\Documents\Arduino\tools\ArduinoFirmwareWiFiLink>…\UnoWiFi\tool\bin\esptool-windows -p COM4: -b 9600 write_flash -ff 80m -fm qio -fs 32m 0x000000 C:\Users\XXXX\Documents\Arduino\tools\ArduinoFirmwareWiFiLink\ArduinoFirmwareWiFiLink-UNO_WIFI_DEV_ED-1.0.0.bin 0x300000 C:\Users\XXXX\Documents\Arduino\tools\ArduinoFirmwareWiFiLink\ArduinoFirmwareWiFiLink-WEB_PANEL-1.0.0.bin

Don’t forget to prepare the board with EspRecovery sketch and bootloader mode.
change-the-firmware

that allows to operate this card with the library Wifilink which itself functions as the Wifi library.

> it’s works ! SEE HOW TO DO THIS IN POST 40

@Emmanuel_Leroy are you using a local or the Blynk cloud server?

What IP do you get when you ping blynk-cloud.com ?

i’m using a local server you can see it in the sketch.

@Emmanuel_Leroy I can see it but I just wanted to be sure.

Did you make the required changes in the app when you moved from cloud to local server?

Yes my app is connect to my local server 192.168.1.15

Ok, refresh the token in the app and the sketch.

I do it and always the same…
I must to go away for a moment.
Thx for helping me.

I’ll be back in half a hour

@Costas
I’ve check again in my app
i’m connect in 192.168.1.15:8443
in local server admin

May be i must try in blynk.com

Port required is 8443.

I just follow the guide in https://github.com/blynkkk/blynk-server#blynk-server.
I try to change the port on smartphone Blynk app

CHANGE YOUR SKETCH TO PORT 8443. app is ok at 8443.

@Costas
When i change the smartphone blynk app in 8443. i Can’t connect to my server…

See my last post.

@Costas

login timeout…

Now switch everything to the easier Blynk cloud.

??
I must to change my sketch to connect via Blynk.com ?

blynk-cloud.com and change the app back to default.

You don’t have to but the cloud is much easier. You can always try your server again at a later stage.

@Costas
OK i try it

@Costas

Same problem with this sketch

/*************************************************************
  Blynk is a platform with iOS and Android apps to control
  Arduino, Raspberry Pi and the likes over the Internet.
  You can easily build graphic interfaces for all your
  projects by simply dragging and dropping widgets.

Downloads, docs, tutorials: http://www.blynk.cc
Sketch generator:           http://examples.blynk.cc
Blynk community:            http://community.blynk.cc
Follow us:                  http://www.fb.com/blynkapp
                            http://twitter.com/blynk_app

  Blynk library is licensed under MIT license
  This example code is in public domain.
 *************************************************************
  This sketch shows how to access WiFiClient directly in Blynk

  NOTE: This requires Arduino UNo WIFI BOARD With 1.0.0 FIRMWARE 
  and WifiLynk libraries
 *************************************************************/

/* Comment this out to disable prints and save space */
#define BLYNK_PRINT Serial

#include <WiFiLink.h>
#include <BlynkSimpleStream.h>

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "yyyyyyyy";     //  your network SSID (name)
char pass[] = "xxxxxxx";  // your network password

int status = WL_IDLE_STATUS;     // the Wifi rad

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "Your Token";
//IPAddress host(192,168,1,15);  // numeric IP
const char* host = "blynk-cloud.com";
WiFiClient wifiClient;

// This function tries to connect to the cloud using TCP
bool connectBlynk()
{
  wifiClient.stop();
  return wifiClient.connect(host, 8442);
}

//Print result connection Wifi
void printWifiStatus() {
  // print the SSID of the network you're attached to:
  Serial.print("SSID: ");
  Serial.println(WiFi.SSID());

  // print your WiFi shield's IP address:
  IPAddress ip = WiFi.localIP();
  Serial.print("IP Address: ");
  Serial.println(ip);

  // print the received signal strength:
  long rssi = WiFi.RSSI();
  Serial.print("signal strength (RSSI):");
  Serial.print(rssi);
  Serial.println(" dBm");
}

// This function tries to connect to your WiFi network
void connectWiFi()
{
  while (status != WL_CONNECTED) {
Serial.print("Attempting to connect to SSID: ");
Serial.println(ssid);
// Connect to WPA/WPA2 network. Change this line if using open or WEP network:
status = WiFi.begin(ssid, pass);

// wait 5 seconds for connection:
delay(5000);
  }
  Serial.println("Connected to wifi");
   }


void setup()
{
  // Debug console
  Serial.begin(9600);

  connectWiFi();

  printWifiStatus();

  connectBlynk();

  Blynk.begin(wifiClient, auth);
}

void loop()
{
  // Reconnect WiFi
  if (WiFi.status() != WL_CONNECTED) {
connectWiFi();
return;
  }

  // Reconnect to Blynk Cloud
  if (!wifiClient.connected()) {
connectBlynk();
return;
  }

  Blynk.run();
}