Skip to content

Possibility of acknowledgement and retransmission? #5

@mattbsyd

Description

@mattbsyd

Hi, I love this library, I was searching for something along these lines for a while and was very excited to find this as nothing else was quite right.
This works great as it stands and I love the functionality, especially the way that the commands are registered to a function for easy handling, great job there! But, as with most things I have a question/suggestion/request...

I am running this over RS485 (MAX485 chips) with the collision handling enabled and so far testing is a success in the sense that collisions are detected and packets that collide do get re-sent, but there's no guarantee that the target "id" actually received the packet, so, I was wondering how possible it would be to enhance it to allow confirmation that the target has received the packet and re-transmit if not received, similar to a TCP stack. Even better would be the ability to have some sort of return value, sort of like a remote function call but I am probably dreaming here. This of course means that you'd have to be certain that each station has a unique ID or you will end up in a mess, but that's a small price to pay.

I was going to start writing my own sort of a message queue but I'm not that great at this sort of programming so it'd be a dogs breakfast, and thus I thought I might ask the question as someone might have already done this in a way that could be slotted into this library, or someone may just have a brilliant idea.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions