| Tipro API Communicate with Tipro devices

BF10.h
Go to the documentation of this file.
1
17 #ifndef _TIPRO_TIPROHIDAPI_BF10_H_
18 #define _TIPRO_TIPROHIDAPI_BF10_H_
19
20 #include "TiproHidDevice.h"
21
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25
26 /****************************************************************************/
27 /* BF10 FUNCTIONS */
28 /****************************************************************************/
29
36 int TiproBF10SetLuminance (TiproHidDevice *device, int nIndex);
37
43 int TiproBF10TouchscreenDisable(TiproHidDevice *device);
44
50 int TiproBF10TouchscreenEnable(TiproHidDevice *device);
51
58 int TiproBF10SetSpeakerLevel(TiproHidDevice *device, int nLevel);
59
66 int TiproBF10GetSpeakerLevel(TiproHidDevice *device, int *nLevel);
67
74 int TiproBF10GetPTTKeyState (TiproHidDevice *device, int *nState);
75
82 int TiproBF10SetPTTKeyLEDState (TiproHidDevice *device, int nState);
83
92 int TiproBF10SetPTTKeyLEDStateEx (TiproHidDevice *device, int nState, int nTBlinkOn, int nTBlinkOff);
93
100 int TiproBF10GetPTTKeyLEDState (TiproHidDevice *device, int *nState);
101
108 int TiproBF10MuteMicrophone (TiproHidDevice *device, int nMute);
109
116 int TiproBF10SetMicrophoneLevel (TiproHidDevice *device, int nLevel);
117
124 int TiproBF10SetMicrophoneOptimalDistance (TiproHidDevice *device, int nDistance);
125
132 int TiproBF10SetMicrophoneThreshold (TiproHidDevice *device, int nThreshold);
133
140 int TiproBF10SetMicrophoneCompression (TiproHidDevice *device, int nCompression);
141
148 int TiproBF10SetAnalogAudio(TiproHidDevice *device, int nSettings);
149
156 int TiproBF10GetAnalogAudio(TiproHidDevice *device, int *nSettings);
157
164 int TiproBF10GetMicrophoneLevel (TiproHidDevice *device, int *nLevel);
165
172 int TiproBF10GetMicrophoneOptimalDistance (TiproHidDevice *device, int *nRange);
173
180 int TiproBF10GetMicrophoneThreshold (TiproHidDevice *device, int *nThreshold);
181
188 int TiproBF10GetMicrophoneCompression (TiproHidDevice *device, int *nCompression);
189
196 int TiproBF10EnableManualMicrophoneControl(TiproHidDevice *device, int nEnable);
197
198 #ifdef __cplusplus
199 }
200 #endif
201
202 #endif
TiproHidDevice.h
Represents Tipro device.
TiproBF10SetMicrophoneCompression
int TiproBF10SetMicrophoneCompression(TiproHidDevice *device, int nCompression)
Sets compression for the microphone signal.
TiproBF10GetAnalogAudio
int TiproBF10GetAnalogAudio(TiproHidDevice *device, int *nSettings)
Returns Analog audio options.
TiproBF10GetPTTKeyLEDState
int TiproBF10GetPTTKeyLEDState(TiproHidDevice *device, int *nState)
Returns the LED state of the illuminated PTT Key.
TiproBF10TouchscreenEnable
int TiproBF10TouchscreenEnable(TiproHidDevice *device)
Enables touchscreen.
TiproBF10GetMicrophoneLevel
int TiproBF10GetMicrophoneLevel(TiproHidDevice *device, int *nLevel)
Returns the level of the microphone signal.
TiproBF10EnableManualMicrophoneControl
int TiproBF10EnableManualMicrophoneControl(TiproHidDevice *device, int nEnable)
Enables manual control of microphone.
TiproBF10SetPTTKeyLEDState
int TiproBF10SetPTTKeyLEDState(TiproHidDevice *device, int nState)
Sets the LED state of illuminated PTT key.
TiproBF10GetMicrophoneThreshold
int TiproBF10GetMicrophoneThreshold(TiproHidDevice *device, int *nThreshold)
Returns threshold for the microphone signal.
TiproBF10GetMicrophoneOptimalDistance
int TiproBF10GetMicrophoneOptimalDistance(TiproHidDevice *device, int *nRange)
Returns the optimal distance of the handsfree microphone signal.
TiproBF10SetPTTKeyLEDStateEx
int TiproBF10SetPTTKeyLEDStateEx(TiproHidDevice *device, int nState, int nTBlinkOn, int nTBlinkOff)
Sets the operation of the illuminated PTT key with more paramters.
TiproBF10GetSpeakerLevel
int TiproBF10GetSpeakerLevel(TiproHidDevice *device, int *nLevel)
Returns the level of the speakers.
TiproBF10SetMicrophoneOptimalDistance
int TiproBF10SetMicrophoneOptimalDistance(TiproHidDevice *device, int nDistance)
Sets the optimal distance of the handsfree microphone signal.
TiproBF10SetAnalogAudio
int TiproBF10SetAnalogAudio(TiproHidDevice *device, int nSettings)
Sets the Analog audio options.
TiproBF10MuteMicrophone
int TiproBF10MuteMicrophone(TiproHidDevice *device, int nMute)
Mutes/un-mutes the microphone signal.
TiproBF10GetPTTKeyState
int TiproBF10GetPTTKeyState(TiproHidDevice *device, int *nState)
Returns the state of the PTT key.
TiproBF10SetLuminance
int TiproBF10SetLuminance(TiproHidDevice *device, int nIndex)
Sets luminance for both stripe and LCD backlight.
TiproBF10TouchscreenDisable
int TiproBF10TouchscreenDisable(TiproHidDevice *device)
Disables touchscreen.
TiproBF10GetMicrophoneCompression
int TiproBF10GetMicrophoneCompression(TiproHidDevice *device, int *nCompression)
Returns compression for the microphone signal.
TiproBF10SetMicrophoneLevel
int TiproBF10SetMicrophoneLevel(TiproHidDevice *device, int nLevel)
Sets the level of the microphone signal.
TiproHidDevice
Definition: TiproHidDevice.h:32
TiproBF10SetSpeakerLevel
int TiproBF10SetSpeakerLevel(TiproHidDevice *device, int nLevel)
Sets the level of the speakers.
TiproBF10SetMicrophoneThreshold
int TiproBF10SetMicrophoneThreshold(TiproHidDevice *device, int nThreshold)
Sets threshold for the microphone signal.