$homePage
$homePage : string
Transceiver entity
__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
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 |
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
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 |
Transceiver entity
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
JSON serialized Transceiver entity