Hi Everyone,
Hope you are well. I was working on Arduino Giga. And I wanted to operate it in Wifi access point mode(hotspot). I had tried multiple codes online and libraries for Wifi but it didn't work. Also the documentation of Arduino Giga doesn't fulfil my requirements (It's examples are only related to Wifi Station mode). And now I am stuck.
Also the WiFi.h doesn't run Wifi.softAP command (It gives compilation error: 'class arduino::WiFiClass' has no member named 'softAP'.)
I am struggling in the task. Kindly help me out ASAP. Thanks
Greeting,
Hi @saleem_embedded. You can learn how to create a Wi-Fi access point on your GIGA R1 WiFi board by using this example sketch as a reference:
https://docs.arduino.cc/tutorials/giga-r1-wifi/giga-wifi/#web-server-ap-mode
Note that you are expected to add a file named arduino_secrets.h to your sketch to use the example:
https://docs.arduino.cc/tutorials/giga-r1-wifi/giga-wifi/#examples
The "WiFi" library used by the GIGA R1 WiFi board has the standardized API used by Arduino in all Wi-Fi communication libraries. The standard is to use WiFi.beginAP to initialize an access point. Wifi.softAP is something from a non-standard 3rd party library for other hardware (ESP8266), and so can't be used with the GIGA R1 WiFi board.
1 Like