meshtastic/ATAK-Plugin

No markers from Meshtastic devices

sjcard opened this issue · 0 comments

Running ATAK 4.10 there are no markers showing up on the map from a TAK_TRACKER (or any other) meshtastic device.

Debugging the plugin shows this error from the Parcel tag in logcat everytime a position is received:

Unparcelling of NodeInfo(num=-650114098, user=MeshUser(id=**REDACTED**, longName=Meshtastic 0bce, shortName=0bce, hwModel=hwModel, isLicensed=false), position=Position(lat=**REDACTED**, lon=**REDACTED**, alt=28, time=1709052873), snr=6.75, rssi=-7, lastHeard=1709052875, deviceMetrics=DeviceMetrics(time=1709052786, batteryLevel=101, voltage=4.785, channelUtilization=14.755, airUtilTx=0.8012222), environmentMetrics=null) of type VAL_PARCELABLE  consumed 240 bytes, but 244 expected.
android.util.Log$TerribleFailure: Unparcelling of NodeInfo(num=-650114098, user=MeshUser(id=**REDACTED**, longName=Meshtastic 0bce, shortName=0bce, hwModel=hwModel, isLicensed=false), position=Position(lat=**REDACTED**, lon=**REDACTED**, alt=28, time=1709052873), snr=6.75, rssi=-7, lastHeard=1709052875, deviceMetrics=DeviceMetrics(time=1709052786, batteryLevel=101, voltage=4.785, channelUtilization=14.755, airUtilTx=0.8012222), environmentMetrics=null) of type VAL_PARCELABLE  consumed 240 bytes, but 244 expected.
	at android.util.Log.wtf(Log.java:442)
	at android.util.Slog.wtfStack(Slog.java:336)
	at android.os.Parcel.readValue(Parcel.java:4327)
	at android.os.Parcel.-$$Nest$mreadValue(Unknown Source:0)
	at android.os.Parcel$LazyValue.apply(Parcel.java:4422)
	at android.os.Parcel$LazyValue.apply(Parcel.java:4381)
	at android.os.BaseBundle.getValueAt(BaseBundle.java:394)
	at android.os.BaseBundle.getValue(BaseBundle.java:374)
	at android.os.BaseBundle.getValue(BaseBundle.java:357)
	at android.os.BaseBundle.getValue(BaseBundle.java:350)
	at android.os.Bundle.getParcelable(Bundle.java:913)
	at android.content.Intent.getParcelableExtra(Intent.java:9550)
	at com.atakmap.android.meshtastic.MeshtasticReceiver.onReceive(MeshtasticReceiver.java:82)
	at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$android-app-LoadedApk$ReceiverDispatcher$Args(LoadedApk.java:1919)
	at android.app.LoadedApk$ReceiverDispatcher$Args$$ExternalSyntheticLambda0.run(Unknown Source:2)
	at android.os.Handler.handleCallback(Handler.java:942)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loopOnce(Looper.java:226)
	at android.os.Looper.loop(Looper.java:313)
	at android.app.ActivityThread.main(ActivityThread.java:8810)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)

Meshtastic devices are running 2.2.23 and plugin version is 1.0.5