mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
refactor: Convert detection sensor portnum payloads to text message (#688)
This commit is contained in:
parent
1e03b0b5e8
commit
f68e112c32
1 changed files with 1 additions and 1 deletions
|
|
@ -552,7 +552,7 @@ class MeshService : Service(), Logging {
|
|||
to = toId,
|
||||
time = rxTime * 1000L,
|
||||
id = packet.id,
|
||||
dataType = data.portnumValue,
|
||||
dataType = if (data.portnumValue == Portnums.PortNum.DETECTION_SENSOR_APP_VALUE) Portnums.PortNum.TEXT_MESSAGE_APP_VALUE else data.portnumValue,
|
||||
bytes = bytes,
|
||||
hopLimit = hopLimit,
|
||||
channel = packet.channel,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue