<?xml version="1.0" encoding="UTF-8"?>
<!-- MotoRDP Tag.  Main Tag for the ERDP Program.                        -->
<!--                                                                    -->
<!--     See the User's Guide for details on default values and which   -->
<!--     attributes or tags are optional.                               -->
<!--                                                                    -->
<!-- Kiosk - If set, operate in kiosk mode.                             -->
<!-- DefSession - Name of session to be started.  Can                   -->
<!--             be overridden by session passed in                     -->
<!--             bundle to start the Activity.                          -->
<!--  BypassSessionList - If set, launch default session instead of     -->
<!--      showing session list when apk is started.                     -->
<!--  LogEnable - If set, enable logging.                               -->

<!--  Orientation - Initial Screen Orientation for Session List.        -->
<!--      If -2, allow screen to rotate.                                -->
<!--      If 0, Lock Screen in Sensor Landscape Mode.                   -->
<!--      If 1, Lock Screen in Sensor Portrait Mode.                    -->
<!--  WhitelistDoze - If 1, whitelist ERDP to disable battery           -->
<!--      optimization.  Default is 1.                                  -->
<!--  BackInterval - Maximum amount of time, in milliseconds, that the  -->
<!--      user has to press the back button twice to exit session.      -->
<!--                                                                    -->
<MotoRDP Kiosk="0" DefSession="SampleSession" BypassSessionList="0" LogEnable="1" Orientation="-2"  WhitelistDoze="1" BackInterval="1000">
    <!--     WorkingDirectory Tag - used as a default location to read    -->
    <!--                            this xml file and save the log file.   -->
    <!--                                                                  -->
    <!--                                                                  -->
    <WorkingDirectory>/sdcard/symbol/remotedesktop/files</WorkingDirectory>
    <!--                                                                  -->
    <!--  Plain Text Administrator Password.  If present, it will be      -->
    <!--  encrypted and overwrite the current Admin Password, if any.     -->
    <!--  The AdminPassword field in the configuration file will then     -->
    <!--  be updated with the result written back to the sdcard.          -->
    <!--                                                                  -->
    <!--<PlainTextAdminPassword>Symbol</PlainTextAdminPassword>           -->
    <!--                                                                  -->
    <!--  Administrator Password in using AES256 Encryption which is used -->
    <!--  to exit to the Home Screen.                                     -->
    <!--                                                                  -->
    <!--<AdminPassword>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</AdminPassword>   -->
    <!--                                                                -->
    <!--  KeyMap and MapKey Tags                                        -->
    <!--                                                                -->
    <!-- Global Keymaps are declared here.  They can then be            -->
    <!-- referenced by name in other places in the Config file.         -->
    <!-- To reference in a Session, add the "KeyMap" attribute to the   -->
    <!-- Session Tag.                                                   -->
    <!--                                                                -->
    <!--  The KeyMap Tag consists of a series of MapKey tags which      -->
    <!--  specify the mapping of a key to a character sequence          -->
    <!--  which is then sent to the host.                               -->
    <!--                                                                -->
    <!--  The Name attribute identifies the key map.  The name          -->
    <!--  can then be referenced by each individual Session.            -->
    <!--  to specify their default key map.                             -->
    <!--                                                                -->
    <!--  The VKCode attribute is defined to be the virtual             -->
    <!--  key code that is used by Microsoft to generate                -->
    <!--  the key. The codes can be found in winuser.h.  The            -->
    <!--  following table contains the most common key codes            -->
    <!--  that might be remapped.                                       -->
    <!--                                                                -->
    <!--    Key        Hex Val Dec Val      Key         Hex Val Dec Val -->
    <!--                                                                -->
    <!--  F1             0x70    (112)    F2             0x71    (113)  -->
    <!--  F3             0x72    (114)    F4             0x73    (115)  -->
    <!--  F5             0x74    (116)    F6             0x75    (117)  -->
    <!--  F7             0x76    (118)    F8             0x77    (119)  -->
    <!--  F9             0x78    (120)    F10            0x79    (121)  -->
    <!--  F11            0x7A    (122)    F12            0x7B    (123)  -->
    <!--  F13            0x7C    (124)    F14            0x7D    (125)  -->
    <!--  F15            0x7E    (126)    F16            0x7F    (127)  -->
    <!--  F17            0x80    (128)    F18            0x81    (129)  -->
    <!--  F19            0x82    (130)    F20            0x83    (131)  -->
    <!--  F21            0x84    (132)    F22            0x85    (133)  -->
    <!--  F23            0x86    (134)    F24            0x87    (135)  -->
    <!--                                                                -->
    <!--  That value in the MapKey tag specifies that data that will    -->
    <!--  will be sent to the host when the key is pressed.  Binary     -->
    <!--  data is specified by using key words inside of brackets.      -->
    <!--  For example, "{ESC}" will send a 0x1B to the host.            -->
    <!--                                                                -->
    <!--  The following table lists the key words that can be used:     -->
    <!--                                                                -->
    <!--  Key Word  Value   Key Word  Value    Key Word  Value          -->
    <!--  {SOH}     0x01    {STX}      0x02    {ETX}      0x03          -->
    <!--  {EOT}     0x04    {ENQ}      0x05    {ACK}      0x06          -->
    <!--  {BEL}     0x07    {BS}       0x08    {HT}       0x09          -->
    <!--  {LF}      0x0A    {VT}       0x0B    {FF}       0x0C          -->
    <!--  {CR}      0x0D    {SO}       0x0E    {SI}       0x0F          -->
    <!--  {DLE}     0x10    {DC1}      0x11    {DC2}      0x12          -->
    <!--  {DC3}     0x13    {DC4}      0x14    {NAK}      0x15          -->
    <!--  {SYN}     0x16    {ETB}      0x17    {CAN}      0x18          -->
    <!--  {EM}      0x19    {SUB}      0x1A    {ESC}      0x1B          -->
    <!--  {FS}      0x1C    {GS}       0x1D    {RS}       0x1E          -->
    <!--  {USS}     0x1F    {SP}       0x20    {DEL}      0x7F          -->
    <!--  {lb}      {       {rb}       }       {CTRL}     0xA4          -->
    <!--                                                                -->
    <!-- Function Keymap.                                               -->
    <!--                                                                -->
    <!-- Sample Keymapping for Function Keys F1 to F9.                  -->
    <!--                                                                -->
    <KeyMap Name="FunctionKeyMap">
        <MapKey VKCode="120">{CTRL}9</MapKey>
        <MapKey VKCode="119">{CTRL}8</MapKey>
        <MapKey VKCode="118">{CTRL}7</MapKey>
        <MapKey VKCode="117">{CTRL}6</MapKey>
        <MapKey VKCode="116">{CTRL}5</MapKey>
        <MapKey VKCode="115">{CTRL}4</MapKey>
        <MapKey VKCode="114">{CTRL}3</MapKey>
        <MapKey VKCode="113">{CTRL}2</MapKey>
        <MapKey VKCode="112">{CTRL}1</MapKey>
    </KeyMap>
    <!--                                                                     -->
    <!--  Session Tag.                                                       -->
    <!--                                                                     -->
    <!--  Name - Name of the Session.  This is the value that is passed      -->
    <!--         into the activity via the bundle or by the "DefSession"     -->
    <!--         attribute on the MotoTSC tag.                               -->
	<!--  KeyMap - Which KeyMap is to be used by the Session.  If missing or -->
	<!--         empty, no key remapping will be used.                       -->
    <!--  OneShot and Failover - If Failover is set, then after the server   -->
    <!--         retries expires, fail over to the next server.  If oneshot  -->
    <!--         is set, only failover once.  Otherwise, exit after the      -->
    <!--         server retries expires.                                     -->
    <!--  PrimaryServer - First server to connect to.  Value must match one  -->
	<!--         of the "Name" attributes from the Session's "Server"        -->
	<!--         tag(s).                                                     -->
    <!--  LoadBalence - Ignore PrimaryServer attribute and instead pick      -->
    <!--         the initial server based on the last digit of the device's  -->
    <!--         MAC Address.                                                -->
    <!--  IdleTimeout - Timeout, in minutes, to cause session to close       -->
    <!--          if there's no activity. 0 = Disabled                       -->
    <!--  KeyDelay - Delay, in milliseconds between keystrokes being sent    -->
    <!--          to the server.                                             -->
    <!--  RedirectSoundOption - If 0, redirect sound to the device.          -->
    <!--      If 1, sound will play on the server.                           -->
    <!--      If 2, disable playing sound.                                   -->
    <!--                                                                     -->
    <Session Name="SampleSession" KeyMap="FunctionKeyMap" OneShot="0" FailOver="0" PrimaryServer="Serv01" LoadBalence="0" IdleTimeout="0" KeyDelay="0" RedirectSoundOption="2">
        <!--  ScreenSize Tag.                                                    -->
        <!--                                                                     -->
        <!--  Resolution - If 0, then fit screen to specified height and width   -->
        <!--      If 1, then fit screen based on "best effort".                  -->
        <!--      If 2, then fit screen to height and width of server.           -->
		<!--      custom, automatic, fitscreen                                   -->
        <!--  Orientation - If -2, allow screen to rotate.                       -->
        <!--      If 0, Lock Screen in Sensor Landscape Mode.                    -->
        <!--      If 1, Lock Screen in Sensor Portrait Mode.                     -->
        <!--  Lock - If 1, then scrolling on the device is disabled.  Otherwise  -->
        <!--      the user can scroll to areas off of the screen.                -->
        <!--  DisablePinch - If 1, then pinch to zoom in and out of the screen   -->
        <!--      is disabled.                                                   -->
        <!-- **NOTE** - "Lock" and "DisablePinch" are mutually exclusive.  If    -->
		<!--      both are enabled (i.e. Scroll + Pinch), then ERDP may have     -->
		<!--      have a difficult time distinguishing between the two since     -->
		<!--      the movement to activate them (two fingers moving vs.          -->
		<!--      two fingers moving together/apart while stationary) is         -->
		<!--      "nuanced".                                                     -->
		<!--                                                                     -->
        <!--  ShiftScreenUpWhenKbdShown - Moved to Tag, Backwards compatibility. -->
        <!--  HideHeaderOnKeyboard - Moved to Tag, Backwards compatibility.      -->
        <!--  HideSystemBar - Moved to Tag, Backwards compatibility.             -->
        <!--  HeaderBarDuration - Moved to Tag, Backwards compatibility.         -->
        <ScreenSize Resolution="2" Lock="1" Orientation="1" ShiftScreenUpWhenKbdShown="0" DisablePinch="1">
			<!--                                                                     -->
			<!--  Width - Width, in pixels, of the RDP display area on the device.   -->
			<!--  Height - Height, in pixels, of the RDP display area on the device. -->
			<!--                                                                     -->
			<!--  OffsetX - X coordinate to position initial display.  Default is 0. -->
			<!--  OffsetY - Y coordinate to position initial display.  Default is 0. -->
			<!--                                                                     -->
			<!--  ScaleFactor - Amount to scale server display.  Default is 1.0.     -->
			<!--      Must be between min and max zoom levels.  Only used for        -->
			<!--      resolution 1 (auto) or 2 (best fit).  It has no effect         -->
			<!--      for 0 (custom).                                                -->
			<!--  AspectRatio - Aspect Ratio for the display.  Only used for         -->
			<!--      resolution 1 (auto).  Allows the device to maintain the        -->
			<!--      server's configured aspect ratio.  Default is 16:10            -->
			<!--      (16/10 = 1.6).  It has not effect for 0 (custom) or 2          -->
			<!--      (best fit).                                                    -->
			<!--      Typical aspect ratios are 1.33, 1.25, 1.5, or 1.6              -->
			<!--                                                                     -->
			<!--  Zoom - Initial amount to Zoom server display area.  This is        -->
			<!--      ignored for resolutions 1 (auto) and 2 (best fit).             -->
			<!--      If resolution is set to 0 (custom), then zoom is applied       -->
			<!--      for the initial display.                                       -->
			<!--  MinZoomLevel - Minimum allowed zoom level.                         -->
			<!--  MaxZoomLevel - Maximum allowed zoom level.                         -->
			<!--                                                                     -->
            <!--  LongPressTimeout - Time to wait to detect a long press on the      -->
            <!--      display.  If 0, then long presses are disabled.  Default value -->
            <!--      is 2000 (two seconds).  A long press equates to the right      -->
		    <!--      button on the mouse being pressed.                             -->
			<!--                                                                     -->
			<!--  HideHeaderBars - boolean flag to hide the action bar with the      -->
			<!--      Keyboard and Function Key icons.  The action bar can then be   -->
			<!--      accessed by using a downward swipe in the RDP display.         -->
			<!--  HideHeaderOnKeyboard - If 1, then hide keyboard icon when          -->
			<!--      keyboard is to be displayed.  HideHeaderBar must also be       -->
			<!--      set to 1.  Otherwise, the setting is ignored.                  -->
			<!--  HideSystemBar - boolean flag to hide the system bar.  If set,      -->
			<!--      devices which show the navigation keys (home, back, etc.)      -->
			<!--      will have these keys hidden during the RDP session.            -->
			<!--  HeaderBarDuration - Amount of time in mSec. to show header bar     -->
			<!--      before hiding them once they are shown.  HideHeaderBars must   -->
			<!--      be set to 1.  Otherwise, this setting is ignored.              -->
			<Width>720</Width>
			<Height>1024</Height>
			<OffsetX>0</OffsetX>
			<OffsetY>0</OffsetY>
			<ScaleFactor>2.00</ScaleFactor>
			<AspectRatio>1.60</AspectRatio>
			<Zoom>1.00</Zoom>
			<MinZoomLevel>0.5</MinZoomLevel>
			<MaxZoomLevel>5.0</MaxZoomLevel>
			<LongPressTimeout>2000</LongPressTimeout>
			<HideHeaderBars enable="false"/>
			<HideHeaderOnKeyboard enable = "false"/>
			<HideSystemBar enable="false"/>
			<HeaderBarDuration>3000</HeaderBarDuration>
		</ScreenSize>
        <!--  Wedge Tag.                                                         -->
        <!--                                                                     -->
        <!--  Profile - Name of the Datawedge profile to be used for this        -->
        <!--      session.  Profile should be configured to send wedge data      -->
        <!--      as keystrokes or a broadcast intent.                           -->
        <!--                                                                     -->
        <Wedge Profile="Profile0"/>
        <!-- IMEDisplay Tag.                                                     -->
        <!--                                                                     -->
        <!--   enable - If non-zero, then the described key sequence will        -->
        <!--       will cause the IME to be shown/hidden based on its current    -->
        <!--       state.  If the IME tag is missing, then the default           -->
        <!--       key ("<esc>") will be used.  The default is disabled, unless  -->
        <!--       it's a Walmart VC80, then it's enabled.                       -->
        <!--   ctrl - If non-zero, then the ctrl key will be used as part of     -->
        <!--       the key sequnce.  i.e. <ctrl>-A will be used inistead of      -->
        <!--       just "A".                                                     -->
        <!--   alt - If non-zero, then the alt key will be used as part of       -->
        <!--       the key sequnce.  i.e. <alt>-A will be used inistead of       -->
        <!--       just "A".                                                     -->
        <!--                                                                     -->
        <!--   If both ctrl and alt are set, then the key sequence               -->
        <!--   <ctrl><alt>-A would be used.  If the character is alpha, then     -->
        <!--   either upper or lower case will be used.                          -->
        <!--                                                                     -->
        <!--   For VC80's if it's a Walmart build, then the default is           -->
        <!--   enabled with the default button being "esc".  For non-Walmart     -->
        <!--   devices, the default button is the L2 Button.                     -->
        <!--                                                                     -->
        <!--  That value in the IME tag specifies the key that will be used      -->
        <!--  to trigger the display of the IME.  The following keywords         -->
        <!--  can be used to describe special keys such as space, tab, or esc.   -->
        <!--                                                                     -->
        <!--  The following table lists the key words that can be used:          -->
        <!--                                                                     -->
        <!--  Key Word  Value   Key Word  Value    Key Word  Value               -->
        <!--  {BS}       0x08    {TAB}       0x09   {ESC}      0x1B              -->
        <!--  {SP}       0x20    {DEL}       0x7F   {lb}       {                 -->
        <!--  {rb}       }       {L1}   BUTTON_L1   {L2}  BUTTON_L2              -->
        <!--  {F1}       F1 Key  {F2}      F2 Key   {F3}     F3 Key              -->
        <!--  {F4}       F4 Key  {F5}      F5 Key   {F6}     F6 Key              -->
        <!--  {F7}       F7 Key  {F8}      F8 Key   {F9}     F9 Key              -->
        <!--  {F10}     F10 Key  {F11}     F11 Key  {F12}    F12 Key             -->
        <!--                                                                     -->
        <IMEDisplay enable="1" ctrl="0" alt="0" >{ESC}</IMEDisplay>
        <!--  Server tag                                                         -->        
        <!--                                                                     -->
        <!--  Name - Internal identifier for the server.  Used to identify the   -->
        <!--      Primary Server in the Session tag.                             -->
        <!--  Address - DNS resolvable address of the server.                    -->
        <!--  Port - TCP/IP Port to listen on for RDP data.  Port 3389 is the    -->
        <!--      default RDP port.                                              -->
        <!--  AutoLogin - Use the UserName and Password data to automatically    -->
        <!--      supply the login credentials to the server.                    -->
        <!--  DualLogin - Default is 0. If non-zero and auto-login is also       -->
        <!--      non-zero, then if the primary user name/password fails the     -->
        <!--      second user name/ password should then be tried.  Both         -->
        <!--      attempts will only account as one attempt against the retry    -->
        <!--      counter.  This is a feature to only be used by Walmart.        -->
        <!--  AutoDisconnect - Default is 0.  If non-zero, then the              -->
        <!--      "Connection Terminated" dialog will not be shown when either   -->
        <!--      the client or the server disconnects the server due to user    -->
        <!--      action, network timeouts, or disconnects.                      -->
		<!--  InteractiveLogin - If non-zero, number of milliseconds to delay    -->
		<!--      before sending a return key to the server.  This will allow    -->
		<!--      the information screen that is sometimes displayed on some     -->
		<!--      servers to be automatically bypassed and start the session.    -->
        <!--  LoginTimeout - Time, in seconds, to wait for the login to succeed  -->
        <!--      before retrying.  If 0, the timeout is disabled.               -->
        <!--  Index - If multiple servers, the order that should be used when    -->
        <!--      switching between servers on failover.                         -->
        <!--  SerialNumberIsUserIDPrefix - If the prefix is not empty, then the  -->
        <!--      RDP session will use the serial number as the user id, instead -->
        <!--      of the value configured by the username tag.                   -->
        <!--                                                                     -->
        <Server Name="Serv01" Address="192.168.1.170" Port="3389" AutoLogin="1" DualLogin="0" AutoDisconnect="0" InteractiveLogin="1" LoginTimeout="30" Index="1" SerialNumberIsUserIDPrefix="" >
			<!--  Keyboard tag                                                       -->        
			<!--                                                                     -->
			<!--  These settings will override the settings on the Server Tag.  The  -->
			<!--  Server Tag settings may be deprecated in a future release.         -->
			<!--                                                                     -->
			<!--  ShowKeyboard - by Default the keyboard is not shown when the user  -->
			<!--    logs into the server.  If true, the selected keyboard will be    -->
			<!--    shown when the user logs in.                                     -->
			<!--                                                                     -->
		    <Keyboard ShowKeyboard="false" >
				<!--  KbdLayout - Server's Keyboard Layout, or Locale setting.  For a    -->
				<!--      QWERTY keyboard on the server, use 0x0409, which is the        -->
				<!--      default.                                                       -->
				<!--                                                                     -->
				<KbdLayout Value="0x409" />
				<!--  KeyboardType.                                                      -->
				<!--                                                                     -->
				<!--   By default, the QWERTY keyboard is used if this tag               -->
				<!--   is not present.                                                   -->
				<!--                                                                     -->
				<!--      Type:  0 - QWERTY Keyboard                                     -->
				<!--             1 - QWERTY Keyboard with extra row of numbers at top.   -->
				<!--             2 - Number Keypad.                                      -->
				<!--             3 - QWERTY Keyboard with extra row of functions and     -->
				<!--                 numbers at the top.                                 -->
				<!--             6 - AZERTY Keyboard (requires server to be set for      -->
				<!--                 French Locale).                                     -->
				<!--             7 - Spanish Qwerty Keyboard (requires server to be set  -->
				<!--                 for Spanish Locale).                                -->
				<!--             8 - German Qwerty Keyboard (requires server to be set   -->
				<!--                 for German Locale)                                  -->
				<!--                                                                     -->
				<KeyboardType Value="0" />
				<!--  DisableWindowsKey - If true, then the windows key on the keyboard  -->
				<!--  will be disabled.                                                  -->
				<!--                                                                     -->
				<DisableWindowsKey Value="false" />
			</Keyboard>
            <!--  PlainTextUserName Tag - If present, encrypt the value and then     -->
            <!--      use it to override the UserName tag.  The changed, UserName    -->
            <!--      will then be updated in the Configuration file on the sdcard.  -->
            <!--                                                                     -->
            <!--      DeleteAfterEncrypt - If set, the plain text user name will be  -->
            <!--      cleared after being encrypted with the result written to       -->
            <!--      user name.  The config file will then be updated.              -->
            <!--                                                                     -->
            <PlainTextUserName DeleteAfterEncrypt="1">Marvin</PlainTextUserName>
            <!--  UserName Tag - AES 256 Encrypted user name to be used for the      -->
            <!--      user name during auto login.                                   -->
            <!--                                                                     -->
            <UserName></UserName>
            <!--  PlainTextPassword Tag - If present, encrypt the value and then     -->
            <!--      use it to override the Password tag.  The changed, Password    -->
            <!--      will then be updated in the Configuration file on the sdcard.  -->
            <!--                                                                     -->
			<!--      DeleteAfterEncrypt - If set, the plain text password will be   -->
			<!--      cleared after being encrypted with the result written to       -->
			<!--      password.  The config file will then be updated.               -->
			<!--                                                                     -->
            <PlainTextPassword DeleteAfterEncrypt="1">42</PlainTextPassword>
            <!--  Password Tag - AES 256 Encrypted password to be used for the       -->
            <!--      password during auto login.                                    -->
            <!--                                                                     -->
            <Password></Password>
            <!--  PlainTextUserName2 Tag - If present, encrypt the value and then    -->
            <!--      use it to override the UserName2 tag.  Once changed, UserName2 -->
            <!--      will then be updated in the Configuration file on the sdcard.  -->
            <!--                                                                     -->
            <!--      DeleteAfterEncrypt - If set, the plain text user name will be  -->
            <!--      cleared after being encrypted with the result written to       -->
            <!--      user name.  The config file will then be updated.              -->
            <!--                                                                     -->
            <PlainTextUserName2 DeleteAfterEncrypt="0"></PlainTextUserName2>
            <!--  UserName2 Tag - AES 256 Encrypted user name to be used for the     -->
            <!--      user name when dual login is enabled and the connection        -->
            <!--      attempt using UserName fails, and a 2nd attempt is made using  -->
            <!--      this user name.  Feature implemented for Walmart.              -->
            <!--                                                                     -->
            <UserName2></UserName2>
            <!--  PlainTextPassword2 Tag - If present, encrypt the value and then    -->
            <!--      use it to override the Password2 tag.  Once changed, Password2 -->
            <!--      will then be updated in the Configuration file on the sdcard.  -->
            <!--                                                                     -->
			<!--      DeleteAfterEncrypt - If set, the plain text password will be   -->
			<!--      cleared after being encrypted with the result written to       -->
			<!--      password.  The config file will then be updated.               -->
			<!--                                                                     -->
            <PlainTextPassword2 DeleteAfterEncrypt="0"></PlainTextPassword2>
            <!--  Password2 Tag - AES 256 Encrypted password to be used for the      -->
            <!--      password2 when dual login is enabled and the connection        -->
            <!--      attempt using password fails, and a 2nd attempt is made using  -->
            <!--      this user name.  Feature implemented for Walmart.              -->
            <!--                                                                     -->
            <Password2></Password2>
            <!--  Domain Tag - Domain Name to be used for the domain during auto     -->
            <!--      login.                                                         -->
            <!--                                                                     -->
            <Domain></Domain>
            <!--  Prepend Domain - If 1, then prepend the domain name to the user    -->
            <!--      name for auto login (i.e. ZGN/UserName).                       -->
            <!--                                                                     -->
            <PrependDomain>0</PrependDomain>
            <!--  RetryCount - Number of attempts to connect to this server before   -->
            <!--      either trying another server or halting the connection         -->
            <!--      attempt.                                                       -->
            <!--                                                                     -->
            <RetryCount>3</RetryCount>
            <!--  RetryDelay - The delay, in milliseconds, between connection        -->
            <!--      attempts.                                                      -->
            <!--                                                                     -->
            <RetryDelay>3000</RetryDelay>
            <!--  Optional.  Include if overriding default certificate behavior.     -->
			<!--                                                                     -->
		    <!--  AcceptAll - If set, all certificate requests will be accepted,     -->
			<!--      bypassing the accept certificate query which would be normally -->
			<!--      shown.  Default is false.                                      -->
			<!--  Certificate - Friendly Name associated with the certificate.       -->
			<!--      Logcat can be used to determine what name should be provided.  -->
			<!--      default is an empty string (i.e. no certificate).              -->
			<Certificate AcceptAll="0">Friendly Name</Certificate>
            <!--  Optional.  Include if using a RDP Gateway to reach the server.     -->
            <!--                                                                     -->
            <!--  Address - DNS resolvable address of the gatweay.                   -->
            <!--  Port - TCP/IP Port associated with the gateway.  Port 443 is the   -->
            <!--      default gateway port.                                          -->
            <Gateway Address="" Port="443">
                <!--  PlainTextUserName Tag - If present, encrypt the value and then     -->
                <!--      use it to override the UserName tag.  The changed, UserName    -->
                <!--      will then be updated in the Configuration file on the sdcard.  -->
                <!--                                                                     -->
                <!--      DeleteAfterEncrypt - If set, the plain text user name will be  -->
                <!--      cleared after being encrypted with the result written to       -->
                <!--      user name.  The config file will then be updated.              -->
                <!--                                                                     -->
                <PlainTextUserName DeleteAfterEncrypt="0"></PlainTextUserName>
                <!--  UserName Tag - AES 256 Encrypted user name to be used for the      -->
                <!--      user name to login into the gateway.                           -->
                <!--                                                                     -->
                <UserName></UserName>
                <!--  PlainTextPassword Tag - If present, encrypt the value and then     -->
                <!--      use it to override the Password tag.  The changed, Password    -->
                <!--      will then be updated in the Configuration file on the sdcard.  -->
                <!--                                                                     -->
                <!--      DeleteAfterEncrypt - If set, the plain text password will be   -->
                <!--      cleared after being encrypted with the result written to       -->
                <!--      password.  The config file will then be updated.               -->
                <!--                                                                     -->
                <PlainTextPassword DeleteAfterEncrypt="0"></PlainTextPassword>
                <!--  Password Tag - AES 256 Encrypted password to be used for the       -->
                <!--      password during to login into the gateway.                     -->
                <!--                                                                     -->
                <Password></Password>
                <!--  Domain Tag - Domain Name to be used for the domain when logging    -->
                <!--      into the gateway.                                              -->
                <!--                                                                     -->
                <Domain></Domain>
                <!--  Prepend Domain - If 1, then prepend the domain name to the user    -->
                <!--      name when logging into the (i.e. ZGN/UserName).                -->
                <!--                                                                     -->
                <PrependDomain>0</PrependDomain>
            </Gateway>
            <!--  Optional.  Expert use only.  Value describes the load balancing cookie   -->
            <!--  that is placed in the X.224 Connection Request packet.  This field is    -->
            <!--  often used for connections based on Azure.  An example of the value      -->
            <!--  would be:                                                                -->
			<!--                                                                           -->
			<!--      tsc://MS Terminal Services Plugin.1.NB                               -->
            <!--                                                                           -->
            <!--  See load-balance-info for further details.  The value is passed to the   -->
            <!--  freeRDP library for use.  Enable RxLogger and debug in the config file   -->
            <!--  to diagnose any errors.                                                  -->			
            <!--                                                                           -->
			<LoadBalance Value=""/>
            <!--  Optional.  Include to assist with problems encountered when roaming      -->
            <!--  between access points.  This feature is disabled for Cellular            -->
            <!--  connections.                                                             -->
            <!--                                                                           -->
            <!--  OutOfRangeDelay - Time, in milliseconds to delay sending data when       -->
            <!--     the RSSI level is below minRSSI.  If the RSSI level does not          -->
            <!--     return to above minRSSI before this time has elapsed, then the        -->
            <!--     connection will be closed.  If 0, this option is disabled.            -->
            <!--  MinRSSI - Signal Strength, in Percent.  Data will not be transmitted     -->
            <!--     to the server while the RSSI level is below this value.               -->
            <!--  ShowWarning - If non-zero, then a popup message will appear while        -->
            <!--     in an area where the RSSI level is below minRSSI.                     -->
			<!--  ShowRSSI - For test purposes.  If set, the current RSSI value will be    -->
			<!--     displayed on the keyboard header bar.                                 -->
            <Roaming OutOfRangeDelay="0" MinRSSI="20" ShowWarning="1"/>
            <!--  Optional.  Include to assist with problems encountered when the          -->
            <!--  connection is terminated due to coverage issues.                         -->
            <!--                                                                           -->
            <!--  MaxAttempts - Default is 10.  The maximum number of times that ERDP       -->
            <!--      will attempt to reconnect to the server before stopping, at which    -->
            <!--      point a "Connection Terminated" popup will be displayed.  Setting    -->
            <!--      to 0 will disable this feature.                                       -->
            <!--  DelayBetweenAttempts - Default is 1 second.  This is the delay between   -->
            <!--      reconnection attempts.                                               -->
            <!--  DelayAfterConnect - Default is 300 seconds.  After a successful          -->
            <!--      connection, this is the delay that will then occur before            -->
            <!--      autoreconnect will begin working again.  This is to solve the        -->
            <!--      problem where the server or network may disconnect the user          -->
            <!--      after a certain period of inactivity.                                -->
            <Reconnect MaxAttempts="10" DelayBetweenAttempts="1" DelayAfterConnect="300" />
		</Server>
    </Session>
</MotoRDP>