9.Software Guide

9.1Introduction

This section describes the software source code modules used in order to communicate with the PRoC™ LP bridge HID device to obtain the current radio parameters for the attached Wire- lessUSB™ LP devices. It does not cover the details of the Microsoft Foundation Class (MFC) Library or the HID Library that contains standard system-supplied routines that user-mode applications use to communicate with USB devices that comply with the USB HID Standard. Refer to the Microsoft Visual C++ documentation for more on MFC and HID Class concepts, in addition to the Device Class Definition for Human Interface Devices (HID) defined by the USB Implementers Forum, Inc.

(http://www.usb.org/developers/hidpage).

9.2Software Code Modules

There are three main modules contained in the WirelessUSB Software:

USB HID API module–generic class interface to HID Class compliant devices

System Tray module–generic class to create and control an icon on the system tray

WirelessUSB System Tray Application module–main system tray application module

The following sections describe the software module contents.

9.2.1USB HID API module

The USB HID API module defines two classes, CHidDevice and CHidManager. The CHidDevice class is the primary interface to a HID device, while the CHidManager class keeps track of the arrival and removal of HID devices, along with notification to the application of such events. The building blocks for the USB HID API module was derived from the HCLIENT sample code provided in the Windows DDK. This module was designed to provide a generic interface to any HID Class compliant device and is not expected to require any modification, however all source code is provided for refer- ence.

CY4672 Reference Design Guide, Document # 001-16968 Revision **

111

[+] Feedback

Page 111
Image 111
Cypress CY4672 manual Software Guide, Software Code Modules, USB HID API module