washo4evr / Socket.io-v1.x-Library

Socket.io Library for Arduino
108 stars 58 forks source link

Buffer size #39

Open ghost opened 7 years ago

ghost commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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

washo4evr commented 7 years ago

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 commented 7 years ago

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

HudsonProdigy commented 7 years ago

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