-->
Page 1 of 2

ESPArduino Hotspot

PostPosted: Sun Mar 29, 2015 12:43 pm
by voyager
Can anyone help with a code snippet for a hotspot written with Arduino IDE ?

Re: ESPArduino Hotspot

PostPosted: Sun Mar 29, 2015 3:15 pm
by alonewolfx2
hotspot or access point? you cant use esp8266 as hotspot.

Re: ESPArduino Hotspot

PostPosted: Sun Mar 29, 2015 5:20 pm
by voyager
hotspot or access point? you cant use esp8266 as hotspot.

What do mean? With ESPArduino or at all? Thats not true. Using nodemcu with lua or with pure AT commands you surely can build an AP or a hotspot and i believe with the right commands it is also possible with ESPArduino. Maybe the creators of this wonderful softwarecould answer this.

Re: ESPArduino Hotspot

PostPosted: Sun Mar 29, 2015 6:00 pm
by igrr
Something along these lines:

Code: Select all#include <ESP8266WiFi.h>

void setup() {
  const int channel = 6;
  WiFi.softAP("ssid", "passphrase", channel);
}