Skip to content
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

Fix PIP refresh #13

Merged
merged 2 commits into from
Oct 28, 2016
Merged

Fix PIP refresh #13

merged 2 commits into from
Oct 28, 2016

Conversation

balazsracz
Copy link
Collaborator

also updates the list of PIP entries from the 2016 standards.

This has a side effect of certain entries showing up multiple times in the network tree however.
…re entries of the same protocls accumulating below.
@heikens
Copy link

heikens commented Oct 28, 2016

monitorLog2.txt

See log. At 10:22:46.842, there are now two PIP requests addressed to the same node. My guess is that the second one is from the Firmware Upgrade which also requested a protocol identification in the past. Other than that, it seems to be ok.

Thanks,
Rob

@balazsracz
Copy link
Collaborator Author

The extra PIP request is sent out by the firmware updater in order to ensure that there is a freshest PIP information available. These are different modules in the process, so collaborating between them would take more complicated APIs thus is not really desirable to fix. I can see that your node was smart enough to collapse these into one PIP reply, that's pretty neat. That reply was routed to both requestors in the memory of the JMRI process.

@balazsracz balazsracz merged commit 14a35e2 into master Oct 28, 2016
@balazsracz balazsracz deleted the bracz-fix-pip-refresh branch October 28, 2016 10:30
pabender pushed a commit to pabender/OpenLCB_Java that referenced this pull request Feb 28, 2017
Fix PIP refresh upon initialization complete.
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