Hello. I've been using a Bluetooth module with my iPhone for a while now, and it's been working GREAT. However, it was time for an upgrade. (I had an iPhone 4s until yesterday!!!) I got an Android phone this time, for something different.
Anyways, my Bluetooth Module does not want to pair with my Android. In most apps, including Bluetooth Terminal and an app I made with MIT App Inventor, the Bluetooth Module does not show up!
In System Settings it does show up, but when I select it (and try to Pair with it) it says that it can't pair. "NAME declined your pairing request"
Why would it work on my iPhone and not my Android?
Could it be that my Bluetooth module is not compatible with Android, but is compatible with iOS? That seems unlikely. iOS is generally the picky one, right?
IOS is picky inasmuch that it only talks BT4. You don't say what bluetooth you are using, but the fact that you have used it with IOS at least confirms that it is BT4. Years ago I had a tablet that would not talk to my HC-06 but it turned out to be fine with a bluietooth keyboard. I never found out what that was about. I have an HM-10 that my neither my tablet nor my phone will connect with. I have not yet pursued this problem as the HC-06 is fine with both. I guess these things can happen. If it is a chronic problem, I guess we would all know. Plenty of people on this forum use BT-4 these days.
Nick_Pyner:
IOS is picky inasmuch that it only talks BT4. You don't say what bluetooth you are using, but the fact that you have used it with IOS at least confirms that it is BT4. Years ago I had a tablet that would not talk to my HC-06 but it turned out to be fine with a bluietooth keyboard. I never found out what that was about. I have an HM-10 that my neither my tablet nor my phone will connect with. I have not yet pursued this problem as the HC-06 is fine with both. I guess these things can happen. If it is a chronic problem, I guess we would all know. Plenty of people on this forum use BT-4 these days.
So are you saying I need to purchase another Bluetooth module? If so, which one would you recommend? I think I'm using the HC06 OR the HC08, I don't recall.
I know my previous was not too helpful but I was only saying Android<>Bluetooth does see the odd bug. - however rare. Bluetooth with Android is common reliable and popular. I guess it depends on what you want, but I don't think Arduino<>Bluetooth<>IOS merits one second's consideration. At first I would suggest you try the new phone on other bluetooth devices. I say this because you are familiar with Bluetooth operations, and the problem is not likely to rest there. You should not have to buy another Bluetooth but, for less than $4, I would chance an HC-06 or HC-05, which are known fine performers with Android. The HC-05 is more versatile than an HC-06 but costs about the same. Both are BT-2 devices. I think an HC-08 is more likely to be just moving the problem rather than solving it.
I have just realised that this might be a protocol problem, and you don't say what you want to do - or used to do.
Nick_Pyner:
I know my previous was not too helpful but I was only saying Android<>Bluetooth does see the odd bug. - however rare. Bluetooth with Android is common reliable and popular. I guess it depends on what you want, but I don't think Arduino<>Bluetooth<>IOS merits one second's consideration. At first I would suggest you try the new phone on other bluetooth devices. I say this because you are familiar with Bluetooth operations, and the problem is not likely to rest there. You should not have to buy another Bluetooth but, for less than $4, I would chance an HC-06 or HC-05, which are known fine performers with Android. The HC-05 is more versatile than an HC-06 but costs about the same. Both are BT-2 devices. I think an HC-08 is more likely to be just moving the problem rather than solving it.
I have just realised that this might be a protocol problem, and you don't say what you want to do - or used to do.
What I want to do: send characters/data between the Android and the Arduino
I have tried my new phone on other Bluetooth devices. I listen to music frequently on my new device with Bluetooth headphones. It works great.
The HC-05 can be configured as a master. This means that an HC-05 can initiate communication, and most of its many other capabilities spring from that fact. The most obvious use for this is where you want one Arduino to talk to another, whereby at least one must be a master. Note that, once comms is established, it doesn't matter which is master or which is slave.
And make no mistake, if
What I want to do: send characters/data between the Android and the Arduino
then an HC-06, which is slave only, is entirely suitable. Android is the master and is always used to make the connection. Note that this applies even if you want two-way comms.
I only say HC-05 because it is something you might want later, the price is usually the same, and both come as a slave by default anyway. Most of my work is just two way datalogging and is done with an HC-06.