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 54 of 64
GetJackStatus
This function command retrieves the status of the Jack
Parameters :
İnt *jackStatus
0 – Jack In 1 - Jack Out
timeToWait
maximum time to wait for command to complete
Return Value:
0 for success
///\brief GetJackStatus This function retrieves status of the JACK
///
///\param jackStatus
///\param _timeToWait is the time in milliseconds to wait for the data to be
retrieved.
///\return 0 on success, negative error code on failure
///
Possible error codes are:
///
DEVICE_INFO_STRUCTURE_NULL
= User app passed in NULL pointer
for DEVICE_INFO structure
///
NO_ NavPad™_CONNECTED
= No keypad is connected so cannot
retrieve info
///
REQUEST_TIMEOUT
= Could not retrieve the info in the
time allotted.
///
DLLDEF
int
GetJackStatus(
int
*jackStatus,
int
_timeToWait );