Meshtastic App
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Meshtastic App
core-model
/
org.meshtastic.core.model
/
MqttJsonPayload
Mqtt
Json
Payload
@
Serializable
data
class
MqttJsonPayload
(
val
type
:
String
,
val
from
:
Long
,
val
to
:
Long
?
=
null
,
val
channel
:
Int
?
=
null
,
val
payload
:
String
?
=
null
,
val
hopLimit
:
Int
?
=
null
,
val
id
:
Long
?
=
null
,
val
time
:
Long
?
=
null
,
val
sender
:
String
?
=
null
)
(
source
)
Members
Constructors
Mqtt
Json
Payload
Link copied to clipboard
constructor
(
type
:
String
,
from
:
Long
,
to
:
Long
?
=
null
,
channel
:
Int
?
=
null
,
payload
:
String
?
=
null
,
hopLimit
:
Int
?
=
null
,
id
:
Long
?
=
null
,
time
:
Long
?
=
null
,
sender
:
String
?
=
null
)
Properties
channel
Link copied to clipboard
val
channel
:
Int
?
from
Link copied to clipboard
val
from
:
Long
hop
Limit
Link copied to clipboard
@
SerialName
(
value
=
"hop_limit"
)
val
hopLimit
:
Int
?
id
Link copied to clipboard
val
id
:
Long
?
payload
Link copied to clipboard
val
payload
:
String
?
sender
Link copied to clipboard
val
sender
:
String
?
time
Link copied to clipboard
val
time
:
Long
?
to
Link copied to clipboard
val
to
:
Long
?
type
Link copied to clipboard
val
type
:
String