14
14
* limitations under the License.
15
15
*/
16
16
17
- /* * @file WifiInterface.h Common interface that is shared between Wi-Fi devices */
17
+ /* * @file WifiInterface.h Common interface tbetween Wi-Fi devices */
18
18
/* * @addtogroup netinterface
19
19
* @{
20
20
*/
26
26
#include " netsocket/NetworkInterface.h"
27
27
#include " netsocket/WiFiAccessPoint.h"
28
28
29
- /* * Common interface that is shared between Wi-Fi devices.
29
+ /* * Common interface that between Wi-Fi devices.
30
30
*/
31
31
class WiFiInterface : public virtual NetworkInterface {
32
32
public:
33
33
/* * Get the default Wi-Fi interface.
34
34
*
35
- * This is provided as a weak method so applications can override.
35
+ * This is provided as a weak method so applications can override it .
36
36
* Default behavior is to get the target's default interface, if
37
37
* any.
38
38
*
@@ -53,7 +53,7 @@ class WiFiInterface: public virtual NetworkInterface {
53
53
54
54
/* * Set the Wi-Fi network channel.
55
55
*
56
- * @param channel Channel on which the connection is to be made , or 0 for any (Default: 0).
56
+ * @param channel Channel to make the connection, or 0 for any (Default: 0).
57
57
* @return NSAPI_ERROR_OK on success, or error code on failure.
58
58
*/
59
59
virtual nsapi_error_t set_channel (uint8_t channel) = 0;
@@ -70,7 +70,7 @@ class WiFiInterface: public virtual NetworkInterface {
70
70
* @param ssid Name of the network to connect to.
71
71
* @param pass Security passphrase to connect to the network.
72
72
* @param security Type of encryption for connection (Default: NSAPI_SECURITY_NONE).
73
- * @param channel Channel on which the connection is to be made , or 0 for any (Default: 0).
73
+ * @param channel Channel to make the connection, or 0 for any (Default: 0).
74
74
* @return NSAPI_ERROR_OK on success, or error code on failure.
75
75
*/
76
76
virtual nsapi_error_t connect (const char *ssid, const char *pass,
@@ -116,7 +116,7 @@ class WiFiInterface: public virtual NetworkInterface {
116
116
117
117
/* * Get the target's default Wi-Fi interface.
118
118
*
119
- * This is provided as a weak method so targets can override. The
119
+ * This is provided as a weak method so targets can override it . The
120
120
* default implementation returns NULL.
121
121
*
122
122
* @return pointer to interface, if any.
0 commit comments