ArduinoGeneral

Bluno Link as master device issues

userHead Account cancelled 2019-06-14 20:07:58 1776 Views1 Replies
Hello everyone!

I have my Bluno Link connected to my PC with the following settings:
AT+ROLE=ROLE_CENTRAL
AT+BIND=0x341513CF50DB (the slave HM-10 module's MAC is 34:15:13:CF:50:DB)
AT+CMODE=UNIQUE
...and the rest are default settings.

On the other side I have an Arduino Nano connected to a HM-10 module with the default settings, expect the baudrate set to 115200 and this code:
Code: Select all
#include <SoftwareSerial.h>
SoftwareSerial mySerial(8,9);

void setup()
{
  mySerial.begin(115200);   
  Serial.begin(115200);   
  delay(100);
}
void loop()
{
  if (Serial.available()>0){
    mySerial.write(Serial.read());
  }
  if (mySerial.available()>0){
    Serial.write(mySerial.read());
  }
}
I can pair my phone to the HM-10, send and receive strings from a serial monitor, however the master Bluno Link does not connect to the slave HM-10 module automatically. I tried to use the HM-10 as master and Bluno Link as slave and this way they work, I can connect the master HM-10 to the slave Bluno Link's MAC address.
The Bluno Link's version is 1.97 and the HM-10's version is 605.

Do you know why my master Bluno Link does not connect to the slave HM-10 module automatically?

Thank you for the answers!