Arduino Uno Wifi - wifi.status() returns WL_NO_SHIELD

Hi everybody !

I'm trying to make my arduino uno wifi work. I'm using basic functions, but it seems that the wifi connection function returns "no shield"; which makes no sense as the wifi functionality is supposed to be integrated in the arduino ?

#include <WiFi.h>
#include <SPI.h>

char ssid[] = "Network";
char pass[] = "Password";
int status = WL_IDLE_STATUS;


void setup()
{
  Serial.begin(9600);
  status = WiFi.begin(ssid, pass); 
  Serial.print(WiFi.status());
}

void loop() {}

And I can read "255", which seems to correspond to "WL_NO_SHIELD".

I'm using IDE 1.8.3, board "Arduino Uno Wifi", library "Wifi Built-In by Arduino Version 1.2.7". Should I use a different one maybe ?

Best regards

OK I guess I have to use the library UNOWiFiDev.Edition, rather than the classic ArduinoWiFi.h, as indicated on the bottom of this page, tab "first sketch".

The issue remains as I installed this librabry and am searching for doc... It might have been easier to have bought the WiFi shield :-/

You bought your board from arduino.org

This message board is for arduino.cc

You need to go elsewhere (Arduino - Home) for your complaint.

Thank you for the advice ! I've posted the question here, on arduino.org forums : Arduino - Home

Would it be possible to explain the difference between these two forums ?