title: Connecting with Bluetooth L2Cap to HID Device
body: <p>Are there any workarounds to connect to HID device using L2CAP in JAVA ME (using JSR-82 specification implementation native to mobile device not BlueCove etc.)?</p>
  
  <p>I know that HID devices usually uses PSMs (Protocol Service Multiplexor) with 0x0011 value. Unfortunately as I found:</p>
  
  <blockquote>
    <p>Legal PSM values are in the range (0x1001..0xFFFF), and the least significant byte must be odd and all other bytes must be even.</p>
  </blockquote>
  
  <p>Above explains why <code>javax.microedition.io.Connector connect()</code> method throws exception when I try following code:</p>
  
  <pre><code>Connector.open("btl2cap://600010120296:11");
  </code></pre>