Rebuild Structure sent through Serial

strcpy(synchronized_buffer_send.buffer,command);

Yeah, well that's likely your problem then. The command isn't a string, so you can't treat it like one.