PHP Sigfox Client

Repetition extends Model

Table of Contents

$freq  : float|null
the frequency at which the message has been received (in Hz)
$nseq  : int|null
nseq of the repetition
$repeated  : bool|null
if this repetition has been propagated by a repeater
$rssi  : int|null
Received Signal Strength Indication (in dBm – Float value with two maximum fraction digits)
$snr  : float|null
the best signal of all repetitions for this base station
from()  : static
Initializing a model from an array
getFreq()  : float
Getter for freq
getNseq()  : int
Getter for nseq
getRepeated()  : bool
Getter for repeated
getRssi()  : int
Getter for rssi
getSnr()  : float
Getter for snr
jsonSerialize()  : array<string|int, mixed>
setFreq()  : static
Setter for freq
setNseq()  : static
Setter for nseq
setRepeated()  : static
Setter for repeated
setRssi()  : static
Setter for rssi
setSnr()  : static
Setter for snr

Properties

$freq

the frequency at which the message has been received (in Hz)

protected float|null $freq = null

$nseq

nseq of the repetition

protected int|null $nseq = null

$repeated

if this repetition has been propagated by a repeater

protected bool|null $repeated = null

$rssi

Received Signal Strength Indication (in dBm – Float value with two maximum fraction digits)

protected int|null $rssi = null

$snr

the best signal of all repetitions for this base station

protected float|null $snr = 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
throws
DeserializeException

If provided an invalid type to a property

Return values
static

getFreq()

Getter for freq

public getFreq() : float
Return values
float

the frequency at which the message has been received (in Hz)

getNseq()

Getter for nseq

public getNseq() : int
Return values
int

nseq of the repetition

getRepeated()

Getter for repeated

public getRepeated() : bool
Return values
bool

if this repetition has been propagated by a repeater

getRssi()

Getter for rssi

public getRssi() : int
Return values
int

Received Signal Strength Indication (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

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Tags
inheritdoc
Return values
array<string|int, mixed>

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

setNseq()

Setter for nseq

public setNseq(int $nseq) : static
Parameters
$nseq : int

nseq of the repetition

Return values
static

To use in method chains

setRepeated()

Setter for repeated

public setRepeated(bool $repeated) : static
Parameters
$repeated : bool

if this repetition has been propagated by a repeater

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

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

Search results