Forum >Why do I still see CENTRAL BLUNO on my BLE Scanner?
Why do I still see CENTRAL BLUNO on my BLE Scanner?

Here are my codes for CENTRAL configuration:
Code: Select all
I don't understand why do I still see CENTRAL BLUNO on my BLE Scanner? Am I missing something?void masterConfiguration() { Serial.print("+++"); delay(250); Serial.println("AT+SETTING=DEFCENTRAL"); delay(250); Serial.println("AT+ROLE=ROLE_CENTRAL"); delay(150); //150 Serial.println("AT+NAME=BabyMaster"); delay(150); Serial.println("AT+BIND=0x883314DC6FEF"); //PERIPHERAL Bluno delay(150); Serial.println("AT+TXPOWER=0"); Serial.println("AT+EXIT"); }
2014-06-11 04:48:35 Nope. It seems to be a GSM shield issue. I had to add a 'false' boolean in the GSM constructor. I shall write about that someday ~
visualxl


2014-06-11 03:37:32 Hmm.. I may consider that. Another question that I have is, would a standard GSM shield interfere with the BLUNO?
I noticed that whenever I issue a delay of let say 30 seconds within some loop, the GSM is not able to initialise. I am trying to replicate the same thing on a standard Uno to see whether will it give the same problem.
visualxl
I noticed that whenever I issue a delay of let say 30 seconds within some loop, the GSM is not able to initialise. I am trying to replicate the same thing on a standard Uno to see whether will it give the same problem.

2014-06-11 03:26:38 For some projects I've used an LCD to display the output of certain commands, or even the LED when data is received.
You could send your AT command and parse the response. If is OK or good, then turn on LED on board. or print it on LCD to check what is going on.
Another way is to use the software serial or altsoftware serial. and enable another pin to output at commands answer through Arduino.
My guess is that none of the AT commands are being sent appropiately. Have you initilized the Serial port? with right baud rate?
Jose
You could send your AT command and parse the response. If is OK or good, then turn on LED on board. or print it on LCD to check what is going on.
Another way is to use the software serial or altsoftware serial. and enable another pin to output at commands answer through Arduino.
My guess is that none of the AT commands are being sent appropiately. Have you initilized the Serial port? with right baud rate?

2014-06-10 20:21:22 Grey / Jose,
Negative. Both:
visualxl
Negative. Both:
Code: Select all
I replaced with '.write', and my ROLE is still PERIPHERAL and the name still has not changed to reflect "BabyMaster" yet. That's mean it does not enter AT MODE?Serial.print("+++"); //it does enter AT mode. Serial.write("+++"); //It also enter AT mode
Code: Select all
I changed it back to "Serial.print("+++");" and it disappears from my phone. Well.. I don't why like that. Serial.write("+++"); delay(250); Serial.println("AT+SETTING=DEFCENTRAL"); delay(250); Serial.println("AT+ROLE=ROLE_CENTRAL"); delay(150); //150 Serial.println("AT+NAME=BabyMaster"); delay(150); Serial.println("AT+BIND=0x883314DC6FEF"); //PERIPHERAL Bluno delay(150); Serial.println("AT+TXPOWER=0"); Serial.println("AT+EXIT");

2014-06-09 19:08:17 Hey, visualxl
You want to use the code to set the role of the ble device?
As what I said just now, it doesn't enter the AT mode, so the Role setting command should not be work.
Grey.CC
You want to use the code to set the role of the ble device?
As what I said just now, it doesn't enter the AT mode, so the Role setting command should not be work.

2014-06-09 18:52:31 No Grey,
My android can see the BLUNO. But what I meant is, it is not supposed to be able to see CENTRAL right?
I've got to like RESET it a couple of times before it disappear from my BLE Scanner.
visualxl
My android can see the BLUNO. But what I meant is, it is not supposed to be able to see CENTRAL right?
I've got to like RESET it a couple of times before it disappear from my BLE Scanner.

2014-06-09 18:30:36 Hello visualxl?
Your mean your Android app can't find any BLUNO device with the newest firmware?
There are some faults in your code:
If you want to into the AT Mode, you should use "Serial.write("+++");"
And it is better to use "AT+TXPOWER=4", 4 is the largest number of the transmitting power.
Grey.CC
Your mean your Android app can't find any BLUNO device with the newest firmware?
There are some faults in your code:
If you want to into the AT Mode, you should use "Serial.write("+++");"
And it is better to use "AT+TXPOWER=4", 4 is the largest number of the transmitting power.
