mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
feat: Add initial handling for Store and Forward PlusPlus packets (#4136)
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
parent
49f6ffe6e5
commit
8400ae854f
2 changed files with 12 additions and 1 deletions
|
|
@ -31,7 +31,6 @@ import kotlinx.coroutines.flow.StateFlow
|
|||
import kotlinx.coroutines.flow.asStateFlow
|
||||
import kotlinx.coroutines.flow.combine
|
||||
import kotlinx.coroutines.flow.first
|
||||
import kotlinx.coroutines.flow.map
|
||||
import kotlinx.coroutines.flow.mapLatest
|
||||
import kotlinx.coroutines.launch
|
||||
import kotlinx.coroutines.withContext
|
||||
|
|
@ -456,6 +455,8 @@ constructor(
|
|||
PortNum.PAXCOUNTER_APP_VALUE -> PaxcountProtos.Paxcount.parseFrom(payload).toString()
|
||||
PortNum.STORE_FORWARD_APP_VALUE ->
|
||||
StoreAndForwardProtos.StoreAndForward.parseFrom(payload).toString()
|
||||
PortNum.STORE_FORWARD_PLUSPLUS_APP_VALUE ->
|
||||
MeshProtos.StoreForwardPlusPlus.parseFrom(payload).toString()
|
||||
PortNum.NEIGHBORINFO_APP_VALUE -> decodeNeighborInfo(payload)
|
||||
PortNum.TRACEROUTE_APP_VALUE -> decodeTraceroute(packet, payload)
|
||||
else -> payload.joinToString(" ") { HEX_FORMAT.format(it) }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue