Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

intefacing of blutooth module mdcs42a with avr

Status
Not open for further replies.

vishu489

Advanced Member level 4
Full Member level 1
Joined
Aug 28, 2011
Messages
116
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Visit site
Activity points
2,120
hi friend i'm trying to interface blutooth module nvc-mdcs42a with atmega8 . for testing purpose of module i interface it with pc. actually i wanted to use this module in ssp slave mode ,so i send following command to module through pc hyperterminal

BC:pF=04,00,00\r\n // 4 spp channel,no rfcomm,no hid
BC:FT=00,01,00,0A\r\n // disable autoconnect after power on ,
autoconnect after paired,
disable reconnection if link lost
time gap between reconnection bydefault
BC:MD=01\r\n // make device discoverable

i get all the positive response for above command but when i try to connect my mobile to modem it fails to establish connection , i get following response

SS=01,BLUTOOTH ADDR //attempting to connect
CS=01,BLUTOOTH ADDR // fail to establish connection
SS=00 // no connection

but the proper response should be like that

SS=01,BLUTOOTH ADDR //attempting to connect
CS=00,BLUTOOTH ADDR // connection establish successfully
SS=02 // device connected

i dont know why it is happening , plz help me
 

hey friends now its working fine but i don't know why it was happening
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top