RN42 bluetooth HID Host - Is it possible?

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

 

I have incorporated RN42 bluetooth modules for a few years on my XMEGA projects. I have used them to send debugging text, and commands, back and forth to Android phones.

 

Recently I wanted to read an HID bluetooth joystick so I spec'd the HID version of the RN42 instead.

 

The docs are sketchy at my current level of understanding.  Can I not make an HID host? It seems I can only make an HID device. I could make a bluetooth joystick for example. But, I want to READ an existing bluetooth joystick.

 

Does anyone know if that is possible with the RN42 HID?

 

Thanks

Mike in Alaska

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

From a quick read, it appears that the RN42 is a device only, and does not support operation in Host mode.

 

This Thread discusses which AVR's have Host Mode USB capability, (as does your smart phone, your PC, etc.).

 

Search this site for Threads on Dean's LUFA for some more info on AVR's and USB.

 

JC

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

DocJC wrote:
...  Host Mode USB capability, (as does your smart phone, your PC, etc.).

Note that not all smartphones have Host (or OTG) capability on their USB port.

 

In fact, I think it may be more common that they don't ?

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

awneil wrote:
In fact, I think it may be more common that they don't ?

Actually I think most had OTG support in hardware, but it was very often disabled software side by manufactors.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

 

Thanks for taking a look and your suggestion.

 

Mike