Cummunication buffer overflow ERROR please explain
Root / Programming Questions / [.]
TarudahatCreated:
It's not the character limit (which is 128 characters, or 256 bytes). That gives the error "String is too long".
"Communication buffer overflow" happens when you try to send data with MPSEND faster than the 3DS can actually send it. Rather than pausing your program until the data is actually sent, MPSEND puts the data you give it into a buffer, which is later sent in the background. If you run MPSEND too often (for example, in a loop without VSYNC or WAIT), the buffer can end up filling up before the data can be sent, resulting in this error.
The amount of data you can send isn't much, somewhere around 300 characters per frame, if that. Make sure the main loop of your program uses VSYNC, to ensure that it runs only once per frame. Do what you can to keep the size of the data you're sending as small as possible, too. If you do need to send a large amount of data, consider breaking it into parts and sending one part each frame instead.