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

Serious problem to solve (with multiple things using the same comm way) #7

Open
JanWielgus opened this issue Jun 19, 2020 · 2 comments · May be fixed by #14
Open

Serious problem to solve (with multiple things using the same comm way) #7

JanWielgus opened this issue Jun 19, 2020 · 2 comments · May be fixed by #14
Assignees
Labels
enhancement New feature or request

Comments

@JanWielgus
Copy link
Owner

When more than one thing use the same way of communication (for example wifi comm with phone and drone) they are stealing data packets from one another. When they are receiving separately, and one thing will get data packet intended for the second thing, it just discard that packet.

@JanWielgus JanWielgus added the enhancement New feature or request label Jun 19, 2020
@JanWielgus JanWielgus self-assigned this Jun 19, 2020
@JanWielgus
Copy link
Owner Author

Think about something with recipient added with data packet (but have to be optional to make sending to one recipient more simple). It receive next packet from queue that is intended for asking thing.

@JanWielgus JanWielgus changed the title Serious problem to solve Serious problem to solve (with multiple things using the same comm way) Jun 19, 2020
@JanWielgus JanWielgus pinned this issue Jun 19, 2020
@JanWielgus JanWielgus unpinned this issue Jan 28, 2021
@JanWielgus
Copy link
Owner Author

Add something like ITransceiver decorator class that could be between low-level for example StreamComm and NoQueuePacketCommunication instances and after each receiveData() method call from this decorator it will trigger previously added event, and there you can check if some data from other source has come.

Think if there is a similar solution but to enable two (or just a number of) PacketCommunication instances to use common ITransceiver instance. This could be really good.

@JanWielgus JanWielgus pinned this issue Mar 8, 2021
@JanWielgus JanWielgus linked a pull request Mar 18, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant