Skip to content

Commit 30da672

Browse files
paul-szczepanek-armCruz Monrreal II
authored andcommitted
Update WiFiInterface.h
1 parent f6000d3 commit 30da672

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

features/netsocket/WiFiInterface.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
#include "netsocket/NetworkInterface.h"
2323
#include "netsocket/WiFiAccessPoint.h"
2424

25-
/** Common interface that is shared between WiFi devices.
25+
/** Common interface that is shared between Wi-Fi devices.
2626
*
2727
* @addtogroup netsocket
2828
*/
2929
class WiFiInterface: public virtual NetworkInterface {
3030
public:
31-
/** Get the default WiFi interface.
31+
/** Get the default Wi-Fi interface.
3232
*
3333
* This is provided as a weak method so applications can override.
3434
* Default behaviour is to get the target's default interface, if
@@ -38,7 +38,7 @@ class WiFiInterface: public virtual NetworkInterface {
3838
*/
3939
static WiFiInterface *get_default_instance();
4040

41-
/** Set the WiFi network credentials.
41+
/** Set the Wi-Fi network credentials.
4242
*
4343
* @param ssid Name of the network to connect to.
4444
* @param pass Security passphrase to connect to the network.
@@ -49,7 +49,7 @@ class WiFiInterface: public virtual NetworkInterface {
4949
virtual nsapi_error_t set_credentials(const char *ssid, const char *pass,
5050
nsapi_security_t security = NSAPI_SECURITY_NONE) = 0;
5151

52-
/** Set the WiFi network channel.
52+
/** Set the Wi-Fi network channel.
5353
*
5454
* @param channel Channel on which the connection is to be made, or 0 for any (Default: 0).
5555
* @return NSAPI_ERROR_OK on success, or error code on failure.
@@ -63,7 +63,7 @@ class WiFiInterface: public virtual NetworkInterface {
6363
*/
6464
virtual int8_t get_rssi() = 0;
6565

66-
/** Attempt to connect to a WiFi network.
66+
/** Attempt to connect to a Wi-Fi network.
6767
*
6868
* @param ssid Name of the network to connect to.
6969
* @param pass Security passphrase to connect to the network.
@@ -74,7 +74,7 @@ class WiFiInterface: public virtual NetworkInterface {
7474
virtual nsapi_error_t connect(const char *ssid, const char *pass,
7575
nsapi_security_t security = NSAPI_SECURITY_NONE, uint8_t channel = 0) = 0;
7676

77-
/** Attempt to connect to a WiFi network. Requires ssid and passphrase to be set.
77+
/** Attempt to connect to a Wi-Fi network. Requires ssid and passphrase to be set.
7878
* If passphrase is invalid, NSAPI_ERROR_AUTH_ERROR is returned.
7979
*
8080
* @return NSAPI_ERROR_OK on success, negative error code on failure
@@ -110,7 +110,7 @@ class WiFiInterface: public virtual NetworkInterface {
110110
#if !defined(DOXYGEN_ONLY)
111111
protected:
112112

113-
/** Get the target's default WiFi interface.
113+
/** Get the target's default Wi-Fi interface.
114114
*
115115
* This is provided as a weak method so targets can override. The
116116
* default implementation returns NULL.

0 commit comments

Comments
 (0)