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

Buffer size #39

Open
ghost opened this issue May 1, 2017 · 6 comments
Open

Buffer size #39

ghost opened this issue May 1, 2017 · 6 comments

Comments

@ghost
Copy link

ghost commented May 1, 2017

How I can edit the buffer size?
I have a problem that I need receive messages with 400 bytes. This library have support for that? Or how I can edit the buffer size?

@washo4evr
Copy link
Owner

I believe that issue was resolved already. you should be able to get messages as big as you want.
Do you get any error message? does it just crash?

@ghost
Copy link
Author

ghost commented May 6, 2017

Yes, the message is transformed.
I changed the DATA_BUFFER_LEN to 2048, but the same thing happen.

Look a debug when I receive a message.
screen shot 2

@ghost
Copy link
Author

ghost commented May 7, 2017

I try send a message with 188 bytes, but the same problem happen again =/

@washo4evr
Copy link
Owner

at least 255 should work

Im actually done with the hardware for a project that will need sockets.
I will resume my work on this library very soon.
it's been way too long

@washo4evr
Copy link
Owner

you can check line 90-95 from .cpp file
this is where the message size is handled

@HudsonProdigy
Copy link

Any progress on this? i am running into the same issue.

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