Skip to content

Conversation

@diescalo
Copy link
Member

  • Renamed "discoverAccessPoints" method to "scanAccessPoints".
  • Renamed the "Wi-Fi receive timeout" to "access point timeout" and updated
    the method 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

@diescalo diescalo added this to the wifi milestone Dec 15, 2016
@diescalo diescalo self-assigned this Dec 15, 2016
@diescalo diescalo requested a review from rubenmoral December 15, 2016 11:38
/**
* Returns the Wi-Fi configured timeout for connecting, disconnecting and
* discovering access points.
* Returns the access point configured timeout for connecting,
Copy link
Member

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
Copy link
Member

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>
Copy link
Member

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.
Copy link
Member

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.
Copy link
Member

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>
@diescalo diescalo force-pushed the diescalo/XBJAPI-357 branch from 7082619 to 44ed845 Compare December 15, 2016 12:53
@diescalo diescalo merged commit 44ed845 into wlan_support Dec 15, 2016
@diescalo diescalo deleted the diescalo/XBJAPI-357 branch December 15, 2016 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants