NavPad
™
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 2020. All rights reserved.
NavPad - Technical Manual Rev 2.2
www.storm-interface.com
Page 45 of 64
InitialiseStormUSBDevice
This function is used to initialise the keypad. This is identified by the Product PID and Manufacturer VID. These are
assigned to Keymat:
Vendor ID – 0x2047
Product ID – 0x09BF
On successful finding the keypad the manufacturer_local will be filled with “Storm Interface” and product_local will
be filled with “EZ Key”. If not successful both of the strings will be filled with “none”
Parameters :
storm_vid
-
Vendor ID
product_pid
-
Product ID
manufacturer
-
vendors name will be stored
product
-
product name will be stored
Return Value:
True for success
False for failure.
///\brief InitializeStormUSBDevice is called at the beginning of the
application to
///Setup the PRODUCT ID (PID) and product vid
///\return false on failure, true on success.
///On failure, call GetErrorCode() to retrieve the error
///
bool
InitializeStormUSBDevice(
int
storm_vid,
int
product_pid);