I'm pulling my hair out! I have been trying to pull strings over to the arduino via blue tooth and seem to be hitting a brick wall at 44 characters. Some of the strings I am trying to pull over are almost a 100 characters, but no matter what I send, I get either 44 characters or the number of characters sent, which ever is least.
I am using the arduino mini pro, softwareSerial and sending from either my phone or a tablet to a blue tooth module. I have tried both devices to send the data, two different blue tooth transceivers on the arduino, always with the same result....send 35 characters and I receive 35 characters....send more than 44 characters and I receive only 44 characters.
Is there some limiting factor related to SoftwareSerial? The basic code I am using to receive this data is ...
#include <SoftwareSerial.h>
SoftwareSerial mySerial(2, 3); // RX, TX
mySerial.begin(9600);
String msg;
msg.reserve(200);
if (mySerial.available()) {
msg = mySerial.readString();
Serial.print("bytes read: "); Serial.println(msg.length());
}