I have a Bluesmirf HID Modem from sparkfun. It has the RN-42 HID module. I have been trying to create a wireless keyboard that will connect to my iPad, and I’m having trouble pairing. Last week, I was able to pair and connect to the iPad, but this week, my bluetooth modem won’t pair at all. What is happening currently is when I try to pair the devices together, the iPad will briefly flash the message to enter a passcode on the keyboard, and then that disappears and says that the pairing was unsuccessful. Last week, I was able to make the virtual keyboard show up on the iPad, and I was able to enter the passcode for the module there (“1234”) and then they would pair. This is not happening now.
Currently, I have set HID flag register to toggle the virtual keyboard on an iOS device (“SH,0300”) and my module is in SSP authentication (“SA,2”) and HID mode. It’s currently in in DTR mode (“SM,4”) and I’ve also tried pairing in the pairing mode (“SM,6”).
For my project, I will be sending HID raw inputs from an Arduino, over the modem, to the iPad. I think it’s very strange that my modem paired with my iPad a week ago, but won’t do so this week.
Any thoughts on this would be greatly appreciated.