
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 46 of 64
GetDeviceStatus
This function retrieves status information about the NavPad™. For example,
led_brightness
,
buzzer_on_off
,
buzzer_period
etc. All information is stored in DEVICE_INFO structure.
Parameters :
typedef
struct
{
unsigned
char
led_brightness;
unsigned
char
buzzer_on_off;
unsigned
char
buzzer_period;
unsigned
char
keypad_table;
unsigned
char
keyCode[20];
std::string
version;
std::string
serialNumber;
} DEVICE_INFO;
_deviceInfo
-
DEVICE_INFO structure, that will be filled by the function
timeToWait
-
maximum time to wait for command to complete
Return Value:
True for success
False for failure.
///\brief GetDeviceStatus Retrieves the USB Display’s status information including:
jack status, HV switch status, Firmware Name.
///The data are returned in a DEVICE_INFO structure
///\param _deviceInfo is a pointer to a DEVICE_INFO structure that receives
information retrieved from the NavPad.
///\param _timeToWait is the time in milliseconds to wait for the data to be
retrieved.
///\return 0 on success, negative error code on failure
///
Int
GetDeviceStatus( DEVICE_INFO *_deviceInfo,
int
_timeToWait );