Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 7 of 13

TREQ-M4 Mobile Data Terminal Manual: Chapter 4. System Settings, pages 36 to 44

Pages 36 to 44 of 98, from TREQ-M4 Mobile Data Terminal Manual

The original document is the PDF (2.4 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the QSI Corp TREQ-M4, Beijer TREQ-M4 and Micronet TREQ-M4

Page 36

Control Panel

System Settings

FAT32 Quick Format is recommended for reformatting operations on the internal storage. Sometimes a full format may be desired, but allow several minutes for completion. Note that the eXFAT format option is selected by default; FAT32 must be manually selected from the drop-down box. WARNING

☞

Use caution when formatting the internal flash device! The result will be a complete loss of user data, user applications, and main operating system package. A recovery procedure will be required to restore the TREQ-M4 to a usable state. Refer to section 10.2, “System Backup and Recovery” for more information.

NOTE

☞

Beijer Electronics recommends that the partition configuration be left intact for storage devices. Do not remove partitions or create new partitions as this may cause data on the devices to be irretrievable.

4.1.8 Bluetooth Manager If the TREQ-M4 is configured with the Bluetooth option, the Bluetooth Manager applet is a simple utility that can be used to scan for other Bluetooth devices. Figure 18 shows the results of a scan that includes several services from the same cell phone.

Figure 18 Bluetooth Manager To pair Bluetooth devices, select a device in the “Untrusted” box, and click [-->] to move it to the “Trusted” box. The pairing process is mutual; the other Bluetooth devices must consider the TREQ-M4 a trusted device to complete the pairing. Tap [OK] to save any changes and exit. Tap [X] to exit the dialog box without saving. Refer to section 7.5, “Bluetooth” for more information on managing TREQ-M4 Bluetooth device connections.

26

TREQ-M4 Mobile Data Terminal

Page 37

System Settings

TREQ Panel

4.2 TREQ Panel The TREQ panel provides quick access to all of the TREQ-M4 hardware controls, including those for the display and keypad backlight, touch screen, speaker, keypad, and power saving/screen saver modes. To open the TREQ Panel (see Figure 19, “TREQ Panel”), tap the desktop shortcut.

Figure 19 TREQ Panel Tap [OK] to save any changes and exit. Tap [X] to exit the dialog box without saving.

4.2.1

Keypad The Enable Character Repeat, Repeat, and Delay controls are identical to those found in the Keyboard Control Panel applet. Refer to section 4.1.3, “Keyboard” for more information on these controls. The keypad keys may be optionally mapped to mouse/cursor functions as described in ssection 3.3, “Function Keys” and section 6.3.1, “Keypad”. The Cursor Acceleration control affects the mouse pointer acceleration when it is controlled from a keypad key that is mapped for that function. Tap and hold the slider to increase or decrease the acceleration. Increased acceleration reduces the time required for the cursor to traverse a distance as the keypad key is held, but also reduces the cursor accuracy.

4.2.2

Backlight Intensity Use the Backlight controls to adjust the intensity of the display and keypad backlight. Tap and hold the slider and slide it up or down the slider bar to set the intensity from 0 to 100%.

TREQ-M4 Mobile Data Terminal

27

Page 38

Registry

4.2.3

System Settings

Audio Tap and hold the slider to increase or decrease the speaker volume. Use this control for more precision for the volume setting than the Volume and Sounds Control Panel applet provides.

4.2.4 Touch Screen Tap the Touch Screen Calibration button to initiate the calibration procedure. Refer to section 4.1.1.2, “Recalibrate” for more details.

4.2.5

Power States The power saving controls affect the transition times from full on to User Idle and System Idle power states when the TREQ-M4 is not in use. In User Idle mode, the display and keypad backlight intensities are dimmed to a low level. In System Idle mode, they are disabled. Touch screen or USB keyboard/mouse activity will cause the TREQ-M4 to transition out of an idle state. Refer to section 6.3.4, “Power” for more details about the TREQ-M4 power states. Tap the drop-down arrow for the User Idle or System Idle settings to select the number of seconds or minutes after which the TREQ-M4 will enter the selected power mode. The User Idle and System Idle time-outs can be adjusted to a continuous range of time values by typing a number in the drop-down box or via a programmatic interface (refer to section 6.3.4, “Power”). Disable the transition to User Idle or System Idle power states by removing the checkmark from the “User Idle mode after” or “System Idle mode after” check boxes, respectively. You can also type 0 in either drop-down box to disable the transition. Disabling the User Idle mode transition automatically disables the System Idle transition, regardless of the System Idle time-out or check box. Set the User Idle mode transition time-out to one second to skip the User Idle and transition directly to System Idle.

4.3 Registry Windows CE uses a registry to store system settings and run-time configuration data. The TREQ-M4 supports a hive-based registry, meaning that the settings in the registry are maintained between power cycles. The hive registry is stored in special system files on the internal flash hard-disk. The memory resident registry is periodically (every few seconds) written to the hive files. You can modify the registry in several ways.

• Windows CE provides an API (RegOpenKeyEx or RegQueryValueEx) and a C++ wrapper class (CReg via creg.hxx provided in the TREQ-M4 SDK) for use in applications as a programmatic interface.

• You can run the RegEditCE.exe registry editing application on the TREQ-M4.

28

TREQ-M4 Mobile Data Terminal

Page 39

System Settings

File System Filter

• Microsoft Visual Studio 2008 and Microsoft Visual Studio 2005 each come with a suite of remote debugging tools, including remote registry editors. Refer to Chapter 6, “Application Development” for information on setting up a host PC to use these tools.

4.4 File System Filter Certain system files included on the internal flash hard-disk are critical to the functioning of the TREQ-M4 terminal. In order to reduce the possibility of accidental deletion or corruption, Beijer Electronics has developed and installed a file system filter, which is a special device driver that prevents write access to a list of files specified in a registry key. The default contents of this registry key are as follows: [HKEY_LOCAL_MACHINE\System\StorageManager\LockFiles] "Lock"=dword:00000001 "Files"=multi_sz:"\\HardDisk\\nk.bin", "\\HardDisk\\bin\\boot.bat", "\\HardDisk\\bin\\ftdi_ser.dll", "\\HardDisk\\system.mfs", "\\HardDisk\\MFS" The file system filter can be enabled or disabled by setting or clearing, respectively, the “Lock” registry value. The “Files” multi-string registry value contains the list of locked files and directories. Directories in the list are locked along with all sub-files and subdirectories. One example of the reason for the file system filter is that if the \HardDisk\nk.bin file - the Windows CE operating system image - is corrupted or deleted, the TREQ-M4 will not boot or will boot to a recovery image. This filter protects against inadvertent delete operations. NOTE

☞

The TREQ-M4 has been provided with a boot recovery image. When booted to the recovery image, you can restore the nk.bin file or other lost files (refer to section 10.2, “System Backup and Recovery” for more details on emergency recovery). One example of the reason for this filter is the \HardDisk\nk.bin file, which is the Windows CE operating system image. If this file is corrupted or deleted, the TREQ-M4 will not boot or will boot a recovery image. When booted to the recovery image, you can restore the nk.bin file or other lost files (refer to section 10.2, “System Backup and Recovery” for more details on emergency recovery). The \HardDisk\bin\LockCE.exe program can be used from a command prompt shell to lock or unlock the files/directories in the list. LockCE 0 unlocks; LockCE 1 locks.

TREQ-M4 Mobile Data Terminal

29

Page 40

System Path

System Settings

4.5 System Path The default Windows CE system path on the TREQ-M4 is \Windows;\HardDisk\bin;\HardDisk\fonts. Windows will search the \Windows directory first, then the \HardDisk\bin directory for executables and supporting dynamically-linked libraries. For example, when explorer.exe is executed from the root directory in the command shell, Windows will find \Windows\explorer.exe. The system path can be modified via a registry setting. Following is an example of the registry key in which two directories have been added to the default path. [HKEY_LOCAL_MACHINE\Loader] "SystemPath"=multi_sz:"\\HardDisk\\bin\\", "\\HardDisk\\fonts\\" "\\HardDisk\\Programs\\" "\\Temp\\"

4.6 Boot-up Configuration There are two methods of configuring the TREQ-M4 to automatically launch applications or scripts at boot time. The first method of auto-launching applications is managed by a program called BootUpCE.exe that is launched when Windows CE boots. BootUpCE initiates touch screen calibration (if necessary), then launches a command shell and executes a batch file: \HardDisk\bin\boot.bat. This batch file can be used to launch an application or run a custom boot-up script. For example, to launch WinVerCE after boot, boot.bat should look something like the following: @echo Launching WinVerCE start \HardDisk\bin\WinVerCE.exe Because \HardDisk\bin\boot.bat is on the locked files list (refer to section 4.4, “File System Filter”), it must be unlocked before writing a modified version. The second and more advanced method of configuring Windows CE to launch one or more applications in a specific order uses the [HKEY_LOCAL_MACHINE\Init] registry key. The following MSDN articles describe this method in detail. http://msdn.microsoft.com/en-us/library/aa913970.aspx http://msdn.microsoft.com/en-us/library/aa448482.aspx

30

TREQ-M4 Mobile Data Terminal

Page 41

System Settings

Applications

For reference, HKEY_LOCAL_MACHINE\init contains the following default value on the TREQ-M4: [HKEY_LOCAL_MACHINE\init] "Launch20"="device.dll" "Launch30"="gwes.dll" "Depend30"=hex:14,00 "Launch50"="explorer.exe" "Depend50"=hex:14,00,1e,00 "Launch60"="servicesStart.exe" "Depend60"=hex:14,00 "Launch70"="bootupCE.exe" "Depend70"=hex:14,00,1e,00,32,00 As the above registry values illustrate, the Windows CE graphical shell is launched as part of this boot-up procedure (explorer.exe). The “Launch50” registry value can be modified to point to an alternate program in order to launch a custom shell or to run a program without a shell.

4.7 Applications 4.7.1

Microsoft Microsoft applications that come with the TREQ-M4 include, but are not limited to, the following: Application

Description

Path

Windows Explorer

Standard graphical shell

\Windows\explorer.exe

Command Prompt

Command-line shell

\Windows\cmd.exe

Media Player1

Video and audio decoder/player

\Windows\ceplayer.exe

Internet Explorer1

Web browser

\Windows\iesample.exe

ActiveSync

Host PC synchronization and communi\Windwos\repllog.exe cation server

Control Panel

Device configuration utilities

\Windows\ctlpnl.exe

Windows CE Load

CAB file installer

\Windows\wceload.exe

1.Inc luded in p ro fessio nal lic ense W indo w s Em bedded C E versio ns o nly .

TREQ-M4 Mobile Data Terminal

31

Page 42

Applications

4.7.2

System Settings

Beijer Electronics Applications written and provided by Beijer Electronics include the following:

Application

Description

Path

CleanHiveCE

Causes the persistent registry to revert to factory defaults. Reboot TREQ-M4 after executing.

\HardDisk\bin\CleanHiveCE.exe

KeyShiftCE

Toggles the “shifted” state of the keypad (refer to section 6.3.1, “Keypad” on page 49)

\HardDisk\bin\KeyShiftCE.exe

LockCE

Locks/unlocks protected files (refer to section 4.4, “File System Filter”). Single command line parameter either 0 (unlock) or 1 (lock).

\HardDisk\bin\LockCE.exe

MinTermCE

Serial port console and test program.

\HardDisk\bin\MinTermCE.exe

PolygonsCE

Display test program.

\HardDisk\bin\PolygonsCE.exe

QeditCE

Small, simple graphical editor

\HardDisk\bin\QeditCE.exe

RegEditCE

Local registry editor tool (similar to Remote Registry Editor).

\HardDisk\bin\RegEditCE.exe

SleepCE

Causes a delay of N milliseconds for the calling batch file where the number N is passed to the program as a command line parameter.

\HardDisk\bin\SleepCE.exe

TREQ Demo

Application written to demonstrate TREQ-M4 functionality and features. Source code provided for this application upon request to demonstrate application development for the TREQ-M4, including custom device driver interfaces.

\HardDisk\demo\M4Demo.exe

TREQMPanelCE

Refer to section 4.2, “TREQ Panel.”

\HardDisk\bin\TREQMPanelCE.exe

WinVerCE

Displays the current version of the Windows CE kernel, firmware, and release date.

\HardDisk\bin\WinVerCE.exe

WaitForAPIsCE [WinCE API enum value or values]

32

Causes the calling process to delay execution until the specified Windows CE application programming interfaces are ready, \HardDisk\bin\WaitForAPIsCE.exe e.g., SH_SHELL(21) and SH_WMGR(17). Multiple APIs may be specified, separated by spaces.

TREQ-M4 Mobile Data Terminal

Page 43

System Settings

Applications

Application qbtM4.exe

Description Bluetooth device service discovery, scanning, and signal strength test utility.

Opens Bluetooth Audio Gateway and BTAGMicVolCE.exe allows the headset microphone volume to be changed.

Path \HardDisk\bin\Bluetooth\qbtM4.exe

\HardDisk\bin\Bluetooth\ BTAGMicVolCE.exe

WaveRecCE.exe

Records 5 seconds of audio from the default wave device and saves it to the file \HardDisk\bin\WaveRecCE.exe 1.wav in the MyDevice folder.

RecSndCE.exe

Records 5 seconds of audio from the selected wave device and then plays it back to another selected wave device.

TREQ-M4 Mobile Data Terminal

\HardDisk\bin\ RecSndCE.exe

33

Page 44

Applications

System Settings

Notes

34

TREQ-M4 Mobile Data Terminal