-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds support for using the stored setting for AP/STA mode. (#436)
Adds WlanRole::DEFAULT as an argument to the start() method that allows to use the AP/STA setting from the NWP stored configuration instead of from the application. Adds wlan_set_role to override such configuration. Fixes a bug where the IP address handed out via DHCP was incorrectly saved in the AP's own IP address variable. This caused the "is local connection" check in SocketClient to misbehave in AP mode.
- Loading branch information
1 parent
fcf9b13
commit 4e3f14b
Showing
3 changed files
with
33 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters