You use the DNSSPServer.exe.config file to modify settings for the smartphone server.
TheDNSSPServer.exe.config file is an XML-based configuration file that the Dragon Nat-urallySpeaking installation process places in the same folder as the smartphone server .exe file (dnsspserver.exe).:
On Windows Vista and Windows 7, the dnsspserver.exe.config file is in the following direc-tory:
C:\Program Files\Nuance\NaturallySpeaking12\Program
Use caution if you modify the configuration settings for the smartphone server since incorrect set-tings can have unforeseen side effects.
Serious problems may occur if you modify the configuration file incorrectly. Nuance cannot guar-antee that these problems can be resolved and you may need to reinstall the software. Modify the configuration file at your own risk.
Set message logging
In the DNSSPServer.exe.config file, in the <switches> section, set the value parameter for the Serv-iceDebugLevel option to one of the following values:
Message type Value
No tracing "Off"
Fatal error or application crash "Critical"
Recoverable error "Error"
Each time the smartphone server starts, the server creates a tracing / error log file (spserver.log) in the current Windows user’s TEMP directory. You can view this file when trouble shooting prob-lems with the smartphone server.
You can also view logging information in real-time by performing the following steps:
1. Stop Dragon NaturallySpeaking (or the dnsspserver.exe process)
2. Run the smartphone server manually in debug mode: In a command prompt, navigate to the directory that stores the dnsspserver.exe file. Type “dnsspserver /debug".
3. Restart Dragon NaturallySpeaking 12.
30
Chapter 1: Introduction to Dragon 12
Set the logging of network statistics
You can enable the gathering and logging of network statistics data. The data is placed in the SpServer.log and the Dragon.log.
In the DNSSPServer.exe.config file, in the <appSettings> section, set the value parameter for the DNSNetMonitoring option to one of the following values:
Audio support type Value
Enable the logging of network statistics "True"
Disable the logging of network statistics "False"
For example:
<add key="DNSNetMonitoring" value="true"/>
Set the time interval of network statistic reports
You can set the time period, in seconds, during which the system gathers network statistics.
When the time period expires, the system prints the statistics to the SpServer.log and the Drag-on.log. log files.
For example:
<add key="DNSNetMonitorStatisticsWindow" value ="60"/>
Example log entry:
Info: NetStats: [Interval=60s, 44058Bps, Total=43854Bps]
Log entry explanation:
Over a 60 second time interval, an average of 44058 bytes per second was received, and an aver-age of 43854 bytes per second is being received for the session to date. (44100Bps is considered nominal for 22050Hz audio).
Set the time interval for logging audio not received
You can set the maximum time that elapses before the system logs no audio received. The system logs the message when the timeout elapses (SeeSet the time interval for network statistic
reports).
For example:
<add key="DNSNetMonitorMaxPacketGap" value="5"/>
Audio not received log entries
Dragon 12 Administrator Guide
Log type Example Explanation
elapsed without receiving audio and the max-imum value specified by this parameter. In this example, 90 seconds passed without receiving audio data.
Session ends NetStats: Info:
[Ses-sion=92s, Total=44128Bps]
When a session ends (the dictation micro-phone is turned off), the system logs a mes-sage about the session length and the average transfer rate. In this example, the session length was 92 seconds and the aver-age transfer rate was 44128Bps.
Set the audio sources that Dragon NaturallySpeaking allows
In the DNSSPServer.exe.config file, in the <appSettings> section, set the value parameter for the DNSAllowAnyAudioSource option to one of the following values:
Audio support type Value
[Default] Allow only smartphone audio sources "false"
Allow ANY DNS audio source "true"
For example:
<add key="DNSAllowAnyAudioSource" value="false" />
Set encryption of audio data sent between the phone and the server In the DNSSPServer.exe.config file, in the <appSettings> section, set the value parameter for the AudioDataEncryption option to one of the following values:
n "none" = [Default] Do not encrypt audio data
Set the default sample rate for Dragon NaturallySpeaking
In the DNSSPServer.exe.config file, in the <appSettings> section, set the value parameter for the SampleRate option to one of the following values (in Hz):
n "11025"
n "22050"
For example:
<add key="SampleRate" value="22050" />
Set the domain name for the Bonjour Domain Name Service
In the DNSSPServer.exe.config file, in the <appSettings> section, set the value parameter for the BonjourDomainName option to the domain name for the service. An empty string represents the default domain.
For Example:
<add key="BonjourDomainName" value=""/>
32
Chapter 1: Introduction to Dragon 12
You can set the BonjourDomainName option to a valid domain name for your network provided your computer has a real IP Address and is not using one of the private 10. 192., or 168. NAT addresses.
Set the timeout interval for the smartphone and server connection In the DNSSPServer.exe.config file, in the <appSettings> section, set the value parameter for the SPServiceSessionTimeout option to the number of seconds of inactivity that occurs before the connection between the smartphone and the smartphone server is released and made available to other smartphones.
For example:
<add key="SPServiceSessionTimeout" value="120"/>
Set the address port that the smartphone web listener uses
In the DNSSPServer.exe.config file, in the <appSettings> section, set the value parameter for the SPServiceWebListenerPort option to a port address within the 1025-65535 range.
For example:
<add key="SPServiceWebListenerPort" value="51001" />
Note: The default value for SPServiceWebListenerPort is 51001.
Set the maximum number of bytes per message that the smartphone web listener can receive
In the DNSSPServer.exe.config file, in the <appSettings> section, set the value parameter for the SPServiceMaxReceivedMessageSize option to the maximum number of bytes that a message can contain for it to be accepted by the smartphone web listener.
For example:
<add key="SPServiceMaxReceivedMessageSize" value="131072" />
Dragon 12 Administrator Guide