\Iqrf\Repository\EntitiesTransceiver

Transceiver entity

Summary

Methods
Properties
Constants
__construct()
fromApiResponse()
jsonSerialize()
$homePage
$status
$mounting
$trSeries
$mcu
$components
$pins
$voltage
$current
$operatingTemperature
$types
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$homePage

$homePage : string

Type

string

$status

$status : \Iqrf\Repository\Enums\TransceiverStatus

Type

\Iqrf\Repository\Enums\TransceiverStatus

$mounting

$mounting : \Iqrf\Repository\Enums\TransceiverMount

Type

\Iqrf\Repository\Enums\TransceiverMount

$trSeries

$trSeries : \Iqrf\Repository\Entities\TrSeries

Type

\Iqrf\Repository\Entities\TrSeries

$mcu

$mcu : \Iqrf\Repository\Enums\McuTypes

Type

\Iqrf\Repository\Enums\McuTypes

$components

$components : \Iqrf\Repository\Entities\TransceiverComponents

Type

\Iqrf\Repository\Entities\TransceiverComponents

$pins

$pins : \Iqrf\Repository\Entities\TransceiverPins

Type

\Iqrf\Repository\Entities\TransceiverPins

$voltage

$voltage : \Iqrf\Repository\Entities\TransceiverVoltage

Type

\Iqrf\Repository\Entities\TransceiverVoltage

$current

$current : \Iqrf\Repository\Entities\TransceiverCurrent

Type

\Iqrf\Repository\Entities\TransceiverCurrent

$operatingTemperature

$operatingTemperature : \Iqrf\Repository\Entities\TransceiverTemperature

Type

\Iqrf\Repository\Entities\TransceiverTemperature

$types

$types : array

Type

array

Methods

__construct()

__construct(string  $homePage, \Iqrf\Repository\Enums\TransceiverStatus  $status, \Iqrf\Repository\Enums\TransceiverMount  $mounting, \Iqrf\Repository\Entities\TrSeries  $trSeries, \Iqrf\Repository\Enums\McuTypes  $mcu, \Iqrf\Repository\Entities\TransceiverComponents  $components, \Iqrf\Repository\Entities\TransceiverPins  $pins, \Iqrf\Repository\Entities\TransceiverVoltage  $voltage, \Iqrf\Repository\Entities\TransceiverCurrent  $current, \Iqrf\Repository\Entities\TransceiverTemperature  $operatingTemperature, \Iqrf\Repository\Entities\TransceiverSeriesType[]  $types) : mixed

Constructor

Parameters

string $homePage

Product homepage

\Iqrf\Repository\Enums\TransceiverStatus $status

Product status

\Iqrf\Repository\Enums\TransceiverMount $mounting

Mounting method

\Iqrf\Repository\Entities\TrSeries $trSeries

TR series

\Iqrf\Repository\Enums\McuTypes $mcu

MCU type

\Iqrf\Repository\Entities\TransceiverComponents $components

Transceiver components

\Iqrf\Repository\Entities\TransceiverPins $pins

Transceiver pins

\Iqrf\Repository\Entities\TransceiverVoltage $voltage

Transceiver voltages

\Iqrf\Repository\Entities\TransceiverCurrent $current

Tranceiver current

\Iqrf\Repository\Entities\TransceiverTemperature $operatingTemperature

Operating temperatures

\Iqrf\Repository\Entities\TransceiverSeriesType[] $types

Transceiver types

Returns

mixed —

fromApiResponse()

fromApiResponse(array{seriesName: string, homePage: string, status: string, mounting: string, seriesMIcode: int, mcuMIcode: int, mcu: string, rfChip: string, ldo: string, temperatureSensorChip: string, pins: int, ioPins: int, adInputs: int, operatingVoltageMin: float, operatingVoltageMax: float, operatingVoltageNominal: float, supplyVoltageMin: float, supplyVoltageMax: float, currentRfTxMin: float, currentRfTxMax: float, currentRfRxStd: float, currentRfRxLp: float, currentRfRxXlp: float, currentRfReady: float, currentLEDG: float, currentLEDR: float, currentMcu: float, currentSleep: float, currentDeepSleep: float, operatingTemperatureMin: float, operatingTemperatureMax: float, seriesImage: string, types: array{typeName: string, temperatureSensor: bool, antenna: string, dimensions: string, image?: string}[]}  $response) : \Iqrf\Repository\Entities\Transceiver

Creates a new Transceiver entity from API response

Parameters

array{seriesName: string, homePage: string, status: string, mounting: string, seriesMIcode: int, mcuMIcode: int, mcu: string, rfChip: string, ldo: string, temperatureSensorChip: string, pins: int, ioPins: int, adInputs: int, operatingVoltageMin: float, operatingVoltageMax: float, operatingVoltageNominal: float, supplyVoltageMin: float, supplyVoltageMax: float, currentRfTxMin: float, currentRfTxMax: float, currentRfRxStd: float, currentRfRxLp: float, currentRfRxXlp: float, currentRfReady: float, currentLEDG: float, currentLEDR: float, currentMcu: float, currentSleep: float, currentDeepSleep: float, operatingTemperatureMin: float, operatingTemperatureMax: float, seriesImage: string, types: array{typeName: string, temperatureSensor: bool, antenna: string, dimensions: string, image?: string}[]} $response

API response body

Returns

\Iqrf\Repository\Entities\Transceiver —

Transceiver entity

jsonSerialize()

jsonSerialize() : array{homePage: string, status: string, trSeries: array{value: int, name: string, imageUrl: string}, mounting: string, mcu: array{value: int, name: string}, components: array{rfChip: string, ldo: string, temperatureSensorChip: string}, pins: array{total: int, ioPins: int, adInputs: int}, voltage: array{operating: array{min: float, max: float, nominal: float}, supply: array{min: float, max: float}}, current: array{rf: array{tx: array{min: float, max: float}, rx: array{std: float, lp: float, xlp: float}, ready: float}, ledg: float, ledr: float, mcu: float, sleep: float, deepSleep: float}, operatingTemperature: array{min: float, max: float}, types: array{name: string, temperatureSensor: bool, antenna: string, dimensions: array{width: float, height: float, depth: float}, imageUrl: string|null}[]}

Serializes the Transceivers entity into JSON

Returns

array{homePage: string, status: string, trSeries: array{value: int, name: string, imageUrl: string}, mounting: string, mcu: array{value: int, name: string}, components: array{rfChip: string, ldo: string, temperatureSensorChip: string}, pins: array{total: int, ioPins: int, adInputs: int}, voltage: array{operating: array{min: float, max: float, nominal: float}, supply: array{min: float, max: float}}, current: array{rf: array{tx: array{min: float, max: float}, rx: array{std: float, lp: float, xlp: float}, ready: float}, ledg: float, ledr: float, mcu: float, sleep: float, deepSleep: float}, operatingTemperature: array{min: float, max: float}, types: array{name: string, temperatureSensor: bool, antenna: string, dimensions: array{width: float, height: float, depth: float}, imageUrl: string|null}[]} —

JSON serialized Transceiver entity