![Storm 1400 series Скачать руководство пользователя страница 29](http://html.mh-extra.com/html/storm/1400-series/1400-series_technical-manual_1382785029.webp)
Audio-Nav
Appendix 3 – Host API Library
Technical Manual
The content of this communication and/or document, including but not limited to images, specifications, designs, concepts and information is
confidential and is not to be used for any purpose or disclosed to a third party without the express and written consent of
Keymat Technology Ltd., Copyright 2015. All rights reserved.
1400 Series Audio-Nav Technical Manual Rev 1.5
www.storm-interface.com
Page 29 of 39
Host API Library - Overview
The Host API Library for the AudioNav is a middleware application between the Host application and Audio Nav
device. You can download this together with the HIDAPI library from
www.storm-interface.com
.
Audio Nav API – The AudioNavApi library allows for the host application to invoke Audio Nav functions as
listed above. The API encapsulates all the communications to USB and provides a simple API for the host
application developers.
HIDAPI - This is a third party library, which allows an application to interface with USB HID-Compliant
devices on Windows, Linux, and Mac OS X. While it can be used to communicate with standard HID
devices like keyboards, mice, and Joysticks, it is most useful with custom (Vendor-Defined) HID devices.
This allows for host software to scan for the device using its VID/PID.
The Audio Nav uses USB for communicating with the host. It includes an HID-compliant device . One of the
advantages of using this implementation, which uses only HID interfaces, is that no drivers are required on host
system.
The protocol for communicating with host is described fully in the following pages. The basic architecture is shown
below.
The developer does not need to worry about the communication at low level. You can request source code from
us for the library so it can be ported to your specific platform. Currently the library has been tested on Windows and
Linux (Ubuntu) platform.
Audio Nav Functions e.g.
SetLedLevel etc.,
Audio Nav
API
HIDAPI