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

Discovery simplified [4739] #76

Merged
merged 2 commits into from
Apr 8, 2019
Merged

Conversation

lemunozm
Copy link
Contributor

Simplified the usage of discovery module removing the "chosen" feature.

Rationale:

The use of the attribute chosen do not add a feature itself, it only gives to the user a concrete result for a concrete case. The same result can only be also obtained with few lines of code by the user, and with better management for his side. Furthermore, the "chosen" feature was forcing the use of reserve data for the ip into the uxrAgentAddress structure instead of a reference to an existant ip string.

Modified the function names.

Rationale:

There were two diferent function names: unicast and multicast. However, the behavior behind theses functions is not exactly what the name means. The unicast version can also receive several multicast ips, and the multicast version can only serach agent into the default multicast with the default port. For that, theses names have been changed.

  • Updated API docs.

@richiware
Copy link
Member

Build status:

  • Linux Build Status
  • Windows Build Status
  • NuttX Build Status

@julionce julionce changed the title Discovery simplified. Discovery simplified [4739} Feb 22, 2019
@julionce julionce changed the title Discovery simplified [4739} Discovery simplified [4739] Feb 22, 2019
include/uxr/client/profile/discovery/discovery.h Outdated Show resolved Hide resolved
src/c/profile/discovery/discovery.c Outdated Show resolved Hide resolved
src/c/profile/discovery/discovery.c Outdated Show resolved Hide resolved
src/c/profile/discovery/discovery.c Outdated Show resolved Hide resolved
@julionce julionce assigned lemunozm and unassigned julionce Feb 27, 2019
@lemunozm lemunozm assigned julionce and unassigned lemunozm Mar 5, 2019
@richiware
Copy link
Member

Build status:

  • Linux Build Status
  • Windows Build Status
  • NuttX Build Status

@julionce julionce force-pushed the feature/discovery_simplified branch from c9caa7a to 57f8fc7 Compare April 8, 2019 09:44
@richiware
Copy link
Member

Build status:

  • Linux Build Status
  • Windows Build Status
  • NuttX Build Status

@julionce julionce merged commit aadd447 into develop Apr 8, 2019
@BorjaOuterelo BorjaOuterelo deleted the feature/discovery_simplified branch April 19, 2019 16:22
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.

None yet

3 participants