\Iqrf\Repository\EntitiesTransceiverCurrentRfRx

Transceiver RF RX current entity

Summary

Methods
Properties
Constants
__construct()
fromApiResponse()
jsonSerialize()
$std
$lp
$xlp
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$std

$std : float

Type

float

$lp

$lp : float

Type

float

$xlp

$xlp : float

Type

float

Methods

__construct()

__construct(float  $std, float  $lp, float  $xlp) : mixed

Constructor

Parameters

float $std

RF STD-RX current [µA]

float $lp

RF LP-RX current [µA]

float $xlp

RF XLP-RX current [µA]

Returns

mixed —

fromApiResponse()

fromApiResponse(array{currentRfRxStd: float, currentRfRxLp: float, currentRfRxXlp: float}  $response) : \Iqrf\Repository\Entities\TransceiverCurrentRfRx

Creates a new TransceiverCurrentRfRx entity from API Response

Parameters

array{currentRfRxStd: float, currentRfRxLp: float, currentRfRxXlp: float} $response

API response body

Returns

\Iqrf\Repository\Entities\TransceiverCurrentRfRx —

TransceiverCurrentRfRx entity

jsonSerialize()

jsonSerialize() : array{std: float, lp: float, xlp: float}

Serializes the TransceiverCurrentRfRx entity into JSON

Returns

array{std: float, lp: float, xlp: float} —

JSON serialized TransceiverCurrentRfRx entity