Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

Settings

Within the Settings pane of the Simulator GUI, the Simulator provides access to Legacy, Serial Port, Network, and USB MS Settings. The Simulator settings are saved in Brewsim.dat, which is accessed upon Simulator restart. Any changes made to the settings are immediately effective.

The settings are accessed from the toolbar of the Simulator GUI by selecting Tools > Settings.

Legacy settings

The Legacy window includes options to activate heap validation, and specify default DNS servers.

  1. MIF settings are not currently supported in Simulator, and may cause the Simulator to stop functioning properly.
  2. Selecting heap validation may introduce a delay if your applications reserve significant amounts of memory for data created at runtime.
  3. To specify primary and secondary DNS servers to be used by the Simulator, select the Specify DNS Servers check box and enter the primary and secondary DNS server's IP addresses. If Specify DNS server is not selected, the Simulator uses the host PC's DNS server.
  4. Once you have adjusted your settings, click Apply.

Serial Port

The serial port settings menu allows you to specify settings for use with a serial port.

Network

Network speed simulation is used in the Simulator to allow you to test how your applications behave using a variety of network types and under different network conditions and speeds.

  1. The Network Type drop-down list offers options for types of networks to simulate.
  2. The Traffic Up Delay and Traffic Down Delay fields control the amount of time (in milliseconds) an application displays while dialing and hanging up.
  3. The PPP Up Delay and PPP Down Delay fields control the delay (in milliseconds) of an application while setting up and shutting down the PPP traffic channels.
  4. The Transmit Speed and Receive Speed slide bars indicate the transmission and reception speeds (in bits per second) of data.
  5. The Received Signal Strength Indication slide bar indicates the RSSI level. Changing this sends the following two events to listening applications: AEE_EVENT_SS_SRV_CHANGED to indicate that the service has changed. and AEET_EVENT_SS_RSSI with the RSSI level set to the level selected on the slider. Selecting the No Signal check box disables the slider and sends the following two events to listening applications: AEET_EVENT_SS_SRV_CHANGED to indicate that the service has changed, and AEET_EVENT_SS_RSSI with the RSSI level set to 125 dBm (interpreted as -125 dBm).

    Note: To have an application get the RSSI level upon receiving the events described above, use the ITELEPHONE_GetServingSystemInfo API. For more information refer to the C/C++ API Reference.

  6. The Airplane Mode check box turns off simulation of the RF receiver and transmitter. This also means that no network connectivity is available and that the AirplaneMode member of TAPIStatus structure is set to TRUE.
  7. Selecting the Use 1xEV-DO(HDR) For Data check box simulates in HDR (or 1xEV-DO), and causes the bHDRMode member of TAPIStatus to be set to TRUE.
  8. When you finish setting the network speed parameters, click Apply.

USB MS Settings

This setting is used to specify a valid USB mass storage directory.

To designate the USB mass storage directory, click the browse button, navigate to the directory, and click Apply.

Battery settings

Battery settings can be accessed from the Simulator GUI by selecting Tools > Battery Settings.

The Battery Settings dialog displays:

Simulator Log

The Simulator Log Settings can be accessed from the Simulator toolbar by selecting View > Log Window.

The Output dialog opens.

Battery settings

Battery settings can be accessed from the Simulator GUI by selecting Tools > Battery Settings.

The Battery Settings dialog displays:

Simulator Log

The Simulator Log Settings can be accessed from the Simulator toolbar by selecting View > Log Window.

The Output dialog opens.