Forum >How do you configure 2 BLUNOS to connect to each other?
How do you configure 2 BLUNOS to connect to each other?

I bought 2 BLUNOs. I tried to display the RSSI on the LCD.
My RSSI is displayed if my BLUNO connects to an iPhone. However, when I bind it to another BLUNO, I am unable to see any RSSI values. Below are my setup settings:
PERIPHERAL
Am I missing something?
Update 1:
I brought up the Serial Monitor and I can see the RSSI on the PERIPHERAL. But I cannot see the RSSI on the CENTRAL.
My RSSI is displayed if my BLUNO connects to an iPhone. However, when I bind it to another BLUNO, I am unable to see any RSSI values. Below are my setup settings:
PERIPHERAL
Code: Select all
//CENTRAL
void setup() { Serial.begin(115200); Serial.println("AT+SETTING=DEFPERIPHERAL"); delay(250); Serial.println("AT+ROLE=ROLE_PERIPHERAL"); delay(150); Serial.println("AT+NAME=Baby-G2"); delay(150); Serial.println("AT+BIND=<MASTER MAC ADDRESS>"); //Destination MAC to bind to //Serial.println("AT+CMODE=UNIQUE"); }
Code: Select all
Both BLUNO's LINK light is on. However, for some reason, my CENTRAL MAC address is now empty. What happened?void setup() { Serial.begin(115200); Serial.println("AT+SETTING=DEFCENTRAL"); delay(250); Serial.println("AT+ROLE=ROLE_CENTRAL"); delay(150); Serial.println("AT+NAME=Baby-GMASTER"); delay(150); Serial.println("AT+BIND=<PERIPHERAL MAC ADDRESS>"); //Destination MAC to bind to //Serial.println("AT+CMODE=UNIQUE"); }
Am I missing something?
Update 1:
I brought up the Serial Monitor and I can see the RSSI on the PERIPHERAL. But I cannot see the RSSI on the CENTRAL.
2014-04-30 18:44:40 Hello visualxl,
Yeah, in the CENTRAL mode, the BLUNO mac address will always be 0x00000000000.
Only in the PERIPHERAL mode, it will display its mac address. And you could make a connection from CENTRAL, if you know the PERIPHERAL address.
For unbind, you are right, changing the mac address to anther device one will be OK.
Grey.CC
Yeah, in the CENTRAL mode, the BLUNO mac address will always be 0x00000000000.
Only in the PERIPHERAL mode, it will display its mac address. And you could make a connection from CENTRAL, if you know the PERIPHERAL address.
For unbind, you are right, changing the mac address to anther device one will be OK.

2014-04-30 00:58:12 And why is my CENTRAL MAC address is 0x000000000000?
And how do I unbind?
Update 1:
CENTRAL seems to be always 0x000000000000 if I were to bind it to PERIPHERAL. In order to get back the MAC address back, do this:
To unbind, you just have to: (correct me if I am wrong)
visualxl
And how do I unbind?
Update 1:
CENTRAL seems to be always 0x000000000000 if I were to bind it to PERIPHERAL. In order to get back the MAC address back, do this:
Code: Select all
And you should be able to get your MAC address back.AT+ROLE=ROLE_PERIPHERAL AT+BIND=0x000000000000 AT+RESTART
To unbind, you just have to: (correct me if I am wrong)
Code: Select all
AT+BIND=0x000000000000

2014-04-29 23:50:20 [quote="visualxl"]
Update 1:
I brought up the Serial Monitor and I can see the RSSI on the PERIPHERAL. But I cannot see the RSSI on the CENTRAL.
[/quote]
Thats quite interesting, I'm not entirely familiar with this platform, but this might explain a few things. Perhaps the RSSI has to be read from peripherals and sent back to the Central manually.
Jose
Update 1:
I brought up the Serial Monitor and I can see the RSSI on the PERIPHERAL. But I cannot see the RSSI on the CENTRAL.
[/quote]
Thats quite interesting, I'm not entirely familiar with this platform, but this might explain a few things. Perhaps the RSSI has to be read from peripherals and sent back to the Central manually.
