Applying structure pointer and dynamic data structure, such as the linked list and queue in c, we have made the working software executed with less memory requirement and time overhead.
The developer can define the different HID list to transmit the different format data according to the requirement, so as to realize the communication between application program and equipment.