ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Core.DeviceLocation Namespace / SerialPortDeviceLocationSource Class / BaudRate Property
Example

In This Topic
    BaudRate Property
    In This Topic
    Gets and sets BaudRate.
    Syntax
    Public Property BaudRate As Integer
    public int BaudRate {get; set;}
    Remarks
    Some baud rates are: 4800, 9600, 19200, 38400 etc.
    Example
    Connect to a Device Location Source
    {
        var newSrc = new SerialPortDeviceLocationSource();
        //Specify the COM port the device is connected to
        newSrc.ComPort = "Com3";
        newSrc.BaudRate = 4800;
        newSrc.AntennaHeight = 3;  // meters
                                   //fill in other properties as needed
    
        var props = new DeviceLocationProperties();
        props.AccuracyThreshold = 10;   // meters
    
        // jump to the background thread
        //Note: Run within a QueuedTask
        //open the device
        DeviceLocationService.Instance.Open(newSrc, props);
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also