XBee C# library API reference

Show / Hide Table of Contents

Class SrpErrorExtensions

Inheritance
System.Object
SrpErrorExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: XBeeLibrary.Core.Models
Assembly: XBeeLibrary.Core.dll
Syntax
public static class SrpErrorExtensions

Methods

Get(SrpError, Byte)

Gets the SrpError associated with the specified ID value.

Declaration
public static SrpError Get(this SrpError source, byte value)
Parameters
Type Name Description
SrpError source
System.Byte value

ID value to retrieve SrpError.

Returns
Type Description
SrpError

The SrpError for the specified ID value, UNKNOWN if it does not exist.

GetName(SrpError)

Gets the SRP error name.

Declaration
public static string GetName(this SrpError source)
Parameters
Type Name Description
SrpError source
Returns
Type Description
System.String

The SRP error name.

GetValue(SrpError)

Gets the SRP error value.

Declaration
public static byte GetValue(this SrpError source)
Parameters
Type Name Description
SrpError source
Returns
Type Description
System.Byte

The SRP error value.

ToDisplayString(SrpError)

Returns the SrpError in string format.

Declaration
public static string ToDisplayString(this SrpError source)
Parameters
Type Name Description
SrpError source
Returns
Type Description
System.String

The SrpError in string format.

Product page More documentation Official site About Digi Contact us Support
©2019 Digi International Inc. All rights reserved.
Digi International Inc.