Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
d69b8888
Unverified
Commit
d69b8888
authored
Feb 06, 2023
by
Rodrigo Garcia
Committed by
GitHub
Feb 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds softAp(String) to make it compatible with ESP8266 (#7801)
parent
23d715af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
libraries/WiFi/src/WiFiAP.h
libraries/WiFi/src/WiFiAP.h
+4
-0
No files found.
libraries/WiFi/src/WiFiAP.h
View file @
d69b8888
...
@@ -38,6 +38,10 @@ class WiFiAPClass
...
@@ -38,6 +38,10 @@ class WiFiAPClass
public:
public:
bool
softAP
(
const
char
*
ssid
,
const
char
*
passphrase
=
NULL
,
int
channel
=
1
,
int
ssid_hidden
=
0
,
int
max_connection
=
4
,
bool
ftm_responder
=
false
);
bool
softAP
(
const
char
*
ssid
,
const
char
*
passphrase
=
NULL
,
int
channel
=
1
,
int
ssid_hidden
=
0
,
int
max_connection
=
4
,
bool
ftm_responder
=
false
);
bool
softAP
(
const
String
&
ssid
,
const
String
&
passphrase
=
emptyString
,
int
channel
=
1
,
int
ssid_hidden
=
0
,
int
max_connection
=
4
,
bool
ftm_responder
=
false
)
{
return
softAP
(
ssid
.
c_str
(),
passphrase
.
c_str
(),
channel
,
ssid_hidden
,
max_connection
,
ftm_responder
);
}
bool
softAPConfig
(
IPAddress
local_ip
,
IPAddress
gateway
,
IPAddress
subnet
,
IPAddress
dhcp_lease_start
=
(
uint32_t
)
0
);
bool
softAPConfig
(
IPAddress
local_ip
,
IPAddress
gateway
,
IPAddress
subnet
,
IPAddress
dhcp_lease_start
=
(
uint32_t
)
0
);
bool
softAPdisconnect
(
bool
wifioff
=
false
);
bool
softAPdisconnect
(
bool
wifioff
=
false
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment