Hi
I have been using Esp8266 for a long time.
Today i found out that it is not possible to start an access point.
I am testing with a wifi-scanner App on my Android phone.
This is the code:
No access point is showing up.
Then I try this code using Arduino IDE:
This is working !
I dont know when it stopped working in B4R, I have used ESP32 lately.
Arduino 1.8.12
ESP8266 2.6.3
B4R 3.30
rESP8266WiFi 1.56
Is this just me ?
I have been using Esp8266 for a long time.
Today i found out that it is not possible to start an access point.
I am testing with a wifi-scanner App on my Android phone.
This is the code:
B4X:
#Region Project Attributes
#AutoFlushLogs: True
#CheckArrayBounds: True
#StackBufferSize: 300
#End Region
Sub Process_Globals
Public Serial1 As Serial
Private wifi As ESP8266WiFi
End Sub
Private Sub AppStart
Serial1.Initialize(115200)
Log(" ")
Log("AppStart")
Log(wifi.StartAccessPoint("Futedo"))
End Sub
Then I try this code using Arduino IDE:
C++:
#include <ESP8266WiFi.h>
//////////////////////
// WiFi Definitions //
//////////////////////
const char WiFiAPPSK[] = "";
void setup()
{
setupWiFi();
}
void loop()
{
}
void setupWiFi()
{
WiFi.mode(WIFI_OFF);
WiFi.mode(WIFI_AP);
String AP_NameString = "Futedo";
char AP_NameChar[AP_NameString.length() + 1];
memset(AP_NameChar, 0, AP_NameString.length() + 1);
for (int i=0; i<AP_NameString.length(); i++)
AP_NameChar[i] = AP_NameString.charAt(i);
WiFi.softAP(AP_NameChar, WiFiAPPSK);
}
I dont know when it stopped working in B4R, I have used ESP32 lately.
Arduino 1.8.12
ESP8266 2.6.3
B4R 3.30
rESP8266WiFi 1.56
Is this just me ?