Forum >Bluno: iOS test app issues
Bluno General Arduino

Bluno: iOS test app issues

userHead Listick Barton 2015-09-23 15:08:42 3935 Views3 Replies
Hi,

I'm having some problems with the "Bluno Basic Demo". I'm running the simple sketch on my Bluno, and am running the companion iOS app on my iPhone 6.

When I send a character from the iOS app, I get a different character back as "received". For example:
I send an "a" and get back "}"
I send an "A" and get back "}
I send a "B" and get back "{"
I send an "f" and get back "w"
I send "hello" and get back "ouooo"

Also, I edited the sketch on the Bluno to try to send a short string, using Serial.write("TEST"), but nothing is received at all by the iOS app.

Any help on this would be greatly appreciated.

Best,

Barton Listick
2015-09-24 21:21:25 Hi Barton,

Weird! Surely the bluno and iphone are connected, right? As long as you send something from your iphone, the ble module should receive the mssg and send it back to the phone app.

What about this sketch?

Code: Select all
void setup() {
  Serial.begin(115200);               //initial the Serial
}
 
void loop() {
Serial.print(">");     
delay(500);
  if (Serial.available())  {
    Serial.write(Serial.read());    //send what has been received
    Serial.println();                //print line feed character
  }
}


The very last suggestion, updating the firmware to the latest one. Then use AT command "AT+SETTING=DEFAULT" to set defaul value, the firmware updating won't change the original settings.
userHeadPic Leff
2015-09-24 08:01:15 Hi Leff,

When I run the Arduino sketch that you provided, I get no received characters at all on the iOS app.

Unfortunately, I don't have an Android phone at the moment.

Any other ideas?

Best,

Barton
userHeadPic Listick Barton
2015-09-24 01:37:54 I tested it on android device, it seems very ok. I didn't find your result. But so sorry I don't have ios device on hand. So could you use the code below to try again.

Or would you mind finding an Android phone(4.3+) and try on it to figure out if the App for ios contains bug?

Code: Select all
void setup() {
  Serial.begin(115200);               //initial the Serial
}
 
void loop() {
  if (Serial.available())  {
    Serial.write(Serial.read());    //send what has been received
    Serial.println();                //print line feed character
  }
}
userHeadPic Leff