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

maximum byte to send #7

Closed
CaniotTeam opened this issue Feb 13, 2021 · 4 comments
Closed

maximum byte to send #7

CaniotTeam opened this issue Feb 13, 2021 · 4 comments

Comments

@CaniotTeam
Copy link

i don't know if that is issue or configuration error, but the maximum number of bytes to send is limited by 80 bytes. how we can send more than 80 bytes?

@jpnurmi
Copy link
Owner

jpnurmi commented Feb 14, 2021

Hi, on which platform? Would it help to call SerialPort.drain() if it's an option to wait in between?

@CaniotTeam
Copy link
Author

Hi, I tested it on windows, as workaround i add some delay between 80 bytes package. That work but I'm asking if there is some low level configuration to change it ?

@jpnurmi
Copy link
Owner

jpnurmi commented Feb 14, 2021

Not to my knowledge, but what about a blocking write?

sp.write(bytes, timeout: 0);

@CaniotTeam
Copy link
Author

I tried also the blocking write. i keep the workaround .Thanks for your help.

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

2 participants