![]() |
Tipro API
Communicate with Tipro devices
|
#include "TiproHidDevice.h"
Go to the source code of this file.
Macros | |
| #define | BF20_PCM_SCENARIO_AB 0x3C |
| #define | BF20_PCM_SCENARIO_LR 0x3D |
| #define | BF20_PCM_SCENARIO_VOID 0x3F |
| #define | BF20_PCM_SCENARIO_MASK 0x03 |
| #define | BF20_MICAMP_MODE_LOG 0x33 |
| #define | BF20_MICAMP_MODE_LIN 0x37 |
| #define | BF20_MICAMP_MODE_VOID 0x3F |
| #define | BF20_MICAMP_MODE_MASK 0x0C |
| #define | BF20_LF_SPK_OFF 0x3C |
| #define | BF20_LF_SPK_ON 0x3D |
| #define | BF20_LF_SPK_VOID 0x3F |
| #define | BF20_LF_SPK_MASK 0x03 |
| #define | BF20_VU_AB_MIC_OFF 0x33 |
| #define | BF20_VU_AB_MIC_ON 0x37 |
| #define | BF20_VU_AB_MIC_VOID 0x3F |
| #define | BF20_VU_AB_MIC_MASK 0x0C |
| #define | BF20_LINE_OUT_OFF_SPK 0x10 |
| #define | BF20_LINE_OUT_ON_L_SPK 0x11 |
| #define | BF20_LINE_OUT_ON_R_SPK 0x12 |
| #define | BF20_LINE_OUT_ON_LR_SPK 0x13 |
| #define | BF20_LINE_OUT_VOID 0x14 |
| #define | BF20_LINE_OUT_MASK 0x03 |
| #define | BF20_MIC_OFF_LINE_IN 0x04 |
| #define | BF20_MIC_ON_LINE_IN 0x0C |
| #define | BF20_MIC_LINE_IN_VOID 0x14 |
| #define | BF20_MIC_LINE_IN_MASK 0x08 |
| #define | BF20_EC_OFF 0x00 |
| #define | BF20_EC_ON_L 0x01 |
| #define | BF20_EC_ON_R 0x02 |
| #define | BF20_EC_ON_LR 0x03 |
| #define | BF20_EC_VOID 0x07 |
| #define | BF20_EC_MASK 0x03 |
| #define | BF20_PTT_LED_OFF 0x00 |
| #define | BF20_PTT_LED_ON 0x10 |
| #define | BF20_PTT_LED_BLINK 0x20 |
| #define | BF20_MIC_ACTIVE 0x00 |
| #define | BF20_MIC_MUTE 0x01 |
| #define | BF20_MIC_LEVEL_P3 0x10 |
| #define | BF20_MIC_LEVEL_P2 0x11 |
| #define | BF20_MIC_LEVEL_P1 0x12 |
| #define | BF20_MIC_LEVEL_0 0x13 |
| #define | BF20_MIC_LEVEL_M1 0x14 |
| #define | BF20_MIC_LEVEL_M2 0x15 |
| #define | BF20_MIC_LEVEL_M3 0x16 |
| #define | BF20_MIC_LEVEL_M4 0x17 |
| #define | BF20_MIC_LEVEL_M5 0x18 |
| #define | BF20_MIC_LEVEL_M6 0x19 |
| #define | BF20_MIC_LEVEL_M7 0x1A |
| #define | BF20_MIC_LEVEL_M8 0x1B |
| #define | BF20_MIC_LEVEL_M9 0x1C |
| #define | BF20_MIC_LEVEL_M10 0x1D |
| #define | BF20_MIC_LEVEL_M11 0x1E |
| #define | BF20_MIC_LEVEL_MIN BF20_MIC_LEVEL_P3 |
| #define | BF20_MIC_LEVEL_MAX BF20_MIC_LEVEL_M11 |
| #define | BF20_MIC_DISTANCE_M2 0x0A |
| #define | BF20_MIC_DISTANCE_M1 0x0B |
| #define | BF20_MIC_DISTANCE_0 0x0C |
| #define | BF20_MIC_DISTANCE_P1 0x0D |
| #define | BF20_MIC_DISTANCE_P2 0x0E |
| #define | BF20_MIC_DISTANCE_P3 0x0F |
| #define | BF20_MIC_DISTANCE_P4 0x10 |
| #define | BF20_MIC_DISTANCE_P5 0x11 |
| #define | BF20_MIC_DISTANCE_P6 0x12 |
| #define | BF20_MIC_DISTANCE_P7 0x13 |
| #define | BF20_MIC_DISTANCE_P8 0x14 |
| #define | BF20_MIC_DISTANCE_VERY_SHORT BF20_MIC_DISTANCE_0 |
| #define | BF20_MIC_DISTANCE_SHORT BF20_MIC_DISTANCE_P2 |
| #define | BF20_MIC_DISTANCE_MEDIUM BF20_MIC_DISTANCE_P4 |
| #define | BF20_MIC_DISTANCE_LONG BF20_MIC_DISTANCE_P6 |
| #define | BF20_MIC_DISTANCE_MIN BF20_MIC_DISTANCE_M2 |
| #define | BF20_MIC_DISTANCE_MAX BF20_MIC_DISTANCE_P8 |
| #define | BF20_MIC_COMPRESSION_OFF 0x10 |
| #define | BF20_MIC_COMPRESSION_ON 0x11 |
| #define | BF20_MIC_COMPRESSION_MIN BF22_MIC_COMPRESSION_OFF |
| #define | BF20_MIC_COMPRESSION_MAX BF22_MIC_COMPRESSION_ON |
| #define | BF20_MIC_THRESHOLD_HIGH 0x10 |
| #define | BF20_MIC_THRESHOLD_MID 0x11 |
| #define | BF20_MIC_THRESHOLD_LOW 0x12 |
| #define | BF20_MIC_THRESHOLD_LOWER 0x13 |
| #define | BF20_MIC_THRESHOLD_VERY_LOW 0x14 |
| #define | BF20_MIC_THRESHOLD_MIN BF22_MIC_THRESHOLD_HIGH |
| #define | BF20_MIC_THRESHOLD_MAX BF22_MIC_THRESHOLD_VERY_LOW |
| #define | BF20_LUMINANCE_MIN 0x00 |
| #define | BF20_LUMINANCE_MAX 0x14 |
| #define | BF20_SPK_LEVEL_MIN 0x00 |
| #define | BF20_SPK_LEVEL_MAX 0x14 |
Functions | |
| int | TiproBF20SetPCMScenario (TiproHidDevice *device, int nScenario) |
| Set PCM scenario. More... | |
| int | TiproBF20GetPCMScenario (TiproHidDevice *device, int *nScenario, int *nInitScenario) |
| Get PCM scenario. More... | |
| int | TiproBF20SetMicAmpMode (TiproHidDevice *device, int nMicAmpMode) |
| Set Microphone amplifier mode (Linear/Logarithmic) More... | |
| int | TiproBF20GetMicAmpMode (TiproHidDevice *device, int *nMicAmpMode, int *nInitMicAmpMode) |
| Get Microphone amplifier mode (Linear/Logarithmic) More... | |
| int | TiproBF20SetLFSpeakerState (TiproHidDevice *device, int nState) |
| Set LF speaker state (ON/OFF) More... | |
| int | TiproBF20GetLFSpeakerState (TiproHidDevice *device, int *nState, int *nInitState) |
| Get LF speaker state. More... | |
| int | TiproBF20SetMicOnVUState (TiproHidDevice *device, int nState) |
| Sets if microphone signal is shown on the VU-meter (ON/OFF) More... | |
| int | TiproBF20GetMicOnVUState (TiproHidDevice *device, int *nState, int *nInitState) |
| Get microphone signal shown on VU-meter state. More... | |
| int | TiproBF20SetMic2LineInState (TiproHidDevice *device, int nState) |
| Sets the connection state (ON/OFF) of the gooseneck microphone to the LINE-IN port on the motherboard. More... | |
| int | TiproBF20GetMic2LineInState (TiproHidDevice *device, int *nState, int *nInitState) |
| Returns the connection state (ON/OFF) of the gooseneck microphone to the LINE-IN port on the motherboard. More... | |
| int | TiproBF20SetLineOut2SpkMode (TiproHidDevice *device, int nMode) |
| Sets the connection mode (OFF/L/R/LR) of the motherboard LINE-OUT port to the speakers. More... | |
| int | TiproBF20GetLineOut2SpkMode (TiproHidDevice *device, int *nMode, int *nInitMode) |
| Returns the connection mode (OFF/L/R/LR) of the motherboard LINE-OUT port to the speakers. More... | |
| int | TiproBF20SetEchoMode (TiproHidDevice *device, int nMode) |
| Sets the echo canceler mode (OFF/L/R/LR) More... | |
| int | TiproBF20GetEchoMode (TiproHidDevice *device, int *nMode, int *nInitMode) |
| Returns the echo canceler mode (OFF/L/R/LR) More... | |
| int | TiproBF20TouchscreenDisable (TiproHidDevice *device) |
| Disables touchscreen. More... | |
| int | TiproBF20TouchscreenEnable (TiproHidDevice *device) |
| Enables touchscreen. More... | |
| int | TiproBF20SetPTTKeyLEDState (TiproHidDevice *device, int nState) |
| Sets the LED state of illuminated PTT key. More... | |
| int | TiproBF20SetPTTKeyLEDStateEx (TiproHidDevice *device, int nState, int nTBlinkOn, int nTBlinkOff) |
| Sets the operation of the illuminated PTT key with more paramters. More... | |
| int | TiproBF20GetPTTKeyLEDState (TiproHidDevice *device, int *nState) |
| Returns the LED state of the illuminated PTT Key. More... | |
| int | TiproBF20MuteMicrophone (TiproHidDevice *device, int nMute) |
| Mutes/un-mutes the microphone signal. More... | |
| int | TiproBF20SetLeftSpeakerLevel (TiproHidDevice *device, int nLevel) |
| Sets the level of the left speaker. More... | |
| int | TiproBF20GetLeftSpeakerLevel (TiproHidDevice *device, int *nLevel) |
| Returns the level of the left speaker. More... | |
| int | TiproBF20SetRightSpeakerLevel (TiproHidDevice *device, int nLevel) |
| Sets the level of the right speaker. More... | |
| int | TiproBF20GetRightSpeakerLevel (TiproHidDevice *device, int *nLevel) |
| Returns the level of the right speaker. More... | |
| int | TiproBF20SetMicrophoneLevel (TiproHidDevice *device, int nLevel, bool bSetInit) |
| Sets the gooseneck microphone level. More... | |
| int | TiproBF20GetMicrophoneLevel (TiproHidDevice *device, int *nLevel, int *nInitLevel) |
| Returns the googeneck microphone level. More... | |
| int | TiproBF20SetMicrophoneOptimalDistance (TiproHidDevice *device, int nDistance, bool bSetInit) |
| Sets the microphone optimal distance. More... | |
| int | TiproBF20GetMicrophoneOptimalDistance (TiproHidDevice *device, int *nDistance, int *nInitDistance) |
| Gets the microphone optimal distance. More... | |
| int | TiproBF20GetMicrophoneThreshold (TiproHidDevice *device, int *nThreshold, int *nInitThreshold) |
| Returns threshold for the microphone signal. More... | |
| int | TiproBF20SetMicrophoneThreshold (TiproHidDevice *device, int nThreshold, bool bSetInit) |
| Sets threshold for the microphone signal. More... | |
| int | TiproBF20GetMicrophoneCompression (TiproHidDevice *device, int *nCompression, int *nInitCompression) |
| Returns compression for the microphone signal. More... | |
| int | TiproBF20SetMicrophoneCompression (TiproHidDevice *device, int nCompression, bool bSetInit) |
| Sets compression for the microphone signal. More... | |
| int | TiproBF20GetLuminance (TiproHidDevice *device, int *nLuminance) |
| Returns luminance for both stripe and LCD backlight. More... | |
| int | TiproBF20SetLuminance (TiproHidDevice *device, int nLuminance) |
| Sets luminance for both stripe and LCD backlight. More... | |
| int | TiproBF20GetPTTKeyState (TiproHidDevice *device, int *nState) |
| Returns the state of the PTT key. More... | |
BF20
This file includes functions for communication with BF20.
BeFREE 20 (BF20) is a touchcomputer with integrated intercom.
Tipro
Copyright 2021
| #define BF20_EC_OFF 0x00 |
Echo canceller disabled.
| #define BF20_EC_ON_L 0x01 |
Echo canceller enabled. Left speaker signal as reference.
| #define BF20_EC_ON_LR 0x03 |
Echo canceller enabled. Left and right speaker signal as reference.
| #define BF20_EC_ON_R 0x02 |
Echo canceller enabled. Right speaker signal as reference.
| #define BF20_LF_SPK_OFF 0x3C |
Central speaker disabled.
| #define BF20_LF_SPK_ON 0x3D |
Central speaker activated.
| #define BF20_LINE_OUT_OFF_SPK 0x10 |
Soundcard is not connected to the speakers.
| #define BF20_LINE_OUT_ON_L_SPK 0x11 |
Left channel of soundcard to left speaker.
| #define BF20_LINE_OUT_ON_LR_SPK 0x13 |
Left channel of soundcard to left speaker and right channel to right speaker.
| #define BF20_LINE_OUT_ON_R_SPK 0x12 |
Right channel of soundcard to right speaker.
| #define BF20_LUMINANCE_MAX 0x14 |
LCD screen luminance 20 - maximum
| #define BF20_LUMINANCE_MIN 0x00 |
LCD screen luminance 0 - minimum
| #define BF20_MIC_ACTIVE 0x00 |
Microphone is active.
| #define BF20_MIC_COMPRESSION_OFF 0x10 |
Microphone compression off
| #define BF20_MIC_COMPRESSION_ON 0x11 |
Microphone compression on
| #define BF20_MIC_DISTANCE_0 0x0C |
Microphone preamplifier level 0
| #define BF20_MIC_DISTANCE_LONG BF20_MIC_DISTANCE_P6 |
Long distance (~200 cm)
| #define BF20_MIC_DISTANCE_M1 0x0B |
Microphone preamplifier level -1
| #define BF20_MIC_DISTANCE_M2 0x0A |
Microphone preamplifier level -2 (minimum)
| #define BF20_MIC_DISTANCE_MEDIUM BF20_MIC_DISTANCE_P4 |
Medium distance (~100 cm)
| #define BF20_MIC_DISTANCE_P1 0x0D |
Microphone preamplifier level +1
| #define BF20_MIC_DISTANCE_P2 0x0E |
Microphone preamplifier level +2
| #define BF20_MIC_DISTANCE_P3 0x0F |
Microphone preamplifier level +3
| #define BF20_MIC_DISTANCE_P4 0x10 |
Microphone preamplifier level +4
| #define BF20_MIC_DISTANCE_P5 0x11 |
Microphone preamplifier level +5
| #define BF20_MIC_DISTANCE_P6 0x12 |
Microphone preamplifier level +6
| #define BF20_MIC_DISTANCE_P7 0x13 |
Microphone preamplifier level +7
| #define BF20_MIC_DISTANCE_P8 0x14 |
Microphone preamplifier level +8 (maximum)
| #define BF20_MIC_DISTANCE_SHORT BF20_MIC_DISTANCE_P2 |
Short distance (~30 cm)
| #define BF20_MIC_DISTANCE_VERY_SHORT BF20_MIC_DISTANCE_0 |
Very short distance (~10 cm)
| #define BF20_MIC_LEVEL_0 0x13 |
Microphone attenuation level 0
| #define BF20_MIC_LEVEL_M1 0x14 |
Microphone attenuation level -1
| #define BF20_MIC_LEVEL_M10 0x1D |
Microphone attenuation level -10
| #define BF20_MIC_LEVEL_M11 0x1E |
Microphone attenuation level -11 (minimum)
| #define BF20_MIC_LEVEL_M2 0x15 |
Microphone attenuation level -2
| #define BF20_MIC_LEVEL_M3 0x16 |
Microphone attenuation level -3
| #define BF20_MIC_LEVEL_M4 0x17 |
Microphone attenuation level -4
| #define BF20_MIC_LEVEL_M5 0x18 |
Microphone attenuation level -5
| #define BF20_MIC_LEVEL_M6 0x19 |
Microphone attenuation level -6
| #define BF20_MIC_LEVEL_M7 0x1A |
Microphone attenuation level -7
| #define BF20_MIC_LEVEL_M8 0x1B |
Microphone attenuation level -8
| #define BF20_MIC_LEVEL_M9 0x1C |
Microphone attenuation level -9
| #define BF20_MIC_LEVEL_P1 0x12 |
Microphone attenuation level +1
| #define BF20_MIC_LEVEL_P2 0x11 |
Microphone attenuation level +2
| #define BF20_MIC_LEVEL_P3 0x10 |
Microphone attenuation level +3 (maximum)
| #define BF20_MIC_MUTE 0x01 |
Microphone is muted.
| #define BF20_MIC_OFF_LINE_IN 0x04 |
Signal from microphone not added to analogue line in.
| #define BF20_MIC_ON_LINE_IN 0x0C |
Signal from microphone added to analogue line in.
| #define BF20_MIC_THRESHOLD_HIGH 0x10 |
Microphone noise compression high
| #define BF20_MIC_THRESHOLD_LOW 0x12 |
Microphone noise compression low
| #define BF20_MIC_THRESHOLD_LOWER 0x13 |
Microphone noise compression lower
| #define BF20_MIC_THRESHOLD_MID 0x11 |
Microphone noise compression medium
| #define BF20_MIC_THRESHOLD_VERY_LOW 0x14 |
Microphone noise compression very low
| #define BF20_MICAMP_MODE_LIN 0x37 |
Microphone amplifier mode - Linear
| #define BF20_MICAMP_MODE_LOG 0x33 |
Microphone amplifier mode - Logaritmic. When the microphone amplifier is set to logaritmic mode, you can set additional settings: optimal distance, noise threshold and compression.
| #define BF20_PCM_SCENARIO_AB 0x3C |
PMC scenario - Both channels of codec A to left speaker and both channels of codec B to right speaker.
| #define BF20_PCM_SCENARIO_LR 0x3D |
PMC scenario - Left channels of codec A and B to left speaker and right channels of codec A and B to right speaker.
| #define BF20_PTT_LED_BLINK 0x20 |
PTT LED blinks.
| #define BF20_PTT_LED_OFF 0x00 |
PTT LED is off.
| #define BF20_PTT_LED_ON 0x10 |
PTT LED lights.
| #define BF20_SPK_LEVEL_MAX 0x14 |
Speaker level 20 - maximum
| #define BF20_SPK_LEVEL_MIN 0x00 |
Speaker level 0 - minimum
| #define BF20_VU_AB_MIC_OFF 0x33 |
Microphone signal is not shown.
| #define BF20_VU_AB_MIC_ON 0x37 |
Microphone signal is shown on VU meter.
| int TiproBF20GetEchoMode | ( | TiproHidDevice * | device, |
| int * | nMode, | ||
| int * | nInitMode | ||
| ) |
Returns the echo canceler mode (OFF/L/R/LR)
| [in] | device | Device |
| [out] | nMode | Echo canceler mode (OFF/L/R/LR) |
| [out] | nInitMode | Initial state from EEPROM |
| int TiproBF20GetLeftSpeakerLevel | ( | TiproHidDevice * | device, |
| int * | nLevel | ||
| ) |
Returns the level of the left speaker.
| [in] | device | Device |
| [out] | nLevel | Speaker level |
| int TiproBF20GetLFSpeakerState | ( | TiproHidDevice * | device, |
| int * | nState, | ||
| int * | nInitState | ||
| ) |
Get LF speaker state.
| [in] | device | Device |
| [out] | nState | LF speaker state (on/off) |
| [out] | nInitState | Initial state from EEPROM |
| int TiproBF20GetLineOut2SpkMode | ( | TiproHidDevice * | device, |
| int * | nMode, | ||
| int * | nInitMode | ||
| ) |
Returns the connection mode (OFF/L/R/LR) of the motherboard LINE-OUT port to the speakers.
| [in] | device | Device |
| [out] | nMode | Connection mode (OFF/L/R/LR) |
| [out] | nInitMode | Initial state from EEPROM |
| int TiproBF20GetLuminance | ( | TiproHidDevice * | device, |
| int * | nLuminance | ||
| ) |
Returns luminance for both stripe and LCD backlight.
| [in] | device | Device |
| [out] | nLuminance | Luminance index (0-darkest; 20-brightest) |
| int TiproBF20GetMic2LineInState | ( | TiproHidDevice * | device, |
| int * | nState, | ||
| int * | nInitState | ||
| ) |
Returns the connection state (ON/OFF) of the gooseneck microphone to the LINE-IN port on the motherboard.
| [in] | device | Device |
| [out] | nState | Connection state (ON/OFF) |
| [out] | nInitState | Initial state from EEPROM |
| int TiproBF20GetMicAmpMode | ( | TiproHidDevice * | device, |
| int * | nMicAmpMode, | ||
| int * | nInitMicAmpMode | ||
| ) |
Get Microphone amplifier mode (Linear/Logarithmic)
| [in] | device | Device |
| [out] | nMicAmpMode | Microphone amplifier mode (LIN/LOG) |
| [out] | nInitMicAmpMode | Initial state from EEPROM |
| int TiproBF20GetMicOnVUState | ( | TiproHidDevice * | device, |
| int * | nState, | ||
| int * | nInitState | ||
| ) |
Get microphone signal shown on VU-meter state.
| [in] | device | Device |
| [out] | nState | Microphone signal on VU-meter state (on/off) |
| [out] | nInitState | Initial state from EEPROM |
| int TiproBF20GetMicrophoneCompression | ( | TiproHidDevice * | device, |
| int * | nCompression, | ||
| int * | nInitCompression | ||
| ) |
Returns compression for the microphone signal.
| [in] | device | Device |
| [out] | nCompression | Microphone compression |
| [out] | nInitCompression | Initial state from EEPROM |
| int TiproBF20GetMicrophoneLevel | ( | TiproHidDevice * | device, |
| int * | nLevel, | ||
| int * | nInitLevel | ||
| ) |
Returns the googeneck microphone level.
| [in] | device | Device |
| [out] | nLevel | Microphone level |
| [out] | nInitLevel | Initial state from EEPROM |
| int TiproBF20GetMicrophoneOptimalDistance | ( | TiproHidDevice * | device, |
| int * | nDistance, | ||
| int * | nInitDistance | ||
| ) |
Gets the microphone optimal distance.
| [in] | device | Device |
| [out] | nDistance | Microphone optimal distance |
| [out] | nInitDistance | Initial state from EEPROM |
| int TiproBF20GetMicrophoneThreshold | ( | TiproHidDevice * | device, |
| int * | nThreshold, | ||
| int * | nInitThreshold | ||
| ) |
Returns threshold for the microphone signal.
| [in] | device | Device |
| [out] | nThreshold | Microphone threshold |
| [out] | nInitThreshold | Initial state from EEPROM |
| int TiproBF20GetPCMScenario | ( | TiproHidDevice * | device, |
| int * | nScenario, | ||
| int * | nInitScenario | ||
| ) |
Get PCM scenario.
| [in] | device | Device |
| [out] | nScenario | PCM scenario (AB2LR / LR2LR) |
| [out] | nInitScenario | Initial state from EEPROM |
| int TiproBF20GetPTTKeyLEDState | ( | TiproHidDevice * | device, |
| int * | nState | ||
| ) |
Returns the LED state of the illuminated PTT Key.
| [in] | device | Device |
| [out] | nState | State of the LED (LED_ON/LED_OFF/LED_BLINK) |
| int TiproBF20GetPTTKeyState | ( | TiproHidDevice * | device, |
| int * | nState | ||
| ) |
Returns the state of the PTT key.
| [in] | device | Device |
| [out] | nState | State of the key (KEY_PRESSED / KEY_RELEASED) |
| int TiproBF20GetRightSpeakerLevel | ( | TiproHidDevice * | device, |
| int * | nLevel | ||
| ) |
Returns the level of the right speaker.
| [in] | device | Device |
| [out] | nLevel | Speaker level |
| int TiproBF20MuteMicrophone | ( | TiproHidDevice * | device, |
| int | nMute | ||
| ) |
Mutes/un-mutes the microphone signal.
| [in] | device | Device |
| [in] | nMute | Mute/un-mute microphone |
| int TiproBF20SetEchoMode | ( | TiproHidDevice * | device, |
| int | nMode | ||
| ) |
Sets the echo canceler mode (OFF/L/R/LR)
| [in] | device | Device |
| [in] | nMode | Echo canceler mode (OFF/L/R/LR) |
| int TiproBF20SetLeftSpeakerLevel | ( | TiproHidDevice * | device, |
| int | nLevel | ||
| ) |
Sets the level of the left speaker.
| [in] | device | Device |
| [in] | nLevel | Speaker level |
| int TiproBF20SetLFSpeakerState | ( | TiproHidDevice * | device, |
| int | nState | ||
| ) |
Set LF speaker state (ON/OFF)
| [in] | device | Device |
| [in] | nState | LF speaker state (on/off) |
| int TiproBF20SetLineOut2SpkMode | ( | TiproHidDevice * | device, |
| int | nMode | ||
| ) |
Sets the connection mode (OFF/L/R/LR) of the motherboard LINE-OUT port to the speakers.
| [in] | device | Device |
| [in] | nMode | Connection mode (OFF/L/R/LR) |
| int TiproBF20SetLuminance | ( | TiproHidDevice * | device, |
| int | nLuminance | ||
| ) |
Sets luminance for both stripe and LCD backlight.
| [in] | device | Device |
| [in] | nLuminance | Luminance index (0-darkest; 20-brightest) |
| int TiproBF20SetMic2LineInState | ( | TiproHidDevice * | device, |
| int | nState | ||
| ) |
Sets the connection state (ON/OFF) of the gooseneck microphone to the LINE-IN port on the motherboard.
| [in] | device | Device |
| [in] | nState | Connection state (ON/OFF) |
| int TiproBF20SetMicAmpMode | ( | TiproHidDevice * | device, |
| int | nMicAmpMode | ||
| ) |
Set Microphone amplifier mode (Linear/Logarithmic)
| [in] | device | Device |
| [in] | nMicAmpMode | icrophone amplifier mode (LIN/LOG) |
| int TiproBF20SetMicOnVUState | ( | TiproHidDevice * | device, |
| int | nState | ||
| ) |
Sets if microphone signal is shown on the VU-meter (ON/OFF)
| [in] | device | Device |
| [in] | nState | Microphone on VU-meter state (on/off) |
| int TiproBF20SetMicrophoneCompression | ( | TiproHidDevice * | device, |
| int | nCompression, | ||
| bool | bSetInit | ||
| ) |
Sets compression for the microphone signal.
| [in] | device | Device |
| [in] | nCompression | Microphone compression |
| [in] | bSetInit | Write initial state to EEPROM |
| int TiproBF20SetMicrophoneLevel | ( | TiproHidDevice * | device, |
| int | nLevel, | ||
| bool | bSetInit | ||
| ) |
Sets the gooseneck microphone level.
| [in] | device | Device |
| [in] | nLevel | Microphone level |
| [in] | bSetInit | Write initial state to EEPROM |
| int TiproBF20SetMicrophoneOptimalDistance | ( | TiproHidDevice * | device, |
| int | nDistance, | ||
| bool | bSetInit | ||
| ) |
Sets the microphone optimal distance.
| [in] | device | Device |
| [in] | nDistance | Microphone optimal distance |
| [in] | bSetInit | Write initial state to EEPROM |
| int TiproBF20SetMicrophoneThreshold | ( | TiproHidDevice * | device, |
| int | nThreshold, | ||
| bool | bSetInit | ||
| ) |
Sets threshold for the microphone signal.
| [in] | device | Device |
| [in] | nThreshold | Microphone threshold |
| [in] | bSetInit | Write initial state to EEPROM |
| int TiproBF20SetPCMScenario | ( | TiproHidDevice * | device, |
| int | nScenario | ||
| ) |
Set PCM scenario.
| [in] | device | Device |
| [in] | nScenario | PCM scenario (AB2LR / LR2LR) |
| int TiproBF20SetPTTKeyLEDState | ( | TiproHidDevice * | device, |
| int | nState | ||
| ) |
Sets the LED state of illuminated PTT key.
| [in] | device | Device |
| [in] | nState | PTT LED state (PTT_LED_ON/PTT_LED_OFF/PTT_LED_BLINK) |
| int TiproBF20SetPTTKeyLEDStateEx | ( | TiproHidDevice * | device, |
| int | nState, | ||
| int | nTBlinkOn, | ||
| int | nTBlinkOff | ||
| ) |
Sets the operation of the illuminated PTT key with more paramters.
| [in] | device | Device |
| [in] | nState | PTT LED state (PTT_LED_ON/PTT_LED_OFF/PTT_LED_BLINK) |
| [in] | nTBlinkOn | On period for blink mode (ms) |
| [in] | nTBlinkOff | Off period for blink mode (ms) |
| int TiproBF20SetRightSpeakerLevel | ( | TiproHidDevice * | device, |
| int | nLevel | ||
| ) |
Sets the level of the right speaker.
| [in] | device | Device |
| [in] | nLevel | Speaker level |
| int TiproBF20TouchscreenDisable | ( | TiproHidDevice * | device | ) |
Disables touchscreen.
| [in] | device | Device |
| int TiproBF20TouchscreenEnable | ( | TiproHidDevice * | device | ) |
Enables touchscreen.
| [in] | device | Device |
1.8.13