SWRA715 December   2021 CC2642R , CC2652R

 

  1.   Trademarks
  2. 1Introduction
  3. 2Bluetooth Low Energy Introduction
  4. 3HOGP Introduction
    1. 3.1 HID Roles
    2. 3.2 HID Host
    3. 3.3 HID Device
  5. 4Project Description and Walkthrough
    1. 4.1  General Project Discussion
    2. 4.2  Report Map Discussion
    3. 4.3  Hid_input struct/union Discussion
    4. 4.4  Mouse Operation
    5. 4.5  Keyboard Operation
    6. 4.6  Consumer Report Operation
    7. 4.7  Connection Interval
    8. 4.8  Notification System
    9. 4.9  PDU Size and Number of PDUs per Connection Event
    10. 4.10 Notification Payload Discussion
      1. 4.10.1 Mouse Notification
      2. 4.10.2 Keyboard Notification
      3. 4.10.3 Consumer Report Notification
    11. 4.11 Throughput Discussion
    12. 4.12 Overall Block Diagrams
  6. 5Demo Usage
    1. 5.1 Hardware/Software Used
    2. 5.2 Mouse Demo Usage
    3. 5.3 Keyboard and Consumer Report Demo Usage
  7. 6Summary

Mouse Demo Usage

To initiate the demo, follow the steps outlined below:

  1. Compile and flash the hid_emu_kbd project onto a CC26X2R LaunchPad.
    1. For information on how to compile and flash projects onto this device, see the SimpleLink Academy Bluetooth Low Energy Fundamentals course.
  2. Once the device has been flashed with the project. Connect the computer (HID Host) to the CC26X2R LaunchPad. By default, the device should be named “HID Keyboard” and should appear as such in the discovered device list.
  3. Once the computer has connected and bonded with the CC26X2R Launchpad, the mouse movement demo may be started by pressing both buttons (the left and right buttons) simultaneously.
  4. If the previous steps are done successfully, the mouse demo should begin and the cursor should begin to move in a square formation.
  5. To deactivate the demo, press both buttons once more or reset the LaunchPad.
  6. The mouse demo does not interfere with the keyboard and consumer report demo.

To initiate the demo, the hid_emu_kbd project must first be flashed onto the LaunchPad and connected to the computer (HID Host). Once the device is connected, the mouse demo mode can be initiated by pressing both buttons on the LaunchPad simultaneously. Once both buttons are pressed, the cursor will begin to move in a square formation. This continues until the mouse demo mode is deactivated or the LaunchPad is reset. To deactivate the mouse demo, both buttons must be pressed again.