Go Down

Topic: Elecfreaks Bluetooth Shield not working with Mega 2560 (Read 621 times) previous topic - next topic

Dima-a

Hey guys.

I try to connect Elecfreaks Bluetooth Shield v1.2 to Arduino Mega 2560.
It working in AT mode, i can send AT commands, but i cant do main command AT+LINK=



In port monitor it look:
------->  AT+LINK=8400,D2,35170C
FAIL
+INQ:8400:D2:35170C,58020C,FFCE
+INQ:8400:D2:35170C,58020C,FFCD
+INQ:8400:D2:35170C,58020C,FFCE
+INQ:8400:D2:35170C,58020C,FFCE
+INQ:8400:D2:35170C,58020C,FFCE
+INQ:8400:D2:35170C,58020C,FFCE
+INQ:8400:D2:35170C,58020C,FFCE
+INQ:8400:D2:35170C,58020C,FFCE
+INQ:8400:D2:35170C,58020C,FFCE
OK

It work one time (it was one of the happiest hours of my life) with computer bluetooth of all time im trying, and it never happen again :(

Commands, what make ones connection:
------->  at
OK
------->  at+role
+ROLE:1
OK
------->  at+init
OK
------->  at+iac=9e8b33
OK
------->  at+class=0
OK
------->  at+inqm=1,9,48
OK
------->  at+inq
+INQ:A:94:32FA1,20104,FFD1
+INQ:A:94:32FA1,20104,FFD8
+INQ:A:94:32FA1,20104,FFD9
+INQ:A:94:32FA1,20104,FFD1
+INQ:A:94:32FA1,20104,FFD8
+INQ:A:94:32FA1,20104,FFD0
+INQ:A:94:32FA1,20104,FFD4
+INQ:A:94:32FA1,20104,FFD9
+INQ:A:94:32FA1,20104,FFD3
OK
------->  At+pair=A,94,32FA1,20
OK
------->  at+fsad=A,94,32FA1
OK
------->  at+link=A,94,32FA1
FAIL
+INQ:A:94:32FA1,20104,FFD3
+INQ:A:94:32FA1,20104,FFD8
+INQ:A:94:32FA1,20104,FFDA
+INQ:A:94:32FA1,20104,FFD3
+INQ:A:94:32FA1,20104,FFD1
+INQ:A:94:32FA1,20104,FFD2
+INQ:A:94:32FA1,20104,FFD3
+INQ:A:94:32FA1,20104,FFD7
+INQ:A:94:32FA1,20104,FFC1
OK
------->  at+link=A,94,32FA1
FAIL
+INQ:A:94:32FA1,20104,FFD0
+INQ:A:94:32FA1,20104,FFB7
+INQ:A:94:32FA1,20104,FFDA
+INQ:A:94:32FA1,20104,FFD5
+INQ:A:94:32FA1,20104,FFD5
+INQ:A:94:32FA1,20104,FFD8
+INQ:A:94:32FA1,20104,FFD6
+INQ:A:94:32FA1,20104,FFDB
+INQ:A:94:32FA1,20104,FFD8
OK
------->  at
OK
------->  at
OK
------->  at
OK
------->  AT+FSAD=A,94,32FA1
OK
------->  AT+STATE?
+STATE:INQUIRING
OK
------->  AT+LINK=A,94,32FA1
OK
+DISC:SUCCESS
OK


What i can do to get successful connection with AT+LINK= command ?

Thank you for you helping!

Dmitry.

Go Up