I'm trying to setup this Bluetooth module and I can't seem to get it working.
I followed these guides:
http://www.martyncurrey.com/arduino-with-hc-05-bluetooth-module-at-mode/
And I am unable to connect to it with my phone, when I click on the Bluetooth device it says: "Pairing rejected by SH-HC-08" and I am unable to enter or send any AT codes.
If anyone knows how to fix this that would be great.
Thank you.
I rather suspect you should ditch the HC-08 and start over with an HC-05, so a clearer explanation of your intentions might be in order. As things are, using tutorials for HC-05 while holding an HC-08 in your hand can't possibly be a good idea. The former is Bluetooth-2 while the latter is Bluetooth-4. They are essentially different systems, and about the only thing they have in common is the word "bluetooth". I have seen sellers promoting BT-4 devices as upgrades to BT-2. If that is your seller, and that is why you bought it, you might send it back, as it was misrepresented.
Points of note:
You cannot send AT commands to any bluetooth by phone, only by wire.
You don't need to send any AT commands to Bluetooth in order to use it with a phone.
AT commands are only for communication between Bluetooth and Arduino, and you may never need to do that either.
BT-4 devices are in AT mode by default, i.e. power on but not actually communicating. So, if you really need to configure it, you might be able to do so if you use it like an HC-06, not HC-05.
Is your phone BT-4? I understand that, contrary to form, HM-10 is not backward compatible, and that may also apply to HC-08.
The only time I have ever made connection with a BT-4 device with a phone is when I connected directly from a BT-4 scanning app - no pairing. This procedure does not work with standard Android teminal programmes. That may be because BT-4 needs to be put into another mode by some AT command, but I have not yet found the motivation to try that.
The Martyn Currey site has the best tutorial on BT-4 I know of but, depending on your needs, you might find it faintly depressing to read.