![Storm 1400 series Technical Manual Download Page 34](http://html.mh-extra.com/html/storm/1400-series/1400-series_technical-manual_1382785034.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 34 of 39
SetLedLevel
This function sets the brightness of the led. The led level can be set with values 0 to 9.
Parameters :
Int ledLevel
timeToWait
-
maximum time to wait for command to complete
Return Value:
0 for success
///\brief SetLedLevel This function sets led brightness level from 0 to 9,
where 0 is off
///
and 9 is on.
///\param ledLevel used to set led level
///\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_USB_DISPLAY_CONNECTED =
No
keypad
is
connected so cannot retrieve info
///
REQUEST_TIMEOUT
=
Could
not
retrieve
the
info in the time alloted.
///
DLLDEF
int
SetLedLevel(
int
ledLevel,
int
_timeToWait );