Voisus Remote Control Client (VRCC) Interface. More...
Functions | |
int | VRCC_Start (int argc, char *argv[]) |
Starts the VRC messaging client. | |
void | VRCC_Shutdown () |
Shuts down the VRC messaging client. | |
int | VRCC_Update (void) |
Update the internal state of the VRC Client. | |
int | VRCC_GetNamedLock (const char *name) |
Attempts to acquire a named lock. | |
void | Voisus_ConnectServer (const char *target_ip) |
Connects to a Voisus Server. | |
void | Voisus_ConnectSolo () |
Connects to Voisus Solo. | |
int | Voisus_SoloInstalled () |
Gets whether Voisus Solo is installed. | |
void | Voisus_Disconnect () |
Disconnects from a Voisus Server. | |
int | Voisus_Error () |
Gets current Voisus error state. | |
void | Voisus_Save () |
Saves current client configuration to file. | |
const char * | Voisus_LogPath () |
Gets the path to the Voisus client log file. | |
const char * | Voisus_ClientBuildVersion () |
Gets the build version of the Voisus client. | |
const char * | Voisus_ClientMsgVersion () |
Gets the version of the Voisus client message protocol. | |
const char * | Voisus_ClientMsgDate () |
Gets the timestamp of the Voisus client message protocol. | |
const char * | Voisus_ServerBuildVersion () |
Gets the build version of the Voisus server. | |
const char * | Voisus_ServerMsgVersion () |
Gets the version of the Voisus server message protocol. | |
const char * | Voisus_ServerMsgDate () |
Gets the timestamp of the Voisus server message protocol. | |
const char * | Voisus_SessionId () |
Gets the session id for the current running scenario. | |
int | Voisus_SessionId_Version () |
Gets the version count of Session ID updates. | |
void | Voisus_MonitorPowerEvents (int hwnd) |
Monitors for system power events (on Windows XP/Vista/7/8) | |
float | Voisus_ServerMasterVolume () |
Gets the master volume on the server. | |
float | Voisus_ServerSidetoneVolume () |
Gets the sidetone volume on the server. | |
void | Voisus_SetServerMasterVolume (float volume) |
Sets the master volume on the server. | |
void | Voisus_SetServerSidetoneVolume (float volume) |
Sets the sidetone volume on the server. | |
const char * | Network_TargetIP () |
Gets the Voisus Server address. | |
const char * | Network_ClientIP () |
Gets the Client address used to connect to the Server. | |
int | Network_ConnectionStatus () |
Gets the connection status of client. | |
int | Network_ConnectState () |
Gets the detailed connection state of the client. | |
const char * | Network_ClientName () |
Gets the user-settable client name. | |
void | Network_SetClientName (const char *name) |
Sets the client name. | |
const char * | Network_OperatorId () |
Gets the unique ID of the Operator. | |
const char * | Network_CloudSet () |
Gets the last set Cloud to connect to. | |
const char * | Network_CloudActive () |
Gets the currently connected Cloud. | |
int | Network_ConnectionMode () |
Get the current connection mode (e.g. Cloud) | |
int | Network_Version () |
Gets the version count of Network updates. | |
int | Role_ListCount () |
Gets the total number of Roles available to the client. | |
int | Role_Version () |
Gets the version count of Role updates. | |
const char * | Role_Name (int list_index) |
Gets the name of a specified Role. | |
const char * | Role_Id (int list_index) |
Gets the unique ID of a specified Role. | |
const char * | Role_NameActive () |
Gets the name of the current Role. | |
const char * | Role_IdActive () |
Gets the unique ID of the current Role. | |
const char * | Role_NameSet () |
Gets the name of the last-set Role. | |
const char * | Role_IdSet () |
Gets the unique ID of the last-set Role. | |
int | Role_AutotuneEnabled (const char *role_id) |
Gets whether autotune ability is enabled for a role. | |
int | Role_RadCtrlEnabled (const char *role_id) |
Gets whether live radio control ability is enabled for a role. | |
void | Role_SetRole (const char *role_id) |
Sets a new Role to connect with. | |
int | Role_CallingEnabled (const char *role_id) |
Gets whether calling is enabled for a role. | |
int | Role_CallPTTEnabled (const char *role_id) |
Gets whether PTT is required to transmit audio on a call. | |
int | Role_CallAutoAnswerEnabled (const char *role_id) |
Gets whether auto-answer calls feature is enabled. | |
int | Role_ChatEnabled (const char *role_id) |
Gets whether chat is enabled for a role. | |
int | Role_ChannelDisplayMap (const char *role_id, int index) |
Get the channel index to display at a given offset. | |
int | EntityState_ListCount () |
Gets the total number of Entity States (Vehicles) available to the client. | |
int | EntityState_Version () |
Gets the version count of Entity State updates. | |
const char * | EntityState_Name (int list_index) |
Gets the name of a specified Entity State (Vehicle) | |
const char * | EntityState_Id (int list_index) |
Gets the unique ID of a specified Entity State (Vehicle) | |
const char * | EntityState_NameActive () |
Gets the name of the current Entity State (Vehicle) | |
const char * | EntityState_IdActive () |
Gets the unique ID of the currently selected Entity State. | |
const char * | EntityState_NameSet () |
Gets the name of the last-set Entity State. | |
const char * | EntityState_IdSet () |
Gets the unique ID of the last-set Entity State (Vehicle) | |
void | EntityState_SetEntityState (const char *id) |
Sets a new Entity State (Vehicle) to connect with. | |
float | Headset_VoxThreshold () |
Gets the vox threshold. | |
int | Headset_MicrophoneMode () |
Gets the microphone mode. | |
float | Headset_EarphoneVolume () |
Gets the earphone volume. | |
float | Headset_MicVolume () |
Gets the microphone volume. | |
float | Headset_MicLevel () |
Gets the microphone level. | |
float | Headset_SidetoneVolume () |
Gets the sidetone volume. | |
int | Headset_HasSidetone () |
Gets whether headset has sidetone. | |
int | Headset_Version () |
Gets the version count of Headset updates. | |
void | Headset_SetHeadsetPreset (int preset) |
Selects from a preset headset configuration. | |
void | Headset_SetVoxThreshold (float threshold) |
Sets the vox threshold. | |
void | Headset_SetMicrophoneMode (int mode) |
Sets the microphone mode. | |
void | Headset_SetCallMicrophoneMute (int active) |
Sets the microphone mute during an active call. | |
void | Headset_SetEarphoneVolume (float volume) |
Sets the earphone volume. | |
void | Headset_SetMicVolume (float volume) |
Sets the microphone volume. | |
void | Headset_SetSidetoneVolume (float volume) |
Sets the sidetone volume. | |
int | Headset_DeviceConfigured () |
Gets whether client successfully configure an audio device. | |
void | PTT_SetPressed_Multi (int ptt, int pressed) |
Sets the software push-to-talk (PTT) state for a given PTT. | |
void | PTT_SetPressed (int pressed) |
Sets the software push-to-talk (PTT) state for primary PTT. | |
int | PTT_GetPressed_Multi (int ptt) |
Gets the current pressed state of a specified software push-to-talk (PTT) | |
int | PTT_GetPressed () |
Gets the current pressed state of the primary software push-to-talk (PTT) state. | |
int | PTT_HWGetPressed_Multi (int ptt) |
Gets the current hardware push-to-talk (PTT) state (multiple) | |
int | PTT_HWGetPressed () |
Gets the current hardware push-to-talk (PTT) state. | |
int | PTT_Version () |
Gets the version count of PTT updates. | |
int | Radio_ListCount () |
Gets the current number of radios. | |
const char * | Radio_Id (int radio_index) |
Gets the ID of a radio. | |
const char * | Radio_Name (int radio_index) |
Gets the name of a radio. | |
void | Radio_SetNet (int radio_index, int net_index) |
Sets the net for a radio by index. | |
void | Radio_SetNetRxFrequency (int radio_index, const char *net_id, unsigned long long freq) |
Override the receive frequency for a net assigned to a particular radio. | |
unsigned long long | Radio_NetRxFrequencyActive (int radio_index) |
Get the receive frequency for the currently tuned net of a radio. | |
void | Radio_SetNetTxFrequency (int radio_index, const char *net_id, unsigned long long freq) |
Override the transmit frequency for a net assigned to a particular radio. | |
unsigned long long | Radio_NetTxFrequencyActive (int radio_index) |
Get the transmit frequency for the currently tuned net of a radio. | |
void | Radio_SetNetCrypto (int radio_index, const char *net_id, int system, int key) |
Override the crypto settings for a net assigned to a particular radio. | |
int | Radio_NetCryptoSystemActive (int radio_index) |
Get the crypto system for the currently tuned net of a radio. | |
int | Radio_NetCryptoKeyActive (int radio_index) |
Get the crypto key for the currently tuned net of a radio. | |
int | Radio_NetCryptoEnabledActive (int radio_index) |
Get the crypto enable state for the currently tuned net of a radio. | |
const char * | Radio_NetWaveformActive (int radio_index) |
Get the waveform (mode) for the currently tuned net of a radio. | |
void | Radio_SetNetID (int radio_index, const char *net_id) |
Sets the net for a radio by unique ID. | |
int | Radio_NetListCount (int radio_index) |
Gets the number of nets for a radio. | |
const char * | Radio_NetName (int radio_index, int net_index) |
Gets the name of a net by index for a radio. | |
const char * | Radio_NetNameActive (int radio_index) |
Gets the name of currently selected net for a radio. | |
const char * | Radio_NetID (int radio_index, int net_index) |
Gets the unique ID of a net for a radio. | |
unsigned long long | Radio_NetFrequency (int radio_index, int net_index) |
Gets the frequency of the radio's net. | |
void | Radio_SetNetWaveform (int radio_index, const char *net_id, const char *mode) |
Sets the waveform of the radio's net. | |
const char * | Radio_NetWaveform (int radio_index, int net_index) |
Gets the waveform of the radio's net. | |
int | Radio_NetCryptoSystem (int radio_index, int net_index) |
Gets the crypto system of the radio's net. | |
int | Radio_NetCryptoKey (int radio_index, int net_index) |
Gets the crypto key of the radio's net. | |
int | Radio_NetCryptoEnabled (int radio_index, int net_index) |
Gets the crypto enabled of the radio's net. | |
int | Radio_NetFreqHopNetId (int radio_index, int net_index) |
Gets the Net ID (for Frequency Hop nets only) | |
int | Radio_NetFreqHopNetIdActive (int radio_index) |
Gets the Net ID (for Frequency Hop nets only) | |
int | Radio_NetFreqHopTODActive (int radio_index) |
Gets the Time of Day (for Frequency Hop nets only) | |
int | Radio_NetFreqHopWODActive (int radio_index) |
Gets the Word of Day (for Frequency Hop nets only) | |
int | Radio_NetFreqHopLockoutActive (int radio_index) |
Gets the Lockout Set ID (for Frequency Hop nets only) | |
int | Radio_NetFreqHopTransecKeyActive (int radio_index) |
Gets the Transec Key (for Frequency Hop nets only) | |
int | Radio_NetSatcomChannel (int radio_index, int net_index) |
Gets the SATCOM channel of the radio's net. | |
int | Radio_NetTuningMethod (int radio_index, int net_index) |
Gets the tuning method of the radio's net. | |
const char * | Radio_NetIDActive (int radio_index) |
Gets the unique ID of currently selected net for a radio. | |
void | Radio_SetNetFreqHopParams (int radio_index, const char *net_id, int fh_netid, int fh_wod, int fh_lckt, int fh_tod, int fh_tsec) |
Override the frequency hop settings for a net assigned to a particular radio. | |
void | Radio_SetReceiveEnabled (int radio_index, int enable) |
Sets the receive enable for a radio. | |
void | Radio_SetTransmitEnabled (int radio_index, int enable) |
Sets the transmit enable for a radio. | |
void | Radio_SetCryptoEnable (int radio_index, int enable) |
Sets the crypto enable state for a radio. | |
void | Radio_SetSquelchLevel (int radio_index, float squelch_level) |
Sets the squelch level for a radio. | |
void | Radio_SetVolume (int radio_index, float volume) |
Sets the receive volume for a radio. | |
void | Radio_SetVolumeStereo (int radio_index, float volume_left, float volume_right) |
Sets the stereo receive volumes for a radio. | |
void | Radio_SetBalanceDevice (int radio_index, int balance, int device) |
Sets the audio balance for a radio for specified playback device. | |
void | Radio_SetBalance (int radio_index, int balance) |
Sets the audio balance for a radio (primary playback device) | |
void | Radio_SetPTT (int radio_index, int ptt_index) |
Sets the PTT to use for a radio. | |
void | Radio_SetRadioEffects (int radio_index, const char *effects_id) |
Sets the radio effects for a radio. | |
int | Radio_IsReceiveEnabled (int radio_index) |
Gets the receive enable for a radio. | |
int | Radio_IsTransmitEnabled (int radio_index) |
Gets the transmit enable for a radio. | |
int | Radio_IsReceiving (int radio_index) |
Gets the receive state for a radio. | |
int | Radio_IsTransmitting (int radio_index) |
Gets the transmit state for a radio. | |
int | Radio_IsLockedOut (int radio_index) |
Gets the lockout state for a radio. | |
int | Radio_IsShared (int radio_index) |
Gets whether a radio is shared by two or more operators. Shared radios are accessed through Entity States (Vehicles). | |
float | Radio_Volume (int radio_index) |
Gets the receive volume for a radio. | |
float | Radio_VolumeStereoLeft (int radio_index) |
Gets the stereo (left ear) receive volume for a radio. | |
float | Radio_VolumeStereoRight (int radio_index) |
Gets the stereo (right ear) receive volume for a radio. | |
int | Radio_IsNetLocked (int radio_index) |
Gets whether net selection is locked for a radio. | |
int | Radio_IsRXModeLocked (int radio_index) |
Gets whether the RX enable is locked for a radio. | |
int | Radio_IsTXModeLocked (int radio_index) |
Gets whether the TX enable is locked for a radio. | |
int | Radio_Simulcast (int radio_index) |
Gets whether the radio is part of the simulcast group. | |
int | Radio_BalanceDevice (int radio_index, int device_index) |
Gets the audio balance for a radio (left, right, center) | |
int | Radio_Balance (int radio_index) |
Gets the audio balance for a radio (left, right, center) | |
int | Radio_BalanceLockedDevice (int radio_index, int device_index) |
Gets whether balance selection is locked for a radio. | |
int | Radio_BalanceLocked (int radio_index) |
Gets whether balance selection is locked for a radio. | |
const char * | Radio_Type (int radio_index) |
Gets the type of radio (e.g. URC-200) | |
int | Radio_CryptoEnabled (int radio_index) |
Gets whether radio has crypto mode enabled. | |
float | Radio_SquelchLevel (int radio_index) |
Gets the squelch level of the radio. | |
int | Radio_Version () |
Gets the version count for radio updates. | |
int | Radio_PTT (int radio_index) |
Gets the PTT identifier for the radio. | |
const char * | Radio_RadioEffects (int radio_index) |
Gets the radio effects set for a radio. | |
int | Radio_RadioEffectsLocked (int radio_index) |
Gets whether radio effects selection is locked for a radio. | |
const char * | Radio_RadCtrlId (int radio_index) |
Gets the Radio Control Id of a radio configured to control live radios. | |
const char * | Radio_RadBridgeId (int radio_index) |
Gets the Radio Bridge Id of a radio interfacing audio with live radios. | |
float | Radio_AudioLevel (int radio_index) |
Gets the audio level of a radio. | |
int | Radio_AudioLevelEnabled (int radio_index) |
Gets whether audio level calculation is enabled for a radio. | |
void | Radio_SetAudioLevelEnable (int radio_index, int enable) |
Enables or disables audio level calculation for a radio. | |
void | Radio_SetPlaysound (int radio_index, const char *playsound_id) |
Enables or disables background playsound mixed into mic audio for this radio. | |
const char * | Radio_Playsound (int radio_index) |
Gets the unique ID of sound mixed into mic audio for this radio. | |
int | Radio_PlaysoundLocked (int radio_index) |
Gets whether background playsound selection is locked for a radio. | |
int | Radio_ScanEnabled (int radio_index) |
Gets whether scanner is enabled for a radio. | |
int | Radio_ScanActive (int radio_index) |
Gets whether scanner is actively scanning for a radio. | |
float | Radio_ScanHoldTime (int radio_index) |
Gets the hold time for a scanner. | |
float | Radio_ScanHangTime (int radio_index) |
Gets the hang time for a scanner. | |
int | Radio_ScanPlanActive (int radio_index) |
Gets the index of the scan plan in use for a scanner. | |
int | Radio_ScanNetListMax (int radio_index) |
Gets the maximum number of nets for a scan list in a plan. | |
int | Radio_ScanPlanListCount (int radio_index) |
Gets the count of scan plans for a scanner. | |
int | Radio_ScanPlanNetListCount (int radio_index, int plan_index) |
Gets the count of nets in a scan plan for a scanner. | |
const char * | Radio_ScanPlanNetName (int radio_index, int plan_index, int net_index) |
Gets the name of a net in a scan plan net list. | |
const char * | Radio_ScanPlanNetID (int radio_index, int plan_index, int net_index) |
Gets the unique ID of a net in a scan plan net list. | |
const char * | Radio_ScanPlanPriorityTxNetName (int radio_index, int plan_index) |
Gets the name of the priority transmit net for a scanner. | |
const char * | Radio_ScanPlanPriorityTxNetID (int radio_index, int plan_index) |
Gets the unique ID of the priority transmit net for a scanner. | |
int | Radio_ScanPlanPriorityRxNetListCount (int radio_index, int plan_index) |
Gets the count of priority receive nets in a scan plan for a scanner. | |
const char * | Radio_ScanPlanPriorityRxNetName (int radio_index, int plan_index, int rx_index) |
Gets the name of a priority receive net for a scanner. | |
const char * | Radio_ScanPlanPriorityRxNetID (int radio_index, int plan_index, int rx_index) |
Gets the unique ID of a priority receive net for a scanner. | |
int | Radio_ScanPlanInvalidNets (int radio_index, int plan_index) |
Gets whether there are invalid nets in the scan plan. | |
void | Radio_SetScanEnable (int radio_index, int enable) |
Enables or disables a radio scanner. | |
void | Radio_StartScan (int radio_index) |
Starts scanning. | |
void | Radio_StopScan (int radio_index) |
Stops scanning and return to manual scanning mode. | |
void | Radio_ScanNext (int radio_index) |
Changes to next net in scan list (manual scanning) | |
void | Radio_ScanPrev (int radio_index) |
Changes to previous net in scan list (manual scanning) | |
void | Radio_SetScanHoldTime (int radio_index, float seconds) |
Sets the hold time for a scanner. | |
void | Radio_SetScanHangTime (int radio_index, float seconds) |
Sets the hang time for a scanner. | |
void | Radio_SetScanPlanActive (int radio_index, int plan_index) |
Sets the active scan plan for a scanner. | |
void | Radio_SetScanPlanPriorityTx (int radio_index, int plan_index, const char *net_id) |
Sets the priority transmit net for a scanner. | |
void | Radio_SetScanPlanPriorityRx (int radio_index, int plan_index, int rx_index, const char *net_id) |
Sets a priority receive net for a scanner. | |
void | Radio_AppendScanPlanNet (int radio_index, int plan_index, const char *net_id) |
Appends a net to a scan plan net list. | |
void | Radio_RemoveScanPlanNet (int radio_index, int plan_index, int net_index) |
Removes a net from a scan plan net list. | |
const char * | Net_Name (const char *net_id) |
Gets the name of a net using the unique ID. | |
void | Log_Write (const char *function, const char *msg) |
Writes a message to the Voisus client log. | |
void | Earshot_Enable (int enable) |
Enable Earshot support. | |
void | Earshot_SetPTT (int ptt) |
Sets the Earshot push-to-talk (PTT) state. | |
int | Earshot_Receiving (void) |
Gets the receive state for Earshot. | |
int | Earshot_Transmitting (void) |
Gets the transmit state for Earshot. | |
void | WorldPosition_Set (float xcoord, float ycoord, float zcoord) |
Sets the world position for a Voisus operator. | |
void | WorldPosition_Get (double *xcoord, double *ycoord, double *zcoord) |
Get the world position for a Voisus operator. | |
int | Joystick_ListCount () |
Gets the current number of detected joysticks. | |
const char * | Joystick_Name (int list_index) |
Gets the name of a specified joystick. | |
int | Joystick_ButtonCount (int list_index) |
Gets the number of buttons for a specified joystick. | |
int | Joystick_Active_Multi (int ptt) |
Gets the active joystick index for a specified PTT. | |
int | Joystick_Active () |
Gets the active joystick index. | |
int | Joystick_ButtonActive_Multi (int ptt) |
Gets the active joystick button index. | |
int | Joystick_ButtonActive () |
Gets the active joystick button index. | |
int | Joystick_Pressed_Multi (int ptt) |
Gets the current joystick pressed state. | |
int | Joystick_Pressed () |
Gets the current joystick pressed state. | |
void | Joystick_SetButton_Multi (int ptt, int js, int btn) |
Selects the active joystick button. | |
void | Joystick_SetButton (int js, int btn) |
Selects the active joystick button. | |
int | Codec_Get () |
Gets currently selected Codec. | |
void | Codec_Set (int codec) |
Sets a new Codec. | |
void | Call_GetLock () |
Gets the lock on all Call and Endpoint data. | |
void | Call_ReleaseLock () |
Releases the lock on all Call and Endpoint data. | |
const char * | Call_Create () |
Create a new call and join it. | |
void | Call_Invite (const char *call_id, const char *endpoint_id) |
Send an invitation to another endpoint. | |
void | Call_Invite_Dial (const char *call_id, const char *endpoint_id, const char *dial_number) |
Send an invitation to an endpoint to dial a phone number. | |
void | Call_Invite_Merge (const char *call_id, const char *endpoint_id, const char *old_call_id) |
Send an invitation to an endpoint to join a call and leave their current call. | |
void | Call_Invite_Net (const char *call_id, const char *net_id) |
Send an invitation to join a radio net to call. | |
void | Call_Invite_Radio (const char *call_id, const char *radio_id) |
Send an invitation to join a radio to call. | |
void | Call_InviteCrew () |
Invite all members of crew to a call. | |
const char * | Call_IDFirst () |
Get the first call in set of calls for this endpoint. | |
const char * | Call_IDNext () |
Get the next call in set of calls for this endpoint. | |
int | Call_ListCount () |
Get the size of the set of calls for this endpoint. | |
int | Call_Endpoint_Version () |
Gets the version count for call and endpoint updates. | |
const char * | Call_Endpoint_IDFirst (const char *call_id) |
Get the first Endpoint for a call. | |
const char * | Call_Endpoint_IDNext (const char *call_id) |
Get the next Endpoint for a call. | |
int | Call_Endpoint_State (const char *call_id, const char *ep_id) |
Get the current state of an Endpoint on a call. | |
int | Call_Invitation_Version () |
Gets the version count for call invitation updates. | |
int | Call_Invitation_First (CallInvitation_t *invite) |
Get the first Invitation from list. | |
int | Call_Invitation_Next (CallInvitation_t *invite) |
Get the next Invitation from list. | |
void | Call_Invitation_ClearAll () |
Clear all invitations from list. | |
void | Call_Progress (const char *call_id, int call_state) |
Update current state of user Endpoint for a call. | |
void | Call_Leave (const char *call_id, int leave_reason) |
Leave a call with a specified reason. | |
void | Call_PressKey (const char *call_id, const char *keys) |
Transmit a key press on a call. | |
void | Call_LeaveRequest (const char *call_id, const char *endpoint_id) |
Request an endpoint to leave a call. | |
unsigned long long | Call_StartTime (const char *call_id) |
Get the start_time of a call in seconds form unix epoch. | |
int | Phone_ListCount () |
Get the count phones for this endpoint. | |
const char * | Phone_CallActive () |
Get the active call ID. | |
float | Phone_Volume () |
Get the receive volume for a phone. | |
int | Phone_Balance () |
Get the audio balance (left/right/center) for a phone. | |
int | Phone_IsTransmitting () |
Get the transmitting state for a phone. | |
void | Phone_SetCall (const char *call_id) |
Set the active call for phone. | |
void | Phone_SetVolume (float volume) |
Sets the receive volume for a phone. | |
void | Phone_SetBalance (int balance) |
Sets the audio balance for a phone (left/right/center) | |
void | Phone_SetMuted (int mute) |
Sets the mute state for a phone. | |
int | Phone_Muted () |
Gets the mute state for a phone. | |
int | Phone_Version () |
Gets the version count of Phone updates. | |
void | Voisus_ConnectCloud (const char *cloud_id) |
Connects to a Voisus Cloud. | |
void | Cloud_GetLock () |
Gets the lock on all Cloud data. | |
void | Cloud_ReleaseLock () |
Releases the lock on all Cloud data. | |
const char * | Cloud_IDFirst () |
Get the first Cloud. | |
const char * | Cloud_IDNext () |
Get the next Cloud. | |
int | Cloud_ListCount () |
Gets the current number of detected clouds. | |
int | Cloud_GetServerCount (const char *uuid) |
Gets the current number of detected clouds. | |
int | Cloud_Version () |
Gets the version count for Clouds. | |
void | Operator_GetLock () |
Gets the lock on all Operator data. | |
void | Operator_ReleaseLock () |
Releases the lock on all Operator data. | |
const char * | Operator_IDFirst () |
Get the first Operator. | |
const char * | Operator_IDNext () |
Get the next Operator. | |
int | Operator_ListCount () |
Gets the current number of Operators. | |
const char * | Operator_GetField (const char *uuid, const char *field_name) |
Get a field for an Operator. | |
int | Operator_Version () |
Gets the version count for Operators. | |
int | RadCtrl_ListCount () |
Gets the number of radios that can be controlled. | |
const char * | RadCtrl_Name (int index) |
Gets the name of a live radio to control. | |
void | RadCtrl_Poll (const char *name) |
Poll server for updated radio state information. | |
const char * | RadCtrl_GetValueStr (const char *name, const char *setting) |
Get live radio setting string value by name. | |
const char * | RadCtrl_GetOptionsStr (const char *name, const char *setting) |
Get list of options for a live radio string setting. | |
int | RadCtrl_GetValueInt (const char *name, const char *setting) |
Get live radio setting int value by name. | |
float | RadCtrl_GetValueFloat (const char *name, const char *setting) |
Get live radio setting float value by name. | |
void | RadCtrl_SetValueStr (const char *name, const char *setting, const char *value) |
Change a string setting of a live radio. | |
void | RadCtrl_SetValueInt (const char *name, const char *setting, int value) |
Change an integer setting of a live radio. | |
void | RadCtrl_SetValueFloat (const char *name, const char *setting, float value) |
Change a float setting of a live radio. | |
const char * | RadCtrl_Error () |
Get error string for last radio control "set" operation. | |
int | RadCtrl_ErrorVersion () |
Gets the version count of Radio Control responses to new settings. | |
void | DIS_SetParams (DISParams_t *dis_params) |
Update user-settable DIS parameters for an operator. | |
void | DIS_GetParams (DISParams_t *dis_params) |
Get DIS parameters configured on server for an operator. | |
void | DIS_SetExercise (int exercise) |
Update DIS exercise for operator radios. | |
int | DIS_GetExercise () |
Get DIS exercise for operator radios. | |
double | DIS_GetSimTime () |
Get DIS simulation time. | |
void | AuxAudio_Enable (int enable, unsigned int sample_rate, unsigned int encoding) |
Enable/disable auxiliary audio input to client. | |
void | AuxAudio_Send (unsigned char *samples, unsigned int len) |
Send auxiliary audio to server (substitute for mic audio) | |
void | AuxAudio_Register (AudioCallback func) |
Register callback to receive auxiliary audio from server. | |
int | RadioEffects_Version () |
Gets the version count for radio effects updates. | |
int | RadioEffects_ListCount () |
Get the number of radio effects. | |
const char * | RadioEffects_IDFirst () |
Get the first radio effect in set of radio effects. | |
const char * | RadioEffects_IDNext () |
Get the next radio effect in set of radio effects. | |
const char * | RadioEffects_Name (const char *radio_effects_id) |
Get the name of a radio effect. | |
int | Jammer_Version () |
Gets the version count for jammer updates. | |
int | Jammer_ListCount () |
Gets the current number of jammers. | |
int | Jammer_NetListCount (int jammer_index) |
Gets the number of nets for a jammer. | |
const char * | Jammer_NetName (int jammer_index, int net_index) |
Gets the name of a net for a jammer. | |
unsigned long long | Jammer_NetFrequency (int jammer_index, int net_index) |
Gets the frequency of a net for a jammer. | |
const char * | Jammer_NetWaveform (int jammer_index, int net_index) |
Gets the waveform of a net for a jammer. | |
const char * | Jammer_NetID (int jammer_index, int net_index) |
Gets the unique ID of a net for a jammer. | |
const char * | Jammer_NetIDActive (int jammer_index) |
Gets the unique ID of currently selected net for a jammer. | |
unsigned long long | Jammer_NetFrequencyActive (int jammer_index) |
Gets the frequency of currently selected net for a jammer. | |
const char * | Jammer_NetWaveformActive (int jammer_index) |
Get the waveform (mode) of the currently selected net for a jammer. | |
int | Jammer_IsTransmitting (int jammer_index) |
Gets the transmit state for a jammer. | |
int | Jammer_IsReceiving (int jammer_index) |
Gets the receivie state for a jammer. | |
int | Jammer_IsSpoofing (int jammer_index) |
Gets the spoofing state for a jammer. | |
int | Jammer_IsEnabled (int jammer_index) |
Gets the enabled state for a jammer. | |
void | Jammer_SetNetID (int jammer_index, const char *net_id) |
Sets the net for a jammer by unique ID. | |
void | Jammer_SetEnable (int jammer_index, int enable) |
Enable/disable a jammer to begin/end transmission. | |
void | Jammer_StartRecording (int jammer_index, int duration_secs) |
Start recording audio received by the jammer. | |
void | Jammer_StopRecording (int jammer_index) |
Stop recording audio received by the jammer. | |
void | Jammer_StartReplaying (int jammer_index, int loop) |
Start transmitting previously recorded audio out the jammer. | |
void | Jammer_StopReplaying (int jammer_index) |
Stop transmitting previously recorded audio out the jammer. | |
int | Jammer_RecordReplayState (int jammer_index) |
Get the current state of the jammer's record/replay functions. | |
int | Jammer_RecordReplayProgress (int jammer_index) |
Get the progress of an active recording or replaying. | |
int | Jammer_RecordReplayDurationMs (int jammer_index) |
Get the duration of the last recording in milliseconds. | |
const char * | AudioDevice_IDActive (AudioDeviceType_t type) |
Gets the unique ID of an active audio device (Primary device only) | |
const char * | AudioDevice_PlaybackIDActive (int device) |
Gets the unique ID of the active Playback audio device. | |
const char * | AudioDevice_CaptureIDActive (int device) |
Gets the unique ID of the active Capture audio device. | |
const char * | AudioDevice_IDFirst (AudioDeviceType_t type) |
Get the first audio device of specified type. | |
const char * | AudioDevice_IDNext (AudioDeviceType_t type) |
Get the next audio device of specified type. | |
const char * | AudioDevice_Name (AudioDeviceType_t type, const char *id) |
Get the name of an audio device of specified type by ID. | |
void | AudioDevice_SetDevice (AudioDeviceType_t type, const char *id) |
Set the audio device (playback or capture) to use (Primary device only) | |
void | AudioDevice_SetPlayback (int device, const char *id) |
Set a playback audio device to use. | |
void | AudioDevice_SetCapture (int device, const char *id) |
Set a capture audio device to use. | |
int | AudioDevice_Version () |
Gets the version count of Audio Device updates. | |
void | Replay_Create (unsigned int milliseconds) |
Create new replay and seek to offset. | |
void | Replay_Resume (void) |
Continue a paused replay. | |
void | Replay_Pause (void) |
Pause a playing replay. | |
void | Replay_Seek (unsigned int milliseconds) |
Change to new offset in replay. | |
int | Replay_Length (void) |
Get the length of the replay in milliseconds. | |
int | Replay_Offset (void) |
Get the offset from end of the replay in milliseconds. | |
int | Replay_Replaying (void) |
Get whether replay is currently replaying. | |
int | License_Request (const char *type) |
Request a new license of specified type. | |
void | License_Release (int license_id) |
Release a license. | |
int | License_Status (int license_id) |
Get status of license request. | |
int | Playsound_ListCount (void) |
Gets the current number of Client Playsounds. | |
const char * | Playsound_Name (const char *playsound_id) |
Gets the name of a specified playsound. | |
const char * | Playsound_Id (int playsound_index) |
Gets the unique ID of a specified playsound. | |
int | Playsound_Version (void) |
Gets the version count of Playsound updates. | |
void | Test_SetTestMode (int mode, int value) |
Sets the test mode. | |
const char * | Rmtx_IDFirst () |
const char * | Rmtx_IDNext () |
int | Rmtx_ListCount () |
const char * | Rmtx_GetField (const char *uuid, const char *field_name) |
int | Rmtx_Version () |
void | Rmtx_AutotuneRadio (const char *uuid, int r_index) |
void | Rmtx_AutotuneJammer (const char *uuid, int j_index) |
void | Rmtx_Radiomon (int status) |
Voisus Remote Control Client (VRCC) Interface.
The Voisus Remote Control Client library provides an interface for interacting with the Voisus Client. Using this library, a developer can integrate the same functionality demonstrated in the ASTi Voisus Client into a user application.
Please note that the API is not thread-safe, therefore all calls to API functions must be made from the same thread.
const char * AudioDevice_CaptureIDActive | ( | int | device | ) |
Gets the unique ID of the active Capture audio device.
Capture devices are microphones
device | Capture device number (starting at 0) |
const char * AudioDevice_IDActive | ( | AudioDeviceType_t | type | ) |
Gets the unique ID of an active audio device (Primary device only)
type | Type of audio device (playback/capture) of type AudioDeviceType_t |
const char * AudioDevice_IDFirst | ( | AudioDeviceType_t | type | ) |
Get the first audio device of specified type.
type | Type of audio device (playback/capture) of type AudioDeviceType_t |
const char * AudioDevice_IDNext | ( | AudioDeviceType_t | type | ) |
Get the next audio device of specified type.
type | Type of audio device (playback/capture) of type AudioDeviceType_t |
const char * AudioDevice_Name | ( | AudioDeviceType_t | type, |
const char * | id ) |
Get the name of an audio device of specified type by ID.
type | Type of audio device (playback/capture) of type AudioDeviceType_t |
id | Unique ID of device |
const char * AudioDevice_PlaybackIDActive | ( | int | device | ) |
Gets the unique ID of the active Playback audio device.
Playback devices are speakers and headsets
device | Playback device number (starting at 0) |
void AudioDevice_SetCapture | ( | int | device, |
const char * | id ) |
Set a capture audio device to use.
device | Capture device number, starting at 0 |
id | Unique ID of device |
void AudioDevice_SetDevice | ( | AudioDeviceType_t | type, |
const char * | id ) |
Set the audio device (playback or capture) to use (Primary device only)
type | Type of audio device (playback/capture) of type AudioDeviceType_t |
id | Unique ID of device |
void AudioDevice_SetPlayback | ( | int | device, |
const char * | id ) |
Set a playback audio device to use.
device | Playback device number, starting at 0 |
id | Unique ID of device |
int AudioDevice_Version | ( | ) |
Gets the version count of Audio Device updates.
This counter increments when audio device information is updated.
void AuxAudio_Enable | ( | int | enable, |
unsigned int | sample_rate, | ||
unsigned int | encoding ) |
Enable/disable auxiliary audio input to client.
enable | 1 for enable, 0 for disable |
sample_rate | Audio sample rate (in Hz) |
encoding | Audio sample encoding (in AudioEncoding_t) |
void AuxAudio_Register | ( | AudioCallback | func | ) |
Register callback to receive auxiliary audio from server.
func | Audio callback function of type AudioCallback |
void AuxAudio_Send | ( | unsigned char * | samples, |
unsigned int | len ) |
Send auxiliary audio to server (substitute for mic audio)
samples | Audio samples |
len | Length of audio samples (in bytes) |
const char * Call_Create | ( | ) |
Create a new call and join it.
For more information, see documentation on Calls.
const char * Call_Endpoint_IDFirst | ( | const char * | call_id | ) |
Get the first Endpoint for a call.
const char * Call_Endpoint_IDNext | ( | const char * | call_id | ) |
Get the next Endpoint for a call.
int Call_Endpoint_State | ( | const char * | call_id, |
const char * | ep_id ) |
Get the current state of an Endpoint on a call.
For more information, see documentation on Calls.
call_id | 32-character unique ID of call |
ep_id | 32-character unique ID of endpoint |
int Call_Endpoint_Version | ( | ) |
Gets the version count for call and endpoint updates.
This counter increments when any Call or Endpoint information is updated
void Call_GetLock | ( | ) |
Gets the lock on all Call and Endpoint data.
const char * Call_IDFirst | ( | ) |
Get the first call in set of calls for this endpoint.
const char * Call_IDNext | ( | ) |
Get the next call in set of calls for this endpoint.
void Call_Invitation_ClearAll | ( | ) |
Clear all invitations from list.
This method should be called after all invitations in the list are read.
Invitations are one-way notifications without state and will not time out.
int Call_Invitation_First | ( | CallInvitation_t * | invite | ) |
Get the first Invitation from list.
Invitations will remain until cleared with Call_Invitation_ClearAll
invite | pointer to structure of type CallInvitation_t (for return value) |
int Call_Invitation_Next | ( | CallInvitation_t * | invite | ) |
Get the next Invitation from list.
Invitations will remain until cleared with Call_Invitation_ClearAll
invite | pointer to structure of type CallInvitation_t (for return value) |
int Call_Invitation_Version | ( | ) |
Gets the version count for call invitation updates.
This counter increments when any invitation is added
void Call_Invite | ( | const char * | call_id, |
const char * | endpoint_id ) |
Send an invitation to another endpoint.
For more information, see documentation on Invitations.
call_id | 32-character unique ID of call |
endpoint_id | 32-character unique ID of endpoint to invite |
void Call_Invite_Dial | ( | const char * | call_id, |
const char * | endpoint_id, | ||
const char * | dial_number ) |
Send an invitation to an endpoint to dial a phone number.
Intended for use with endpoints representing phone lines.
For more information, see documentation on Invitations.
call_id | 32-character unique ID of call |
endpoint_id | 32-character unique ID of endpoint to invite |
dial_number | string containing the phone number to call |
void Call_Invite_Merge | ( | const char * | call_id, |
const char * | endpoint_id, | ||
const char * | old_call_id ) |
Send an invitation to an endpoint to join a call and leave their current call.
Intended for use as call merging
For more information, see documentation on Invitations.
call_id | 32-character unique ID of call |
endpoint_id | 32-character unique ID of endpoint to invite |
old_call_id | 32-character unique ID of call for endpoint to leave |
void Call_Invite_Net | ( | const char * | call_id, |
const char * | net_id ) |
Send an invitation to join a radio net to call.
Intended for use with radio net ids in call system
call_id | 32-character unique ID of call |
net_id | 32-character unique ID of radio net to invite |
void Call_Invite_Radio | ( | const char * | call_id, |
const char * | radio_id ) |
Send an invitation to join a radio to call.
Intended for use with radio ids in call system
call_id | 32-character unique ID of call |
radio_id | 32-character unique ID of radio to invite |
void Call_InviteCrew | ( | ) |
Invite all members of crew to a call.
void Call_Leave | ( | const char * | call_id, |
int | leave_reason ) |
Leave a call with a specified reason.
For more information, see documentation on Calls.
call_id | 32-character unique ID of call |
leave_reason | reason of type CallLeave_t |
void Call_LeaveRequest | ( | const char * | call_id, |
const char * | endpoint_id ) |
Request an endpoint to leave a call.
Intended for canceling call invitations.
Only endpoints with call state of signaling will leave call.
Endpoints in Connected and Holding states will ignore the request.
call_id | 32-character unique ID of call |
call_id | 32-character unique ID of endpoint |
int Call_ListCount | ( | ) |
Get the size of the set of calls for this endpoint.
void Call_PressKey | ( | const char * | call_id, |
const char * | keys ) |
Transmit a key press on a call.
Intended for sending DTMF tones on phone lines
call_id | 32-character unique ID of call |
keys | string containing the keys to be pressed in sequence (e.g. "123#") |
void Call_Progress | ( | const char * | call_id, |
int | call_state ) |
Update current state of user Endpoint for a call.
For more information, see documentation on Calls.
call_id | 32-character unique ID of call |
call_state | state of type CallProgress_t |
void Call_ReleaseLock | ( | ) |
Releases the lock on all Call and Endpoint data.
unsigned long long Call_StartTime | ( | const char * | call_id | ) |
Get the start_time of a call in seconds form unix epoch.
call_id | 32-character unique ID of call |
void Cloud_GetLock | ( | ) |
Gets the lock on all Cloud data.
int Cloud_GetServerCount | ( | const char * | uuid | ) |
Gets the current number of detected clouds.
const char * Cloud_IDFirst | ( | ) |
Get the first Cloud.
const char * Cloud_IDNext | ( | ) |
Get the next Cloud.
int Cloud_ListCount | ( | ) |
Gets the current number of detected clouds.
void Cloud_ReleaseLock | ( | ) |
Releases the lock on all Cloud data.
int Cloud_Version | ( | ) |
Gets the version count for Clouds.
This counter increments when any cloud information is updated. (e.g. new server added/removed)
int Codec_Get | ( | ) |
Gets currently selected Codec.
void Codec_Set | ( | int | codec | ) |
Sets a new Codec.
codec | value of type Codec_t |
int DIS_GetExercise | ( | ) |
Get DIS exercise for operator radios.
void DIS_GetParams | ( | DISParams_t * | dis_params | ) |
Get DIS parameters configured on server for an operator.
Values are returned in the DISParams_t structure
double DIS_GetSimTime | ( | ) |
Get DIS simulation time.
void DIS_SetExercise | ( | int | exercise | ) |
Update DIS exercise for operator radios.
exercise | value of new exercise in the range 1-255 |
void DIS_SetParams | ( | DISParams_t * | dis_params | ) |
Update user-settable DIS parameters for an operator.
Settable fields are site, app, entity and radio_offset in the DISParams_t
structure. Set values to 0 to use system defaults.
void Earshot_Enable | ( | int | enable | ) |
Enable Earshot support.
This function must be called with a non-zero argument before any other Earshot calls are made. By default, Earshot is disabled.
enable | non-zero for enable, 0 for disable |
int Earshot_Receiving | ( | void | ) |
void Earshot_SetPTT | ( | int | ptt | ) |
Sets the Earshot push-to-talk (PTT) state.
When the ptt parameter is non-zero, audio will be transmitted into the ambient sound environment.
ptt | 1 for pressed, 0 otherwise |
int Earshot_Transmitting | ( | void | ) |
const char * EntityState_Id | ( | int | list_index | ) |
Gets the unique ID of a specified Entity State (Vehicle)
list_index | index of entity state in list |
const char * EntityState_IdActive | ( | ) |
Gets the unique ID of the currently selected Entity State.
This value updates only after Entity State is set successfully
const char * EntityState_IdSet | ( | ) |
Gets the unique ID of the last-set Entity State (Vehicle)
This value updates immediately
int EntityState_ListCount | ( | ) |
Gets the total number of Entity States (Vehicles) available to the client.
const char * EntityState_Name | ( | int | list_index | ) |
Gets the name of a specified Entity State (Vehicle)
list_index | index of entity state in list |
const char * EntityState_NameActive | ( | ) |
Gets the name of the current Entity State (Vehicle)
This value updates only after Entity State is set successfully
const char * EntityState_NameSet | ( | ) |
Gets the name of the last-set Entity State.
This value updates immediately
void EntityState_SetEntityState | ( | const char * | id | ) |
Sets a new Entity State (Vehicle) to connect with.
Sends a request to connect to a new entity state with the specified unique ID. When the connection is complete, the value returned by EntityState_IdActive will match the id parameter.
id | 32-character unique identifier for Entity State |
int EntityState_Version | ( | ) |
Gets the version count of Entity State updates.
This counter increments when entity state information is updated.
int Headset_DeviceConfigured | ( | ) |
Gets whether client successfully configure an audio device.
float Headset_EarphoneVolume | ( | ) |
Gets the earphone volume.
int Headset_HasSidetone | ( | ) |
Gets whether headset has sidetone.
float Headset_MicLevel | ( | ) |
Gets the microphone level.
The mic level will be the RMS of the previous mic packet. The level will only be computed during mic test.
int Headset_MicrophoneMode | ( | ) |
Gets the microphone mode.
The mode can either be Off, Vox, PTT, or Hot. In vox mode, voice level determines transmission activity (based on vox threshold). In PTT mode, transmission is only made when PTT is pressed. In hot mode, voice transmission is always active.
float Headset_MicVolume | ( | ) |
Gets the microphone volume.
void Headset_SetCallMicrophoneMute | ( | int | active | ) |
Sets the microphone mute during an active call.
active | 1 => mute is active, 0 => mute is inactive |
void Headset_SetEarphoneVolume | ( | float | volume | ) |
Sets the earphone volume.
volume | value in range [0.0, 100.0] |
void Headset_SetHeadsetPreset | ( | int | preset | ) |
Selects from a preset headset configuration.
Sets the headset preset. Each preset contains default values. There are presets for Plantronics USB headset and the ASTi Radius.
preset | value of type HeadsetPreset_t |
void Headset_SetMicrophoneMode | ( | int | mode | ) |
Sets the microphone mode.
Sets the microphone mode to either Off, Vox, PTT, or Hot. In vox mode, voice level determines transmission activity (based on vox threshold). In PTT mode, transmission is only made when PTT is pressed. In hot mode, voice transmission is always active.
mode | value of type MicMode_t |
void Headset_SetMicVolume | ( | float | volume | ) |
Sets the microphone volume.
volume | value in range [0.0, 100.0] |
void Headset_SetSidetoneVolume | ( | float | volume | ) |
Sets the sidetone volume.
Sets the current sidetone volume to the specified value. Sidetone is the audio feedback of the client's voice to their own earphone. Sidetone is provided by the USB headset or sound card hardware, therefore may not be available.
volume | value in range [0.0, 100.0] |
void Headset_SetVoxThreshold | ( | float | threshold | ) |
Sets the vox threshold.
Sets the current Vox threshold to the specified value. Higher thresholds require greater voice volume to trigger transmission.
threshold | value in range [0.0, 100.0] |
float Headset_SidetoneVolume | ( | ) |
Gets the sidetone volume.
Sidetone is the audio feedback of the client's voice to their own earphone. Sidetone is provided by the USB headset or sound card hardware, therefore may not be available.
int Headset_Version | ( | ) |
Gets the version count of Headset updates.
This counter increments when headset information is updated.
float Headset_VoxThreshold | ( | ) |
Gets the vox threshold.
Threshold for Vox system. Higher thresholds require greater voice volume to trigger transmission.
int Jammer_IsEnabled | ( | int | jammer_index | ) |
Gets the enabled state for a jammer.
jammer_index | index of jammer in range [0, jammer_count-1] |
int Jammer_IsReceiving | ( | int | jammer_index | ) |
Gets the receivie state for a jammer.
jammer_index | index of jammer in range [0, jammer_count-1] |
int Jammer_IsSpoofing | ( | int | jammer_index | ) |
Gets the spoofing state for a jammer.
jammer_index | index of jammer in range [0, jammer_count-1] |
int Jammer_IsTransmitting | ( | int | jammer_index | ) |
Gets the transmit state for a jammer.
jammer_index | index of jammer in range [0, jammer_count-1] |
int Jammer_ListCount | ( | ) |
Gets the current number of jammers.
unsigned long long Jammer_NetFrequency | ( | int | jammer_index, |
int | net_index ) |
Gets the frequency of a net for a jammer.
jammer_index | index of jammer in range [0, jammer_count-1] |
net_index | index of net in range [0, net_count-1] |
unsigned long long Jammer_NetFrequencyActive | ( | int | jammer_index | ) |
Gets the frequency of currently selected net for a jammer.
jammer_index | index of jammer in range [0, jammer_count-1] |
const char * Jammer_NetID | ( | int | jammer_index, |
int | net_index ) |
Gets the unique ID of a net for a jammer.
jammer_index | index of jammer in range [0, jammer_count-1] |
net_index | index of net in range [0, net_count-1] |
const char * Jammer_NetIDActive | ( | int | jammer_index | ) |
Gets the unique ID of currently selected net for a jammer.
jammer_index | index of jammer in range [0, jammer_count-1] |
int Jammer_NetListCount | ( | int | jammer_index | ) |
Gets the number of nets for a jammer.
jammer_index | index of jammer in range [0, jammer_count-1] |
const char * Jammer_NetName | ( | int | jammer_index, |
int | net_index ) |
Gets the name of a net for a jammer.
jammer_index | index of jammer in range [0, jammer_count-1] |
net_index | index of net in range [0, net_count-1] |
const char * Jammer_NetWaveform | ( | int | jammer_index, |
int | net_index ) |
Gets the waveform of a net for a jammer.
jammer_index | index of jammer in range [0, jammer_count-1] |
net_index | index of net in range [0, net_count-1] |
const char * Jammer_NetWaveformActive | ( | int | jammer_index | ) |
Get the waveform (mode) of the currently selected net for a jammer.
jammer_index | index of jammer in range [0, jammer_count-1] |
int Jammer_RecordReplayDurationMs | ( | int | jammer_index | ) |
Get the duration of the last recording in milliseconds.
jammer_index | index of jammer in range [0, jammer_count-1] |
int Jammer_RecordReplayProgress | ( | int | jammer_index | ) |
Get the progress of an active recording or replaying.
jammer_index | index of jammer in range [0, jammer_count-1] |
int Jammer_RecordReplayState | ( | int | jammer_index | ) |
Get the current state of the jammer's record/replay functions.
jammer_index | index of jammer in range [0, jammer_count-1] |
void Jammer_SetEnable | ( | int | jammer_index, |
int | enable ) |
Enable/disable a jammer to begin/end transmission.
jammer_index | index of jammer in range [0, jammer_count-1] |
enable | 0 to disable, otherwise enable |
void Jammer_SetNetID | ( | int | jammer_index, |
const char * | net_id ) |
Sets the net for a jammer by unique ID.
jammer_index | index of jammer in range [0, jammer_count-1] |
net_id | 32-character unique identifier for net |
void Jammer_StartRecording | ( | int | jammer_index, |
int | duration_secs ) |
Start recording audio received by the jammer.
Recording will start when first audio is received and continue
until stopped or recording length reaches specified duration
jammer_index | index of jammer in range [0, jammer_count-1] |
duration_secs | Maximum duration of recording in range [1, 30] |
void Jammer_StartReplaying | ( | int | jammer_index, |
int | loop ) |
Start transmitting previously recorded audio out the jammer.
Replay will start immediately and conclude when all audio is played
(if loop == 0) or play continuously until stopped on a loop
(if loop > 0)
jammer_index | index of jammer in range [0, jammer_count-1] |
loop | 1 to enable looping playback, 0 to play once |
void Jammer_StopRecording | ( | int | jammer_index | ) |
Stop recording audio received by the jammer.
jammer_index | index of jammer in range [0, jammer_count-1] |
void Jammer_StopReplaying | ( | int | jammer_index | ) |
Stop transmitting previously recorded audio out the jammer.
jammer_index | index of jammer in range [0, jammer_count-1] |
int Jammer_Version | ( | ) |
Gets the version count for jammer updates.
This counter increments when any jammer information is updated.
int Joystick_Active | ( | ) |
Gets the active joystick index.
int Joystick_Active_Multi | ( | int | ptt | ) |
Gets the active joystick index for a specified PTT.
ptt | index of PTT to query (0 for primary, 1 for secondary) |
int Joystick_ButtonActive | ( | ) |
Gets the active joystick button index.
int Joystick_ButtonActive_Multi | ( | int | ptt | ) |
Gets the active joystick button index.
ptt | index of PTT to query (0 for primary, 1 for secondary) |
int Joystick_ButtonCount | ( | int | list_index | ) |
Gets the number of buttons for a specified joystick.
list_index | index of joystick in the range [0, number of joysticks - 1] |
int Joystick_ListCount | ( | ) |
Gets the current number of detected joysticks.
const char * Joystick_Name | ( | int | list_index | ) |
Gets the name of a specified joystick.
list_index | index of joystick in the range [0, number of joysticks - 1] |
int Joystick_Pressed | ( | ) |
Gets the current joystick pressed state.
int Joystick_Pressed_Multi | ( | int | ptt | ) |
Gets the current joystick pressed state.
ptt | index of PTT to query (0 for primary, 1 for secondary) |
void Joystick_SetButton | ( | int | js, |
int | btn ) |
Selects the active joystick button.
Sets the active joystick button that will be monitored for button presses used for push-to-talk (PTT) functionality.
js | index of joystick |
btn | index of button |
void Joystick_SetButton_Multi | ( | int | ptt, |
int | js, | ||
int | btn ) |
Selects the active joystick button.
Sets the active joystick button that will be monitored for button presses used for push-to-talk (PTT) functionality.
ptt | index of PTT to query (0 for primary, 1 for secondary) |
js | index of joystick |
btn | index of button |
void License_Release | ( | int | license_id | ) |
Release a license.
Check status of license request (pending, granted, released or
lost) with License_Status.
license_id | Identifier for license |
int License_Request | ( | const char * | type | ) |
Request a new license of specified type.
Check status of license request (pending, granted, released or
lost) with License_Status.
type | Type of license |
int License_Status | ( | int | license_id | ) |
Get status of license request.
license_id | Identifier for license |
void Log_Write | ( | const char * | function, |
const char * | msg ) |
Writes a message to the Voisus client log.
The message will be logged as "<function> : <msg>". See the Voisus log for examples.
function | the function or scope that wrote the message |
msg | the log message |
const char * Net_Name | ( | const char * | net_id | ) |
Gets the name of a net using the unique ID.
net_id | unique ID of a net, or empty string |
const char * Network_ClientIP | ( | ) |
Gets the Client address used to connect to the Server.
const char * Network_ClientName | ( | ) |
Gets the user-settable client name.
The client name is published on the Server and to other clients.
const char * Network_CloudActive | ( | ) |
Gets the currently connected Cloud.
const char * Network_CloudSet | ( | ) |
Gets the last set Cloud to connect to.
int Network_ConnectionMode | ( | ) |
Get the current connection mode (e.g. Cloud)
int Network_ConnectionStatus | ( | ) |
Gets the connection status of client.
This function returns whether the client is connected or disconnected from the Server. For more detailed connection information, see Network_ConnectState.
int Network_ConnectState | ( | ) |
Gets the detailed connection state of the client.
This function returns detailed information about the connection including getting/setting Role information.
const char * Network_OperatorId | ( | ) |
Gets the unique ID of the Operator.
This is the 32-character unique identifier of the Operator instance on the server that the client is currently connected to.
void Network_SetClientName | ( | const char * | name | ) |
Sets the client name.
The client name is published on the Server and to other clients.
name | User-settable name for the client. |
const char * Network_TargetIP | ( | ) |
Gets the Voisus Server address.
int Network_Version | ( | ) |
Gets the version count of Network updates.
This counter increments when network information is updated.
const char * Operator_GetField | ( | const char * | uuid, |
const char * | field_name ) |
Get a field for an Operator.
Supported field names are
"role" | Role name | ||
"clientname" | Client name | ||
"hostname" | Hostname of server that client is connected to | ||
"connected" | "true" if connected, "false" otherwise | ||
"callactive" | "true" if currently on a call (busy), "false" otherwise | ||
"clientversion" | Version of client | ||
"serverversion" | Version of server |
For more information, see documentation on Endpoints/Operators.
uuid | 32-character unique ID of Operator |
field_name | name of field |
void Operator_GetLock | ( | ) |
Gets the lock on all Operator data.
const char * Operator_IDFirst | ( | ) |
Get the first Operator.
const char * Operator_IDNext | ( | ) |
Get the next Operator.
int Operator_ListCount | ( | ) |
Gets the current number of Operators.
void Operator_ReleaseLock | ( | ) |
Releases the lock on all Operator data.
int Operator_Version | ( | ) |
Gets the version count for Operators.
This counter increments when any Operator information is updated, including operators added/removed or fields changed
int Phone_Balance | ( | ) |
Get the audio balance (left/right/center) for a phone.
const char * Phone_CallActive | ( | ) |
Get the active call ID.
int Phone_IsTransmitting | ( | ) |
Get the transmitting state for a phone.
int Phone_ListCount | ( | ) |
Get the count phones for this endpoint.
For more information, see documentation on Phones.
int Phone_Muted | ( | ) |
Gets the mute state for a phone.
void Phone_SetBalance | ( | int | balance | ) |
Sets the audio balance for a phone (left/right/center)
balance | value of type Balance_t |
void Phone_SetCall | ( | const char * | call_id | ) |
Set the active call for phone.
For more information, see documentation on Phones.
call_id | 32-character unique ID of call, or empty string to clear |
void Phone_SetMuted | ( | int | mute | ) |
Sets the mute state for a phone.
mute | value 1 for muted, 0 for not muted |
void Phone_SetVolume | ( | float | volume | ) |
Sets the receive volume for a phone.
volume | value in range [0.0, 100.0] |
int Phone_Version | ( | ) |
Gets the version count of Phone updates.
This counter increments when phone information is updated.
float Phone_Volume | ( | ) |
Get the receive volume for a phone.
const char * Playsound_Id | ( | int | playsound_index | ) |
Gets the unique ID of a specified playsound.
playsound_index | index of playsound in the range [0, count of playsounds - 1] |
int Playsound_ListCount | ( | void | ) |
Gets the current number of Client Playsounds.
const char * Playsound_Name | ( | const char * | playsound_id | ) |
Gets the name of a specified playsound.
playsound_id | 32-character unique ID of playsound |
int Playsound_Version | ( | void | ) |
Gets the version count of Playsound updates.
This counter increments when playsound information is updated.
int PTT_GetPressed | ( | ) |
Gets the current pressed state of the primary software push-to-talk (PTT) state.
The value reflects the state of the software PTT (not hardware).
int PTT_GetPressed_Multi | ( | int | ptt | ) |
Gets the current pressed state of a specified software push-to-talk (PTT)
The value reflects the state of a software PTT (not hardware).
ptt | index of PTT to query |
int PTT_HWGetPressed | ( | ) |
Gets the current hardware push-to-talk (PTT) state.
This value only reflects the state of the primary hardware PTT (not software) including joysticks.
int PTT_HWGetPressed_Multi | ( | int | ptt | ) |
Gets the current hardware push-to-talk (PTT) state (multiple)
This value only reflects the state of the specified hardware PTT (not software) including joysticks. Pass -1 for ANY PTT (values are OR'd).
ptt | index of hardware PTT to query |
void PTT_SetPressed | ( | int | pressed | ) |
Sets the software push-to-talk (PTT) state for primary PTT.
When the ptt parameter is non-zero, audio will be transmitted on any radios that have their transmit state enabled.
pressed | 1 for pressed, 0 otherwise |
void PTT_SetPressed_Multi | ( | int | ptt, |
int | pressed ) |
Sets the software push-to-talk (PTT) state for a given PTT.
When the pressed parameter is non-zero, audio will be transmitted on any radios that have their transmit state enabled and are designated for this PTT.
ptt | index of PTT to update |
pressed | 1 for pressed, 0 otherwise |
int PTT_Version | ( | ) |
Gets the version count of PTT updates.
This counter increments when PTT information is updated.
const char * RadCtrl_Error | ( | ) |
Get error string for last radio control "set" operation.
int RadCtrl_ErrorVersion | ( | ) |
Gets the version count of Radio Control responses to new settings.
This counter increments once for each RadCtrl_Set* API call.
If the response is an error, the error message can be fetched using
const char * RadCtrl_GetOptionsStr | ( | const char * | name, |
const char * | setting ) |
Get list of options for a live radio string setting.
name | name of live radio to control |
setting | name of setting for retrieve options list for |
float RadCtrl_GetValueFloat | ( | const char * | name, |
const char * | setting ) |
Get live radio setting float value by name.
Supported field names are
"rx_power" | Receive Power | ||
"squelch" | Squelch Level |
name | name of live radio to control |
setting | name of value to retrieve |
int RadCtrl_GetValueInt | ( | const char * | name, |
const char * | setting ) |
Get live radio setting int value by name.
Supported field names are
"freq" | Frequency (in Hz) | ||
"tx_freq" | Transmit Frequency (in Hz) | ||
"preset" | Current preset (0-9), only valid if 'load_preset' is set to "TRUE" |
name | name of live radio to control |
setting | name of value to retrieve |
const char * RadCtrl_GetValueStr | ( | const char * | name, |
const char * | setting ) |
Get live radio setting string value by name.
Supported field names are
"mod_mode" | Modulation mode (e.g. AM, FM) | ||
"tx_mod_mode" | Transmit modulation mode (e.g. AM, FM) | ||
"power_lvl" | Power level (e.g. LOW, MED, HIGH) | ||
"load_preset" | Are presets loadable? (e.g. TRUE, FALSE), must be TRUE in order to set any presets, or FALSE to modify any individual settings |
name | name of live radio to control |
setting | name of value to retrieve |
int RadCtrl_ListCount | ( | ) |
Gets the number of radios that can be controlled.
const char * RadCtrl_Name | ( | int | index | ) |
Gets the name of a live radio to control.
void RadCtrl_Poll | ( | const char * | name | ) |
Poll server for updated radio state information.
name | name of live radio to control |
void RadCtrl_SetValueFloat | ( | const char * | name, |
const char * | setting, | ||
float | value ) |
Change a float setting of a live radio.
Supported field names are
"rx_power" | Receive Power | ||
"squelch" | Squelch Level |
name | name of live radio to control |
setting | name of setting to modify |
value | new value for setting |
void RadCtrl_SetValueInt | ( | const char * | name, |
const char * | setting, | ||
int | value ) |
Change an integer setting of a live radio.
Supported field names are
"freq" | Frequency (in Hz) | ||
"tx_freq" | Transmit Frequency (in Hz) | ||
"preset" | Preset to load (0-9), can only load presets if 'load_preset' option is set to "TRUE" |
name | name of live radio to control |
setting | name of setting to modify |
value | new value for setting |
void RadCtrl_SetValueStr | ( | const char * | name, |
const char * | setting, | ||
const char * | value ) |
Change a string setting of a live radio.
Supported field names are
"mod_mode" | Modulation mode (e.g. AM, FM) | ||
"tx_mod_mode" | Transmit modulation mode (e.g. AM, FM) | ||
"power_lvl" | Power level (e.g. LOW, MED, HIGH) | ||
"load_preset" | Enable preset mode? (e.g. TRUE, FALSE), set to TRUE before loading any presets or to FALSE before modifying any individual settings |
name | name of live radio to control |
setting | name of setting to modify |
value | new value for setting |
void Radio_AppendScanPlanNet | ( | int | radio_index, |
int | plan_index, | ||
const char * | net_id ) |
Appends a net to a scan plan net list.
Duplicate nets are not permitted
radio_index | index of radio in range [0, radio_count-1] |
plan_index | index of scan plan in range [0, plan_count-1] |
net_id | unique ID of a net |
float Radio_AudioLevel | ( | int | radio_index | ) |
Gets the audio level of a radio.
Audio level calculation must be enabled first. Audio level is
calculated 5 times per second as an RMS value of received
radio audio and is not affected by volume adjustments.
radio_index | index of radio in range [0, radio_count-1] |
int Radio_AudioLevelEnabled | ( | int | radio_index | ) |
Gets whether audio level calculation is enabled for a radio.
radio_index | index of radio in range [0, radio_count-1] |
int Radio_Balance | ( | int | radio_index | ) |
Gets the audio balance for a radio (left, right, center)
radio_index | index of radio in range [0, radio_count-1] |
int Radio_BalanceDevice | ( | int | radio_index, |
int | device_index ) |
Gets the audio balance for a radio (left, right, center)
radio_index | index of radio in range [0, radio_count-1] |
device_index | index of radio in range [0, device_count-1] |
int Radio_BalanceLocked | ( | int | radio_index | ) |
Gets whether balance selection is locked for a radio.
When selection is locked, the balance cannot be changed by the client. This configuration is set in the definition of a Role on the Voisus Server.
radio_index | index of radio in range [0, radio_count-1] |
int Radio_BalanceLockedDevice | ( | int | radio_index, |
int | device_index ) |
Gets whether balance selection is locked for a radio.
When selection is locked, the balance cannot be changed by the client. This configuration is set in the definition of a Role on the Voisus Server.
radio_index | index of radio in range [0, radio_count-1] |
device_index | index of radio in range [0, device_count-1] |
int Radio_CryptoEnabled | ( | int | radio_index | ) |
Gets whether radio has crypto mode enabled.
Enabled means cipher text mode. Disabled means plain text mode.
radio_index | index of radio in range [0, radio_count-1] |
const char * Radio_Id | ( | int | radio_index | ) |
Gets the ID of a radio.
radio_index | index of radio in range [0, radio_count-1] |
int Radio_IsLockedOut | ( | int | radio_index | ) |
Gets the lockout state for a radio.
radio_index | index of radio in range [0, radio_count-1] |
int Radio_IsNetLocked | ( | int | radio_index | ) |
Gets whether net selection is locked for a radio.
When net selection is locked, the net cannot be changed by the client. This configuration is set in the definition of a Role on the Voisus Server.
radio_index | index of radio in range [0, radio_count-1] |
int Radio_IsReceiveEnabled | ( | int | radio_index | ) |
Gets the receive enable for a radio.
radio_index | index of radio in range [0, radio_count-1] |
int Radio_IsReceiving | ( | int | radio_index | ) |
Gets the receive state for a radio.
radio_index | index of radio in range [0, radio_count-1] |
int Radio_IsRXModeLocked | ( | int | radio_index | ) |
Gets whether the RX enable is locked for a radio.
When the RX enable is locked, the receive enable cannot be changed by the client. This configuration is set in the definition of a Role on the Voisus Server.
radio_index | index of radio in range [0, radio_count-1] |
int Radio_IsShared | ( | int | radio_index | ) |
Gets whether a radio is shared by two or more operators. Shared radios are accessed through Entity States (Vehicles).
radio_index | index of radio in range [0, radio_count-1] |
int Radio_IsTransmitEnabled | ( | int | radio_index | ) |
Gets the transmit enable for a radio.
radio_index | index of radio in range [0, radio_count-1] |
int Radio_IsTransmitting | ( | int | radio_index | ) |
Gets the transmit state for a radio.
radio_index | index of radio in range [0, radio_count-1] |
int Radio_IsTXModeLocked | ( | int | radio_index | ) |
Gets whether the TX enable is locked for a radio.
When the TX enable is locked, the transmit enable cannot be changed by the client. This configuration is set in the definition of a Role on the Voisus Server.
radio_index | index of radio in range [0, radio_count-1] |
int Radio_ListCount | ( | ) |
Gets the current number of radios.
const char * Radio_Name | ( | int | radio_index | ) |
Gets the name of a radio.
radio_index | index of radio in range [0, radio_count-1] |
int Radio_NetCryptoEnabled | ( | int | radio_index, |
int | net_index ) |
Gets the crypto enabled of the radio's net.
radio_index | index of radio in range [0, radio_count-1] |
net_index | index of net in range [0, net_count-1] |
int Radio_NetCryptoEnabledActive | ( | int | radio_index | ) |
Get the crypto enable state for the currently tuned net of a radio.
radio_index | index of radio in range [0, radio_count-1] |
int Radio_NetCryptoKey | ( | int | radio_index, |
int | net_index ) |
Gets the crypto key of the radio's net.
radio_index | index of radio in range [0, radio_count-1] |
net_index | index of net in range [0, net_count-1] |
int Radio_NetCryptoKeyActive | ( | int | radio_index | ) |
Get the crypto key for the currently tuned net of a radio.
radio_index | index of radio in range [0, radio_count-1] |
int Radio_NetCryptoSystem | ( | int | radio_index, |
int | net_index ) |
Gets the crypto system of the radio's net.
radio_index | index of radio in range [0, radio_count-1] |
net_index | index of net in range [0, net_count-1] |
int Radio_NetCryptoSystemActive | ( | int | radio_index | ) |
Get the crypto system for the currently tuned net of a radio.
radio_index | index of radio in range [0, radio_count-1] |
int Radio_NetFreqHopLockoutActive | ( | int | radio_index | ) |
Gets the Lockout Set ID (for Frequency Hop nets only)
Freqhop nets will have a Radio_NetWaveform value of "HAVEQUICK" or "SINCGARS"
radio_index | index of radio in range [0, radio_count-1] |
int Radio_NetFreqHopNetId | ( | int | radio_index, |
int | net_index ) |
Gets the Net ID (for Frequency Hop nets only)
Freqhop nets will have a Radio_NetWaveform value of "HAVEQUICK" or "SINCGARS"
radio_index | index of radio in range [0, radio_count-1] |
net_index | index of net in range [0, net_count-1] |
int Radio_NetFreqHopNetIdActive | ( | int | radio_index | ) |
Gets the Net ID (for Frequency Hop nets only)
Freqhop nets will have a Radio_NetWaveform value of "HAVEQUICK" or "SINCGARS"
radio_index | index of radio in range [0, radio_count-1] |
int Radio_NetFreqHopTODActive | ( | int | radio_index | ) |
Gets the Time of Day (for Frequency Hop nets only)
Freqhop nets will have a Radio_NetWaveform value of "HAVEQUICK" or "SINCGARS"
radio_index | index of radio in range [0, radio_count-1] |
int Radio_NetFreqHopTransecKeyActive | ( | int | radio_index | ) |
Gets the Transec Key (for Frequency Hop nets only)
Freqhop nets will have a Radio_NetWaveform value of "HAVEQUICK" or "SINCGARS"
radio_index | index of radio in range [0, radio_count-1] |
int Radio_NetFreqHopWODActive | ( | int | radio_index | ) |
Gets the Word of Day (for Frequency Hop nets only)
Freqhop nets will have a Radio_NetWaveform value of "HAVEQUICK" or "SINCGARS"
radio_index | index of radio in range [0, radio_count-1] |
unsigned long long Radio_NetFrequency | ( | int | radio_index, |
int | net_index ) |
Gets the frequency of the radio's net.
radio_index | index of radio in range [0, radio_count-1] |
net_index | index of net in range [0, net_count-1] |
const char * Radio_NetID | ( | int | radio_index, |
int | net_index ) |
Gets the unique ID of a net for a radio.
radio_index | index of radio in range [0, radio_count-1] |
net_index | index of net in range [0, net_count-1] |
const char * Radio_NetIDActive | ( | int | radio_index | ) |
Gets the unique ID of currently selected net for a radio.
radio_index | index of radio in range [0, radio_count-1] |
int Radio_NetListCount | ( | int | radio_index | ) |
Gets the number of nets for a radio.
radio_index | index of radio in range [0, radio_count-1] |
const char * Radio_NetName | ( | int | radio_index, |
int | net_index ) |
Gets the name of a net by index for a radio.
radio_index | index of radio in range [0, radio_count-1] |
net_index | index of net in range [0, net_count-1] |
const char * Radio_NetNameActive | ( | int | radio_index | ) |
Gets the name of currently selected net for a radio.
radio_index | index of radio in range [0, radio_count-1] |
unsigned long long Radio_NetRxFrequencyActive | ( | int | radio_index | ) |
Get the receive frequency for the currently tuned net of a radio.
radio_index | index of radio in range [0, radio_count-1] |
int Radio_NetSatcomChannel | ( | int | radio_index, |
int | net_index ) |
Gets the SATCOM channel of the radio's net.
radio_index | index of radio in range [0, radio_count-1] |
net_index | index of net in range [0, net_count-1] |
int Radio_NetTuningMethod | ( | int | radio_index, |
int | net_index ) |
Gets the tuning method of the radio's net.
radio_index | index of radio in range [0, radio_count-1] |
net_index | index of net in range [0, net_count-1] |
unsigned long long Radio_NetTxFrequencyActive | ( | int | radio_index | ) |
Get the transmit frequency for the currently tuned net of a radio.
radio_index | index of radio in range [0, radio_count-1] |
const char * Radio_NetWaveform | ( | int | radio_index, |
int | net_index ) |
Gets the waveform of the radio's net.
radio_index | index of radio in range [0, radio_count-1] |
net_index | index of net in range [0, net_count-1] |
const char * Radio_NetWaveformActive | ( | int | radio_index | ) |
Get the waveform (mode) for the currently tuned net of a radio.
radio_index | index of radio in range [0, radio_count-1] |
const char * Radio_Playsound | ( | int | radio_index | ) |
Gets the unique ID of sound mixed into mic audio for this radio.
radio_index | index of radio in range [0, radio_count-1] |
int Radio_PlaysoundLocked | ( | int | radio_index | ) |
Gets whether background playsound selection is locked for a radio.
When selection is locked, the playsound cannot be changed by the client. This configuration is set in the definition of a Role on the Voisus Server.
radio_index | index of radio in range [0, radio_count-1] |
int Radio_PTT | ( | int | radio_index | ) |
Gets the PTT identifier for the radio.
Return value of 0 indicates primary PTT, 1 is secondary, etc.
radio_index | index of radio in range [0, radio_count-1] |
const char * Radio_RadBridgeId | ( | int | radio_index | ) |
Gets the Radio Bridge Id of a radio interfacing audio with live radios.
radio_index | index of radio in range [0, radio_count-1] |
const char * Radio_RadCtrlId | ( | int | radio_index | ) |
Gets the Radio Control Id of a radio configured to control live radios.
radio_index | index of radio in range [0, radio_count-1] |
const char * Radio_RadioEffects | ( | int | radio_index | ) |
Gets the radio effects set for a radio.
radio_index | index of radio in range [0, radio_count-1] |
int Radio_RadioEffectsLocked | ( | int | radio_index | ) |
Gets whether radio effects selection is locked for a radio.
When selection is locked, the radio effects cannot be changed by the client. This configuration is set in the definition of a Role on the Voisus Server.
radio_index | index of radio in range [0, radio_count-1] |
void Radio_RemoveScanPlanNet | ( | int | radio_index, |
int | plan_index, | ||
int | net_index ) |
Removes a net from a scan plan net list.
radio_index | index of radio in range [0, radio_count-1] |
plan_index | index of scan plan in range [0, plan_count-1] |
net_index | position of net to remove from scan plan net list |
int Radio_ScanActive | ( | int | radio_index | ) |
Gets whether scanner is actively scanning for a radio.
radio_index | index of radio in range [0, radio_count-1] |
int Radio_ScanEnabled | ( | int | radio_index | ) |
Gets whether scanner is enabled for a radio.
radio_index | index of radio in range [0, radio_count-1] |
float Radio_ScanHangTime | ( | int | radio_index | ) |
Gets the hang time for a scanner.
The hang time is the number of seconds that a scanner will listen
on a channel after receiving ends before returning to scanning.
radio_index | index of radio in range [0, radio_count-1] |
float Radio_ScanHoldTime | ( | int | radio_index | ) |
Gets the hold time for a scanner.
The hold time is the maximum number of seconds that a scanner will listen
on a channel before returning to scanning, even if actively receiving.
radio_index | index of radio in range [0, radio_count-1] |
int Radio_ScanNetListMax | ( | int | radio_index | ) |
Gets the maximum number of nets for a scan list in a plan.
radio_index | index of radio in range [0, radio_count-1] |
void Radio_ScanNext | ( | int | radio_index | ) |
Changes to next net in scan list (manual scanning)
The radio scanner must be enabled and nets defined in active scan plan.
radio_index | index of radio in range [0, radio_count-1] |
int Radio_ScanPlanActive | ( | int | radio_index | ) |
Gets the index of the scan plan in use for a scanner.
radio_index | index of radio in range [0, radio_count-1] |
int Radio_ScanPlanInvalidNets | ( | int | radio_index, |
int | plan_index ) |
Gets whether there are invalid nets in the scan plan.
radio_index | index of radio in range [0, radio_count-1] |
plan_index | index of scan plan in range [0, plan_count-1] |
int Radio_ScanPlanListCount | ( | int | radio_index | ) |
Gets the count of scan plans for a scanner.
radio_index | index of radio in range [0, radio_count-1] |
const char * Radio_ScanPlanNetID | ( | int | radio_index, |
int | plan_index, | ||
int | net_index ) |
Gets the unique ID of a net in a scan plan net list.
radio_index | index of radio in range [0, radio_count-1] |
plan_index | index of scan plan in range [0, plan_count-1] |
net_index | index of net in range [0, net_count-1] |
int Radio_ScanPlanNetListCount | ( | int | radio_index, |
int | plan_index ) |
Gets the count of nets in a scan plan for a scanner.
radio_index | index of radio in range [0, radio_count-1] |
plan_index | index of scan plan in range [0, plan_count-1] |
const char * Radio_ScanPlanNetName | ( | int | radio_index, |
int | plan_index, | ||
int | net_index ) |
Gets the name of a net in a scan plan net list.
radio_index | index of radio in range [0, radio_count-1] |
plan_index | index of scan plan in range [0, plan_count-1] |
net_index | index of net in range [0, net_count-1] |
const char * Radio_ScanPlanPriorityRxNetID | ( | int | radio_index, |
int | plan_index, | ||
int | rx_index ) |
Gets the unique ID of a priority receive net for a scanner.
The priority receive net is the channel that the radio will intersperse in
the scan list during active scanning between scan list nets.
radio_index | index of radio in range [0, radio_count-1] |
plan_index | index of scan plan in range [0, plan_count-1] |
rx_index | index of priority receive net in range [0, priority_rx_count-1] |
int Radio_ScanPlanPriorityRxNetListCount | ( | int | radio_index, |
int | plan_index ) |
Gets the count of priority receive nets in a scan plan for a scanner.
radio_index | index of radio in range [0, radio_count-1] |
plan_index | index of scan plan in range [0, plan_count-1] |
const char * Radio_ScanPlanPriorityRxNetName | ( | int | radio_index, |
int | plan_index, | ||
int | rx_index ) |
Gets the name of a priority receive net for a scanner.
The priority receive net is the channel that the radio will intersperse in
the scan list during active scanning between scan list nets.
radio_index | index of radio in range [0, radio_count-1] |
plan_index | index of scan plan in range [0, plan_count-1] |
rx_index | index of priority receive net in range [0, priority_rx_count-1] |
const char * Radio_ScanPlanPriorityTxNetID | ( | int | radio_index, |
int | plan_index ) |
Gets the unique ID of the priority transmit net for a scanner.
The priority transmit net is the channel that the radio will transmit on if
PTT is pressed during active scanning.
radio_index | index of radio in range [0, radio_count-1] |
plan_index | index of scan plan in range [0, plan_count-1] |
const char * Radio_ScanPlanPriorityTxNetName | ( | int | radio_index, |
int | plan_index ) |
Gets the name of the priority transmit net for a scanner.
The priority transmit net is the channel that the radio will transmit on if
PTT is pressed during active scanning.
radio_index | index of radio in range [0, radio_count-1] |
plan_index | index of scan plan in range [0, plan_count-1] |
void Radio_ScanPrev | ( | int | radio_index | ) |
Changes to previous net in scan list (manual scanning)
The radio scanner must be enabled and nets defined in active scan plan.
radio_index | index of radio in range [0, radio_count-1] |
void Radio_SetAudioLevelEnable | ( | int | radio_index, |
int | enable ) |
Enables or disables audio level calculation for a radio.
radio_index | index of radio in range [0, radio_count-1] |
enable | 1 for enable, 0 for disable |
void Radio_SetBalance | ( | int | radio_index, |
int | balance ) |
Sets the audio balance for a radio (primary playback device)
Audio balance can be left, right or center.
radio_index | index of radio in range [0, radio_count-1] |
balance | value of type Balance_t |
void Radio_SetBalanceDevice | ( | int | radio_index, |
int | balance, | ||
int | device ) |
Sets the audio balance for a radio for specified playback device.
Audio balance can be left, right or center.
radio_index | index of radio in range [0, radio_count-1] |
balance | value of type Balance_t |
device | playback device number |
void Radio_SetCryptoEnable | ( | int | radio_index, |
int | enable ) |
Sets the crypto enable state for a radio.
Enables or disables cipher text transmission for a radio.
radio_index | index of radio in range [0, radio_count-1] |
enable | 1 for enable, 0 for disable |
void Radio_SetNet | ( | int | radio_index, |
int | net_index ) |
Sets the net for a radio by index.
radio_index | index of radio in range [0, radio_count-1] |
net_index | index of net in range [0, net_count-1], or negative value to power off radio |
void Radio_SetNetCrypto | ( | int | radio_index, |
const char * | net_id, | ||
int | system, | ||
int | key ) |
Override the crypto settings for a net assigned to a particular radio.
radio_index | index of radio in range [0, radio_count-1] |
net_id | 32-character unique identifier for net |
system | Crypto system |
key | Crypto key |
void Radio_SetNetFreqHopParams | ( | int | radio_index, |
const char * | net_id, | ||
int | fh_netid, | ||
int | fh_wod, | ||
int | fh_lckt, | ||
int | fh_tod, | ||
int | fh_tsec ) |
Override the frequency hop settings for a net assigned to a particular radio.
radio_index | index of radio in range [0, radio_count-1] |
net_id | 32-character unique identifier for net |
fh_netid | Net ID |
fh_wod | Word of Day |
fh_lckt | Lockout Set ID |
fh_tod | Time of Day |
fh_tsec | Transec Key |
void Radio_SetNetID | ( | int | radio_index, |
const char * | net_id ) |
Sets the net for a radio by unique ID.
radio_index | index of radio in range [0, radio_count-1] |
net_id | 32-character unique identifier for net, or empty string to power off radio |
void Radio_SetNetRxFrequency | ( | int | radio_index, |
const char * | net_id, | ||
unsigned long long | freq ) |
Override the receive frequency for a net assigned to a particular radio.
radio_index | index of radio in range [0, radio_count-1] |
net_id | 32-character unique identifier for net |
freq | receive frequency (in Hz) |
void Radio_SetNetTxFrequency | ( | int | radio_index, |
const char * | net_id, | ||
unsigned long long | freq ) |
Override the transmit frequency for a net assigned to a particular radio.
radio_index | index of radio in range [0, radio_count-1] |
net_id | 32-character unique identifier for net |
freq | transmit frequency (in Hz) |
void Radio_SetNetWaveform | ( | int | radio_index, |
const char * | net_id, | ||
const char * | mode ) |
Sets the waveform of the radio's net.
radio_index | index of radio in range [0, radio_count-1] |
net_id | 32-character unique identifier for net |
mode | mode of the waveform to set |
void Radio_SetPlaysound | ( | int | radio_index, |
const char * | playsound_id ) |
Enables or disables background playsound mixed into mic audio for this radio.
radio_index | index of radio in range [0, radio_count-1] |
playsound_id | 32-character unique ID of playsound to enable, or empty string to disable |
void Radio_SetPTT | ( | int | radio_index, |
int | ptt_index ) |
Sets the PTT to use for a radio.
Each radio is assigned a PTT that should activate it when pressed.
Use this function to override the default PTT as specified in the Role.
radio_index | index of radio in range [0, radio_count-1] |
ptt_index | which PTT to use |
void Radio_SetRadioEffects | ( | int | radio_index, |
const char * | effects_id ) |
Sets the radio effects for a radio.
radio_index | index of radio in range [0, radio_count-1] |
effects_id | radio effects id to set, empty string to unset |
void Radio_SetReceiveEnabled | ( | int | radio_index, |
int | enable ) |
Sets the receive enable for a radio.
Enables or disables receiving of audio for the given radio.
radio_index | index of radio in range [0, radio_count-1] |
enable | 1 for enable, 0 for disable |
void Radio_SetScanEnable | ( | int | radio_index, |
int | enable ) |
Enables or disables a radio scanner.
The radio scanner must be enabled to perform scanning functions.
radio_index | index of radio in range [0, radio_count-1] |
enable | 1 to enable, 0 to disable |
void Radio_SetScanHangTime | ( | int | radio_index, |
float | seconds ) |
Sets the hang time for a scanner.
The hang time is the number of seconds that a scanner will listen
on a channel after receiving ends before returning to scanning.
radio_index | index of radio in range [0, radio_count-1] |
seconds | number of seconds (minimum value is 1 second) |
void Radio_SetScanHoldTime | ( | int | radio_index, |
float | seconds ) |
Sets the hold time for a scanner.
The hold time is the maximum number of seconds that a scanner will listen
on a channel before returning to scanning, even if actively receiving.
radio_index | index of radio in range [0, radio_count-1] |
seconds | number of seconds (0 to disable) |
void Radio_SetScanPlanActive | ( | int | radio_index, |
int | plan_index ) |
Sets the active scan plan for a scanner.
radio_index | index of radio in range [0, radio_count-1] |
plan_index | index of scan plan in range [0, plan_count-1] |
void Radio_SetScanPlanPriorityRx | ( | int | radio_index, |
int | plan_index, | ||
int | rx_index, | ||
const char * | net_id ) |
Sets a priority receive net for a scanner.
The priority receive net is the channel that the radio will intersperse in
the scan list during active scanning between scan list nets.
radio_index | index of radio in range [0, radio_count-1] |
plan_index | index of scan plan in range [0, plan_count-1] |
rx_index | index of priority receive net in range [0, priority_rx_count-1] |
net_id | unique ID of a net |
void Radio_SetScanPlanPriorityTx | ( | int | radio_index, |
int | plan_index, | ||
const char * | net_id ) |
Sets the priority transmit net for a scanner.
The priority transmit net is the channel that the radio will transmit on if
PTT is pressed during active scanning.
radio_index | index of radio in range [0, radio_count-1] |
plan_index | index of scan plan in range [0, plan_count-1] |
net_id | unique ID of a net |
void Radio_SetSquelchLevel | ( | int | radio_index, |
float | squelch_level ) |
Sets the squelch level for a radio.
radio_index | index of radio in range [0, radio_count-1] |
squelch_level | value in range [0.0, 1.0] |
void Radio_SetTransmitEnabled | ( | int | radio_index, |
int | enable ) |
Sets the transmit enable for a radio.
Enables or disables transmission of audio on the selected radio.
radio_index | index of radio in range [0, radio_count-1] |
enable | 1 for enable, 0 for disable |
void Radio_SetVolume | ( | int | radio_index, |
float | volume ) |
Sets the receive volume for a radio.
radio_index | index of radio in range [0, radio_count-1] |
volume | value in range [0.0, 100.0] |
void Radio_SetVolumeStereo | ( | int | radio_index, |
float | volume_left, | ||
float | volume_right ) |
Sets the stereo receive volumes for a radio.
radio_index | index of radio in range [0, radio_count-1] |
volume_left | value in range [0.0, 100.0] |
volume_right | value in range [0.0, 100.0] |
int Radio_Simulcast | ( | int | radio_index | ) |
Gets whether the radio is part of the simulcast group.
radio_index | index of radio in range [0, radio_count-1] |
float Radio_SquelchLevel | ( | int | radio_index | ) |
Gets the squelch level of the radio.
The squelch level determines the sound threshold required before a radio is marked as receiving.
radio_index | index of radio in range [0, radio_count-1] |
void Radio_StartScan | ( | int | radio_index | ) |
Starts scanning.
The radio scanner must be enabled.
radio_index | index of radio in range [0, radio_count-1] |
void Radio_StopScan | ( | int | radio_index | ) |
Stops scanning and return to manual scanning mode.
The radio scanner must be enabled.
radio_index | index of radio in range [0, radio_count-1] |
const char * Radio_Type | ( | int | radio_index | ) |
Gets the type of radio (e.g. URC-200)
Used when displaying a radio that is meant to simulate a specific hardware radio.
radio_index | index of radio in range [0, radio_count-1] |
int Radio_Version | ( | ) |
Gets the version count for radio updates.
This counter increments when any radio information is updated.
float Radio_Volume | ( | int | radio_index | ) |
Gets the receive volume for a radio.
radio_index | index of radio in range [0, radio_count-1] |
float Radio_VolumeStereoLeft | ( | int | radio_index | ) |
Gets the stereo (left ear) receive volume for a radio.
radio_index | index of radio in range [0, radio_count-1] |
float Radio_VolumeStereoRight | ( | int | radio_index | ) |
Gets the stereo (right ear) receive volume for a radio.
radio_index | index of radio in range [0, radio_count-1] |
const char * RadioEffects_IDFirst | ( | ) |
Get the first radio effect in set of radio effects.
const char * RadioEffects_IDNext | ( | ) |
Get the next radio effect in set of radio effects.
int RadioEffects_ListCount | ( | ) |
Get the number of radio effects.
const char * RadioEffects_Name | ( | const char * | radio_effects_id | ) |
Get the name of a radio effect.
radio_effects_id | 32-character unique ID of radio effect |
int RadioEffects_Version | ( | ) |
Gets the version count for radio effects updates.
This counter increments when any radio effects information is updated.
void Replay_Create | ( | unsigned int | milliseconds | ) |
Create new replay and seek to offset.
milliseconds | Offset in replay to seek to after creation (value must be positive) in milliseconds |
int Replay_Length | ( | void | ) |
Get the length of the replay in milliseconds.
int Replay_Offset | ( | void | ) |
Get the offset from end of the replay in milliseconds.
void Replay_Pause | ( | void | ) |
Pause a playing replay.
int Replay_Replaying | ( | void | ) |
Get whether replay is currently replaying.
void Replay_Resume | ( | void | ) |
Continue a paused replay.
void Replay_Seek | ( | unsigned int | milliseconds | ) |
Change to new offset in replay.
milliseconds | Offset in replay to seek to (value must be positive) in milliseconds |
void Rmtx_AutotuneJammer | ( | const char * | uuid, |
int | j_index ) |
void Rmtx_AutotuneRadio | ( | const char * | uuid, |
int | r_index ) |
const char * Rmtx_GetField | ( | const char * | uuid, |
const char * | field_name ) |
const char * Rmtx_IDFirst | ( | ) |
const char * Rmtx_IDNext | ( | ) |
int Rmtx_ListCount | ( | ) |
void Rmtx_Radiomon | ( | int | status | ) |
int Rmtx_Version | ( | ) |
int Role_AutotuneEnabled | ( | const char * | role_id | ) |
Gets whether autotune ability is enabled for a role.
int Role_CallAutoAnswerEnabled | ( | const char * | role_id | ) |
Gets whether auto-answer calls feature is enabled.
If enabled, client will automatically answer point-to-point calls
role_id | 32-character unique identifier for Role |
int Role_CallingEnabled | ( | const char * | role_id | ) |
Gets whether calling is enabled for a role.
role_id | 32-character unique identifier for Role |
int Role_CallPTTEnabled | ( | const char * | role_id | ) |
Gets whether PTT is required to transmit audio on a call.
If enabled, audio will only be sent to ongoing call when PTT is
pressed.
If disabled, call audio will be automatically transmitted when on a
call. Pressing PTT in this mode will direct mic audio from ongoing
call to radio transmission.
role_id | 32-character unique identifier for Role |
int Role_ChannelDisplayMap | ( | const char * | role_id, |
int | index ) |
Get the channel index to display at a given offset.
role_id | 32-character unique identifier for Role |
index | offset in display array |
int Role_ChatEnabled | ( | const char * | role_id | ) |
Gets whether chat is enabled for a role.
role_id | 32-character unique identifier for Role |
const char * Role_Id | ( | int | list_index | ) |
Gets the unique ID of a specified Role.
list_index | index of role in list |
const char * Role_IdActive | ( | ) |
Gets the unique ID of the current Role.
This value updates only after a successful connection is made.
const char * Role_IdSet | ( | ) |
Gets the unique ID of the last-set Role.
This value updates immediately.
int Role_ListCount | ( | ) |
Gets the total number of Roles available to the client.
const char * Role_Name | ( | int | list_index | ) |
Gets the name of a specified Role.
list_index | index of role in list |
const char * Role_NameActive | ( | ) |
Gets the name of the current Role.
This value updates only after a successful connection is made.
const char * Role_NameSet | ( | ) |
Gets the name of the last-set Role.
This value updates immediately.
int Role_RadCtrlEnabled | ( | const char * | role_id | ) |
Gets whether live radio control ability is enabled for a role.
void Role_SetRole | ( | const char * | role_id | ) |
Sets a new Role to connect with.
Sends a request to connect to a new role with the specified unique ID. When the connection is complete, the value returned by Role_IdActive will match the role_id parameter.
role_id | 32-character unique identifier for Role |
int Role_Version | ( | ) |
Gets the version count of Role updates.
This counter increments when role information is updated.
void Test_SetTestMode | ( | int | mode, |
int | value ) |
Sets the test mode.
mode | mode of type TestMode_t |
value | integer value used by the test |
const char * Voisus_ClientBuildVersion | ( | ) |
Gets the build version of the Voisus client.
const char * Voisus_ClientMsgDate | ( | ) |
Gets the timestamp of the Voisus client message protocol.
const char * Voisus_ClientMsgVersion | ( | ) |
Gets the version of the Voisus client message protocol.
void Voisus_ConnectCloud | ( | const char * | cloud_id | ) |
Connects to a Voisus Cloud.
Initiates Voisus Client connection to specified server cloud.
cloud_id | Unique name of the cloud |
void Voisus_ConnectServer | ( | const char * | target_ip | ) |
Connects to a Voisus Server.
Initiates Voisus Client connection to specified server.
target_ip | IPv4 address of the server |
void Voisus_ConnectSolo | ( | ) |
Connects to Voisus Solo.
Initiates a connection to the running Voisus Solo.
void Voisus_Disconnect | ( | ) |
Disconnects from a Voisus Server.
Disconnects Voisus client from the current connection
int Voisus_Error | ( | ) |
Gets current Voisus error state.
const char * Voisus_LogPath | ( | ) |
Gets the path to the Voisus client log file.
This function is useful for displaying the log in a user application.
void Voisus_MonitorPowerEvents | ( | int | hwnd | ) |
Monitors for system power events (on Windows XP/Vista/7/8)
On system suspend/sleep, the client will exit cleanly.
hwnd | A valid window handle (HWND) used by the GUI |
void Voisus_Save | ( | ) |
Saves current client configuration to file.
Writes the current settings to a file.
Values will be automatically written after some operations, therefore this function is optional. The last saved settings are automatically loaded when the Voisus Client process starts.
const char * Voisus_ServerBuildVersion | ( | ) |
Gets the build version of the Voisus server.
float Voisus_ServerMasterVolume | ( | ) |
Gets the master volume on the server.
This volume affects software clients as well as hardware devices
like ACU2 or AI-S when paired with a client.
volume | value in range [0.0, 100.0] |
const char * Voisus_ServerMsgDate | ( | ) |
Gets the timestamp of the Voisus server message protocol.
const char * Voisus_ServerMsgVersion | ( | ) |
Gets the version of the Voisus server message protocol.
float Voisus_ServerSidetoneVolume | ( | ) |
Gets the sidetone volume on the server.
This volume only applies to hardware devices like ACU2 or AI-S
when paired with a client.
volume | value in range [0.0, 100.0] |
const char * Voisus_SessionId | ( | ) |
Gets the session id for the current running scenario.
int Voisus_SessionId_Version | ( | ) |
Gets the version count of Session ID updates.
This counter increments when session id information is updated.
void Voisus_SetServerMasterVolume | ( | float | volume | ) |
Sets the master volume on the server.
This volume affects software clients as well as hardware devices
like ACU2 or AI-S.
volume | value in range [0.0, 100.0] |
void Voisus_SetServerSidetoneVolume | ( | float | volume | ) |
Sets the sidetone volume on the server.
This volume only applies to hardware devices like ACU2 or AI-S.
volume | value in range [0.0, 100.0] |
int Voisus_SoloInstalled | ( | ) |
Gets whether Voisus Solo is installed.
int VRCC_GetNamedLock | ( | const char * | name | ) |
Attempts to acquire a named lock.
The request to acquire the lock is non-blocking and returns immediately
name | Name of the lock to obtain |
void VRCC_Shutdown | ( | ) |
Shuts down the VRC messaging client.
This function should be called before exiting the program.
int VRCC_Start | ( | int | argc, |
char * | argv[] ) |
Starts the VRC messaging client.
This function must be called before any other VRCC API calls can be made.
argc | Count of arguments passed to main Voisus client process |
argv | NULL-terminated list of arguments |
int VRCC_Update | ( | void | ) |
Update the internal state of the VRC Client.
This function must be called in order to receive any updates to the
state of the VRC Client. Typically this will be called in the main
execution loop before accessing any other API calls.
void WorldPosition_Get | ( | double * | xcoord, |
double * | ycoord, | ||
double * | zcoord ) |
Get the world position for a Voisus operator.
xcoord | address to store X coordinate |
ycoord | address to store Y coordinate |
zcoord | address to store Z coordinate |
void WorldPosition_Set | ( | float | xcoord, |
float | ycoord, | ||
float | zcoord ) |
Sets the world position for a Voisus operator.
The world position is specified in geocentric x, y, z coordinates. Coordinates are used to position a player in the three-dimensional audio space for interaction with the Earshot audio environment.
xcoord | X coordinate |
ycoord | Y coordinate |
zcoord | Z coordinate |