<SerialPort> TagĀ 

Contains the driver name and configuration for the serial port manager object.

Syntax

<SerialPort id="UniqueID">
    
      Fully Qualified Serial Port Manager Name, Fully Qualified Emulator Name
    </SerialPort>

Parameters

  • id
    A string that contains the unique identifier (ID) of the serial port manager (when used in the <Emulator> tag).

Remarks

You can use this tag in either the <Emulator> tag or the <Types> tag. If you use it in the <Types> tag, you must specify the fully qualified name of the object that manages the serial ports.

Using SerialPort in the <Types> tag also requires you to specify the fully qualified name of the emulator object. If you want to use the emulator object that comes with the SDK, set the emulator name to Microsoft.SPOT.Emulator.

When you use this tag in the <Emulator> tag, you must omit the fully qualified name of the serial port manager. Instead, you specify the id attribute.

Occurs in
<Emulator>
<Types>
Contains Comments
<Name> To contain this tag, the <SerialPort> tag must be used inside the <Emulator> tag.
Fully qualified name of the object that manages the serial ports. To contain this tag, the <SerialPort> tag must be used inside the <Types> tag.

Version Information

Available in .NET Micro Framework version 2.0

See Also

Reference

Emulator XML References