-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance requestAddress by looping through poll responses (#238)
* Enhance request address - When beginning to request an address, the requesting node will gather poll responses. Utilize all poll responses: If an address request fails, continue looping through available poll responses until all address requests at that level have been exhausted * Move gotResponse variable - Move gotResponse variable into loop so it defaults to 0 * - Further improve requestAddress - Per @2bndy5 in #238 - Change debug prints: Remove millis calls and improve human readability - Adjust timeout calculations to be calculated out of loop - Change main polling loop per @2bndy5 * Mods per @2bndy5 in #238 - Use same timeout variable - Add return 0 if 0 polls received
- Loading branch information
Showing
1 changed file
with
45 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters