From e52685e836362bc8cc6c67fae4322e004fec6e28 Mon Sep 17 00:00:00 2001 From: "alex.so.3" Date: Mon, 28 Sep 2026 01:39:25 +0200 Subject: [PATCH] Give self-generated tags their accessory JSON on the model CustomAccessoryParser never set ownedBeaconAccessoryJson, so Ring on the map card had nothing to derive addresses from and always reported "Could not compute this accessory's current address". Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016xeHfDLMuUeusX9PEgNEmY --- .../opentagviewer/util/parse/CustomAccessoryParser.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/dev/wander/android/opentagviewer/util/parse/CustomAccessoryParser.java b/app/src/main/java/dev/wander/android/opentagviewer/util/parse/CustomAccessoryParser.java index 259f060b..5bdcc5c7 100644 --- a/app/src/main/java/dev/wander/android/opentagviewer/util/parse/CustomAccessoryParser.java +++ b/app/src/main/java/dev/wander/android/opentagviewer/util/parse/CustomAccessoryParser.java @@ -107,7 +107,11 @@ static BeaconInformation parse( .productId(0) .vendorId(0) .batteryLevel(0) - .stableIdentifier(List.of()); + .stableIdentifier(List.of()) + // The map card's Ring reads this: without it a self-generated tag had no + // accessory to derive addresses from ("Could not compute this accessory's + // current address"), while the device screen - which reads the row - worked. + .ownedBeaconAccessoryJson(beaconData.getOwnedBeaconInfo().accessoryJson); if (userOverrides != null) { built.userOverrideName(userOverrides.uiName)