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

Consider allowing the developer to specify the size of the inbound/outbound buffers at a per-protocol level #151

Open
Scottapotamas opened this issue Mar 7, 2019 · 0 comments
Assignees

Comments

@Scottapotamas
Copy link
Collaborator

This might be useful when they have multiple transports connected, say, bluetooth and ethernet/wifi, where the underlying layer has a max-packet size.

This would allow people to use large packet sizes without taking a ram hit on all the other protocols, and should improve data transfer behaviour if messages are sized according to the link's size (full eUI packets in each BLE packet) for example.

This could be done by shifting the interface's buffer to the 'developer scope' and then holding a pointer/length inside the structure. Then macros could be used to instantiate the arrays instead?

@Scottapotamas Scottapotamas self-assigned this Mar 7, 2019
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

No branches or pull requests

1 participant