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
F=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