mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-10-08 19:41:30 -04:00
refactor: Convert detection sensor portnum payloads to text message (#688)
This commit is contained in:
1 parent
1e03b0b5e8
commit
f68e112c32
1 file changed
+1
-1
@@ -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