ESP8266 - Authentication and Data Encryption WPA-PSK, TKIP settings


hello,

i'm trying make little standalone ap web server wemos d1 mini, can't figure out how set ap parameters work hp ipaq hx2410.

i need configure wemos d1 mini ap these specific parameters, able connect:

channel: 1
authentication: wpa-psk
data encryption: tkip

sketch i'm using:
code: [select]

#include <esp8266wifi.h>
#include <wificlient.h>
#include <esp8266webserver.h>

const char* ssid = "myap";
const char* password = "12345678";
 
esp8266webserver server(80);

void handleroot()
{
  server.send(200, "text/plain", "hello esp8266!");
}

void setup(void)
{
  serial.begin(9600);
  serial.println("");
  wifi.mode(wifi_ap);
  wifi.softap(ssid, password);
 
  ipaddress myip = wifi.softapip();
  serial.print("ip address: ");
  serial.println(myip);
 
  server.on("/", handleroot);
 
  server.begin();
  serial.println("http server started");
}

void loop(void)
{
  server.handleclient();
}


i know that, if put "1" last parameter force use channel 1, can't connect still:

code: [select]

wifi.softap(ssid, password, 1);


but, if disable encryption removing password (ap open), it's connects immediately.

i hope can me out issue!

thank you!

regards

can other, non-ancient devices connect?


Arduino Forum > Topics > Home Automation and Networked Objects > ESP8266 - Authentication and Data Encryption WPA-PSK, TKIP settings


arduino

Comments

Popular posts from this blog

Flip address is out of range arduino uno r3

Arduino Uno not uploading

Indesign and MathType fonts