Click or drag to resize

RFExBatteryLevelGetBatteryLevel Method

Method to get the Battery level of the specified RFID. Valid IDs, 0x03 to 0x6C.

Namespace: Crestron.SimplSharpPro
Assembly: SimplSharpPro (in SimplSharpPro.dll) Version: 2.21.121
Syntax
C#
public ushort GetBatteryLevel(
	uint paramRFID
)

Parameters

paramRFID  UInt32
ID of the device to query.

Return Value

UInt16
0 = No battery level received from remote. 1 (no battery charge) to 1023d (full charge).
Exceptions
ExceptionCondition
InvalidOperationExceptionUse() method has not been called on this extender before device registration.
ArgumentOutOfRangeExceptionInvalid ID Specified.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also