22
22
#include " netsocket/NetworkInterface.h"
23
23
#include " netsocket/WiFiAccessPoint.h"
24
24
25
- /* * Common interface that is shared between WiFi devices.
25
+ /* * Common interface that is shared between Wi-Fi devices.
26
26
*
27
27
* @addtogroup netsocket
28
28
*/
29
29
class WiFiInterface : public virtual NetworkInterface {
30
30
public:
31
- /* * Get the default WiFi interface.
31
+ /* * Get the default Wi-Fi interface.
32
32
*
33
33
* This is provided as a weak method so applications can override.
34
34
* Default behaviour is to get the target's default interface, if
@@ -38,7 +38,7 @@ class WiFiInterface: public virtual NetworkInterface {
38
38
*/
39
39
static WiFiInterface *get_default_instance ();
40
40
41
- /* * Set the WiFi network credentials.
41
+ /* * Set the Wi-Fi network credentials.
42
42
*
43
43
* @param ssid Name of the network to connect to.
44
44
* @param pass Security passphrase to connect to the network.
@@ -49,7 +49,7 @@ class WiFiInterface: public virtual NetworkInterface {
49
49
virtual nsapi_error_t set_credentials (const char *ssid, const char *pass,
50
50
nsapi_security_t security = NSAPI_SECURITY_NONE) = 0;
51
51
52
- /* * Set the WiFi network channel.
52
+ /* * Set the Wi-Fi network channel.
53
53
*
54
54
* @param channel Channel on which the connection is to be made, or 0 for any (Default: 0).
55
55
* @return NSAPI_ERROR_OK on success, or error code on failure.
@@ -63,7 +63,7 @@ class WiFiInterface: public virtual NetworkInterface {
63
63
*/
64
64
virtual int8_t get_rssi () = 0;
65
65
66
- /* * Attempt to connect to a WiFi network.
66
+ /* * Attempt to connect to a Wi-Fi network.
67
67
*
68
68
* @param ssid Name of the network to connect to.
69
69
* @param pass Security passphrase to connect to the network.
@@ -74,7 +74,7 @@ class WiFiInterface: public virtual NetworkInterface {
74
74
virtual nsapi_error_t connect (const char *ssid, const char *pass,
75
75
nsapi_security_t security = NSAPI_SECURITY_NONE, uint8_t channel = 0 ) = 0;
76
76
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.
78
78
* If passphrase is invalid, NSAPI_ERROR_AUTH_ERROR is returned.
79
79
*
80
80
* @return NSAPI_ERROR_OK on success, negative error code on failure
@@ -110,7 +110,7 @@ class WiFiInterface: public virtual NetworkInterface {
110
110
#if !defined(DOXYGEN_ONLY)
111
111
protected:
112
112
113
- /* * Get the target's default WiFi interface.
113
+ /* * Get the target's default Wi-Fi interface.
114
114
*
115
115
* This is provided as a weak method so targets can override. The
116
116
* default implementation returns NULL.
0 commit comments