Rinfo extends Model
Table of Contents
- $baseStation : MinBaseStationWithType|null
- Name and Id of the base station which has received the message.
- $cbStatus : array<string|int, mixed>|null
- list of callback status for this reception
- $delay : float|null
- the delay (in second) between sending and receiving the message, may not be present.
- $freq : float|null
- the frequency at which the message has been received (in Hz)
- $freqRepeaters : float|null
- the frequency at which the message has been received (in Hz) form repeaters
- $lat : float|null
- The latitude of the base station that has received the message.
- $lng : float|null
- The longitude of the base station that has received the message.
- $rep : int|null
- number of repetitions sent by the base station
- $repetitions : array<string|int, mixed>|null
- detail of the repetitions
- $rssi : int|null
- Received Signal Strength Indication (in dBm – Float value with two maximum fraction digits)
- $rssiRepeaters : int|null
- Received Signal Strength Indication from repeaters (in dBm – Float value with two maximum fraction digits)
- $snr : float|null
- the best signal of all repetitions for this base station
- $snrRepeaters : float|null
- the best signal of all repetitions for this base station coming from repeaters
- from() : static
- Initializing a model from an array
- getBaseStation() : MinBaseStationWithType
- Getter for baseStation
- getCbStatus() : array<string|int, CbStatus>
- Getter for cbStatus
- getDelay() : float
- Getter for delay
- getFreq() : float
- Getter for freq
- getFreqRepeaters() : float
- Getter for freqRepeaters
- getLat() : float
- Getter for lat
- getLng() : float
- Getter for lng
- getRep() : int
- Getter for rep
- getRepetitions() : array<string|int, Repetition>
- Getter for repetitions
- getRssi() : int
- Getter for rssi
- getRssiRepeaters() : int
- Getter for rssiRepeaters
- getSnr() : float
- Getter for snr
- getSnrRepeaters() : float
- Getter for snrRepeaters
- jsonSerialize() : array<string|int, mixed>
- setBaseStation() : static
- Setter for baseStation
- setCbStatus() : static
- Setter for cbStatus
- setDelay() : static
- Setter for delay
- setFreq() : static
- Setter for freq
- setFreqRepeaters() : static
- Setter for freqRepeaters
- setLat() : static
- Setter for lat
- setLng() : static
- Setter for lng
- setRep() : static
- Setter for rep
- setRepetitions() : static
- Setter for repetitions
- setRssi() : static
- Setter for rssi
- setRssiRepeaters() : static
- Setter for rssiRepeaters
- setSnr() : static
- Setter for snr
- setSnrRepeaters() : static
- Setter for snrRepeaters
Properties
$baseStation
Name and Id of the base station which has received the message.
protected
MinBaseStationWithType|null
$baseStation
= null
$cbStatus
list of callback status for this reception
protected
array<string|int, mixed>|null
$cbStatus
= null
$delay
the delay (in second) between sending and receiving the message, may not be present.
protected
float|null
$delay
= null
$freq
the frequency at which the message has been received (in Hz)
protected
float|null
$freq
= null
$freqRepeaters
the frequency at which the message has been received (in Hz) form repeaters
protected
float|null
$freqRepeaters
= null
$lat
The latitude of the base station that has received the message.
protected
float|null
$lat
= null
$lng
The longitude of the base station that has received the message.
protected
float|null
$lng
= null
$rep
number of repetitions sent by the base station
protected
int|null
$rep
= null
$repetitions
detail of the repetitions
protected
array<string|int, mixed>|null
$repetitions
= null
$rssi
Received Signal Strength Indication (in dBm – Float value with two maximum fraction digits)
protected
int|null
$rssi
= null
$rssiRepeaters
Received Signal Strength Indication from repeaters (in dBm – Float value with two maximum fraction digits)
protected
int|null
$rssiRepeaters
= null
$snr
the best signal of all repetitions for this base station
protected
float|null
$snr
= null
$snrRepeaters
the best signal of all repetitions for this base station coming from repeaters
protected
float|null
$snrRepeaters
= null
Methods
from()
Initializing a model from an array
public
static from(array<string|int, mixed> $params) : static
Parameters
- $params : array<string|int, mixed>
-
Pass this parameter if you want to initial property value from an array. See API reference for all property names and types
Tags
Return values
static —getBaseStation()
Getter for baseStation
public
getBaseStation() : MinBaseStationWithType
Return values
MinBaseStationWithType —Name and Id of the base station which has received the message.
getCbStatus()
Getter for cbStatus
public
getCbStatus() : array<string|int, CbStatus>
Return values
array<string|int, CbStatus> —list of callback status for this reception
getDelay()
Getter for delay
public
getDelay() : float
Return values
float —the delay (in second) between sending and receiving the message, may not be present.
getFreq()
Getter for freq
public
getFreq() : float
Return values
float —the frequency at which the message has been received (in Hz)
getFreqRepeaters()
Getter for freqRepeaters
public
getFreqRepeaters() : float
Return values
float —the frequency at which the message has been received (in Hz) form repeaters
getLat()
Getter for lat
public
getLat() : float
Return values
float —The latitude of the base station that has received the message.
getLng()
Getter for lng
public
getLng() : float
Return values
float —The longitude of the base station that has received the message.
getRep()
Getter for rep
public
getRep() : int
Return values
int —number of repetitions sent by the base station
getRepetitions()
Getter for repetitions
public
getRepetitions() : array<string|int, Repetition>
Return values
array<string|int, Repetition> —detail of the repetitions
getRssi()
Getter for rssi
public
getRssi() : int
Return values
int —Received Signal Strength Indication (in dBm – Float value with two maximum fraction digits)
getRssiRepeaters()
Getter for rssiRepeaters
public
getRssiRepeaters() : int
Return values
int —Received Signal Strength Indication from repeaters (in dBm – Float value with two maximum fraction digits)
getSnr()
Getter for snr
public
getSnr() : float
Return values
float —the best signal of all repetitions for this base station
getSnrRepeaters()
Getter for snrRepeaters
public
getSnrRepeaters() : float
Return values
float —the best signal of all repetitions for this base station coming from repeaters
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —setBaseStation()
Setter for baseStation
public
setBaseStation(MinBaseStationWithType $baseStation) : static
Parameters
- $baseStation : MinBaseStationWithType
-
Name and Id of the base station which has received the message.
Return values
static —To use in method chains
setCbStatus()
Setter for cbStatus
public
setCbStatus(array<string|int, CbStatus> $cbStatus) : static
Parameters
- $cbStatus : array<string|int, CbStatus>
-
list of callback status for this reception
Return values
static —To use in method chains
setDelay()
Setter for delay
public
setDelay(float $delay) : static
Parameters
- $delay : float
-
the delay (in second) between sending and receiving the message, may not be present.
Return values
static —To use in method chains
setFreq()
Setter for freq
public
setFreq(float $freq) : static
Parameters
- $freq : float
-
the frequency at which the message has been received (in Hz)
Return values
static —To use in method chains
setFreqRepeaters()
Setter for freqRepeaters
public
setFreqRepeaters(float $freqRepeaters) : static
Parameters
- $freqRepeaters : float
-
the frequency at which the message has been received (in Hz) form repeaters
Return values
static —To use in method chains
setLat()
Setter for lat
public
setLat(float $lat) : static
Parameters
- $lat : float
-
The latitude of the base station that has received the message.
Return values
static —To use in method chains
setLng()
Setter for lng
public
setLng(float $lng) : static
Parameters
- $lng : float
-
The longitude of the base station that has received the message.
Return values
static —To use in method chains
setRep()
Setter for rep
public
setRep(int $rep) : static
Parameters
- $rep : int
-
number of repetitions sent by the base station
Return values
static —To use in method chains
setRepetitions()
Setter for repetitions
public
setRepetitions(array<string|int, Repetition> $repetitions) : static
Parameters
- $repetitions : array<string|int, Repetition>
-
detail of the repetitions
Return values
static —To use in method chains
setRssi()
Setter for rssi
public
setRssi(int $rssi) : static
Parameters
- $rssi : int
-
Received Signal Strength Indication (in dBm – Float value with two maximum fraction digits)
Return values
static —To use in method chains
setRssiRepeaters()
Setter for rssiRepeaters
public
setRssiRepeaters(int $rssiRepeaters) : static
Parameters
- $rssiRepeaters : int
-
Received Signal Strength Indication from repeaters (in dBm – Float value with two maximum fraction digits)
Return values
static —To use in method chains
setSnr()
Setter for snr
public
setSnr(float $snr) : static
Parameters
- $snr : float
-
the best signal of all repetitions for this base station
Return values
static —To use in method chains
setSnrRepeaters()
Setter for snrRepeaters
public
setSnrRepeaters(float $snrRepeaters) : static
Parameters
- $snrRepeaters : float
-
the best signal of all repetitions for this base station coming from repeaters
Return values
static —To use in method chains