-
Notifications
You must be signed in to change notification settings - Fork 58
wifi: rename discover access points and Wi-Fi receive timeout methods #78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| /** | ||
| * Returns the Wi-Fi configured timeout for connecting, disconnecting and | ||
| * discovering access points. | ||
| * Returns the access point configured timeout for connecting, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better "configured access point timeout"?
| * Test method for {@link com.digi.xbee.api.WiFiDevice#setWiFiReceiveTimeout(int)}. | ||
| * Test method for {@link com.digi.xbee.api.WiFiDevice#setAccessPointTimeout(int)}. | ||
| * | ||
| * <p>Check that the Wi-Fi receive timeout cannot be set if it is negative throwing an |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/Wi-Fi receive/access point
| * Test method for {@link com.digi.xbee.api.WiFiDevice#setAccessPointTimeout(int)} and | ||
| * {@link com.digi.xbee.api.WiFiDevice#getAccessPointTimeout()}. | ||
| * | ||
| * <p>Check that the Wi-Fi receive timeout can be set and get successfully.</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/Wi-Fi receive/access point
|
|
||
| // Constants. | ||
| private final static int DEFAULT_WIFI_RECEIVE_TIMETOUT = 15000; // 15 seconds of timeout to connect, disconnect and discover access points. | ||
| private final static int DEFAULT_ACCESS_POINT_TIMETOUT = 15000; // 15 seconds of timeout to connect, disconnect and discover access points. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/discover/scan
| @@ -192,11 +192,11 @@ public WiFiAssociationIndicationStatus getWiFiAssociationIndicationStatus() thro | |||
| * Discovers and reports the access point that matches the supplied SSID. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we replace "discover" with "scan" in this method's doc?
- Renamed "discoverAccessPoints" method to "scanAccessPoints". - Renamed the "Wi-Fi receive timeout" to "access point timeout" and updated the methods names. - Updated references and tests. https://jira.digi.com/browse/XBJAPI-357 https://jira.digi.com/browse/XBJAPI-358 Signed-off-by: Diego Escalona <diego.escalona@digi.com>
7082619 to
44ed845
Compare
the method names.
https://jira.digi.com/browse/XBJAPI-357
https://jira.digi.com/browse/XBJAPI-358
Signed-off-by: Diego Escalona diego.escalona@digi.com