iPod IWIP3G User Guide - Page 202
Human Interface Device HID Example
UPC - 649241862819
View all iPod IWIP3G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 202 highlights
12.12 Human Interface Device (HID) Example This HID keyboard and mouse modes allows iWRAP to be used as a wireless Bluetooth keyboard or Bluetooth mousre. iWRAP can be connected to a PC, PDA or a mobile phone that supports HID host profile and then iWRAP can be used to simulate a keyboard or a mouse. An example is provided in the figure below. Host iWRAP SET PROFILE HID on SET BT AUTH * SET BT CLASS 00540 SET CONTROL CONFIG 800 RESET boot prompt RING {link_id} {bd_addr} {psm} HID AUTH {bd_addr}? One time initialization Pairing attempt Mode switch to data mode PC Discovery Pairing initiation ESCAPE sequence or DTR Mode switch to command mode AUTH {bd_addr} {pin} PIN displayed by PC Successful HID connection SELECT {link_id+1} Select HID data connecton Transparent HID connection Figure 21: HID keyboard example In the configuration part pin code needs to be disabled and interactive pairing mode enabled with SET CONTROL CONFIG 800 as with HID keyboard the HID host will provide a random pin code, which needs to be typed with the keyboard. The connection needs to be established from the PC and iWRAP will show CONNECT and AUTH events. Host must respond to the AUTH event with AUTH command and the pin code shown by the PC. After pairing has been completed the HID control connection needs to be activated. The above example was made using Broadcom (Widcomm) Bluetooth stack and the operation may vary a little bit with different stacks. 202