$tx
$tx : \Iqrf\Repository\Entities\TransceiverCurrentRfTx
Transceiver RF current entity
__construct(\Iqrf\Repository\Entities\TransceiverCurrentRfTx $tx, \Iqrf\Repository\Entities\TransceiverCurrentRfRx $rx, float $ready) : mixed
Constructor
\Iqrf\Repository\Entities\TransceiverCurrentRfTx | $tx | RF TX current |
\Iqrf\Repository\Entities\TransceiverCurrentRfRx | $rx | RF RX current |
float | $ready | RF ready current [µA] |
fromApiResponse(array{currentRfTxMin: float, currentRfTxMax: float, currentRfRxStd: float, currentRfRxLp: float, currentRfRxXlp: float, currentRfReady: float} $response) : \Iqrf\Repository\Entities\TransceiverCurrentRf
Creates a new TransceiverCurrentRf entity from API Response
array{currentRfTxMin: float, currentRfTxMax: float, currentRfRxStd: float, currentRfRxLp: float, currentRfRxXlp: float, currentRfReady: float} | $response | API response body |
TransceiverCurrentRf entity
jsonSerialize() : array{rx: array{std: float, lp: float, xlp: float}, tx: array{min: float, max: float}, ready: float}
Serializes the TransceiverCurrentRf entity into JSON
JSON serialized TransceiverCurrentRf entity