mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-05-18 11:46:28 -04:00
refactor: Convert detection sensor portnum payloads to text message (#688)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user