ckybonist
ckybonist

Reputation: 231

Is ESP8266’s “station + soft-ap” mode same as WiFi Direct (P2P)?

I found an example on github, just jump to line 42 then you’ll see this:

ESP8266.println("AT+CWMODE=3");

AT is the command set in ESP8266 module, and AT + CWMODE=3 means initialize WiFi connection mode with both station and soft-ap modes.

p.s. The name of this example is called “ESP8266_P2P.cpp”.

Upvotes: 2

Views: 5123

Answers (2)

Defozo
Defozo

Reputation: 3092

The ESP8266 does not support the WiFi Direct specific protocols. It means that your Android phone won't see it under WiFi Direct. However, in most cases you don't need that.

Upvotes: 0

Marcel Stör
Marcel Stör

Reputation: 23565

The "Soft AP" part is the same as WiFi Direct. The "station" part just means that the WiFi Direct backend is the same WiFi module (as opposed to e.g. an ethernet connection).

Upvotes: 3

Related Questions