I just bought a SIM800 module for my Arduino project and I found that I supports Bluetooth too. I have already worked with HC-05 and my Android phone.
I tried to play with this module and able to connect it successfully with my Android mobile. I am able to make a call using it, accept a call, etc. But when I tried to send text data using it (in SPP mode), I ran into problem.
I have an app called Bluetooth Terminal in my mobile with which I use to communicate with my HC-05. But with SIM800, I can't connect.
I have read all the AT commands which are used to make a SPP connection. Here's a screenshot of the PuTTy terminal where I tried to make the connection:
As you can see in the image, whenever I try to call
AT+BTGETPROF=1
It never returns to me. I also tried the command with my Bluetooth visible in the mobile, but still no result.
Whenever I try to run the command or
AT+BTCONNECT=1,4
My SIM800 goes into state 2 and I have to manually reset it.
Can someone please help me with this problem? I just want to use my SIM800 as a SPP client/server so that I can exchange text data with my Android APP.
Thanks in advance.
1 Answer 1
By default i see that the Android handset i used did not have SPP profile enabled. You need to open a App which enables the SPP profile to be advertised. Then after that you can get that in AT+BTGETPROF list. I made a tutorial for this, Have a look here,
and
http://www.raviyp.com/embedded/215-sim800-series-bluetooth-at-commands
AT+BTCONNECT
. Yes I got the+BTPAIRING:
message when I make the request from my mobile, but then my SIM800 enters into Server mode because of which I can't useAT+BTSPPGET
andAT+BTSPPSEND