project-chip / connectedhomeip

Matter (formerly Project CHIP) creates more connections between more objects, simplifying development for manufacturers and increasing compatibility for consumers, guided by the Connectivity Standards Alliance.
https://buildwithmatter.com
Apache License 2.0
7.34k stars 1.97k forks source link

[BUG] Can't connect Android CHPTVCastingApp with Android MatterTvServer #33842

Open strangesource opened 3 months ago

strangesource commented 3 months ago

Reproduction steps

  1. Run the MatterTvAndroid content-app and platform-app on a Google Chromecast HD (API 31)
  2. Run the CHIPTVCastingApp on a Pixel 6a (API 34)
  3. Observe Casting Player is discovered correctly
  4. Click on observed casting player
  5. Observe no further changes in any ui

Bug prevalence

Every time

GitHub hash of the SDK that was being used

c15826050e744034ec9c90cf810fb2b34bb46c54

Platform

android

Platform Version(s)

No response

Anything else?

I am trying to implement a PoC for using Matter casting with our Player SDK and I am running into issues when using the unmodified example projects.

strangesource commented 3 months ago

The following logs can be observed on the platform app:

2024-06-11 09:17:55.171 11858-11858 DMG                     com.matter.tv.server                 D  Failed to read stored attribute (0, 0x0000_002C, 0x0000_0000: src/platform/android/KeyValueStoreManagerImpl.cpp:102: CHIP Error 0x000000A0: Value not found in the persisted storage
2024-06-11 09:17:55.172 11858-11858 KeyValueStoreManager    com.matter.tv.server                 D  Key 'g/a/0/2c/1' not found in shared preferences
2024-06-11 09:17:55.172 11858-11858 DMG                     com.matter.tv.server                 D  Failed to read stored attribute (0, 0x0000_002C, 0x0000_0001: src/platform/android/KeyValueStoreManagerImpl.cpp:102: CHIP Error 0x000000A0: Value not found in the persisted storage
2024-06-11 09:17:55.172 11858-11858 KeyValueStoreManager    com.matter.tv.server                 D  Key 'g/a/0/2d/0' not found in shared preferences
2024-06-11 09:17:55.172 11858-11858 DMG                     com.matter.tv.server                 D  Failed to read stored attribute (0, 0x0000_002D, 0x0000_0000: src/platform/android/KeyValueStoreManagerImpl.cpp:102: CHIP Error 0x000000A0: Value not found in the persisted storage
2024-06-11 09:17:55.174 11858-11858 KeyValueStoreManager    com.matter.tv.server                 D  Key 'g/a/2/8/4000' not found in shared preferences
2024-06-11 09:17:55.174 11858-11858 DMG                     com.matter.tv.server                 D  Failed to read stored attribute (2, 0x0000_0008, 0x0000_4000: src/platform/android/KeyValueStoreManagerImpl.cpp:102: CHIP Error 0x000000A0: Value not found in the persisted storage
2024-06-11 09:17:55.174 11858-11858 DMG                     com.matter.tv.server                 D  AccessControlCluster: initializing
2024-06-11 09:17:55.174 11858-11858 ZCL                     com.matter.tv.server                 D  Initiating Admin Commissioning cluster.
2024-06-11 09:17:55.174 11858-11858 DMG                     com.matter.tv.server                 D  Endpoint 0, Cluster 0x0000_0030 update version to 23bee4b7
2024-06-11 09:17:55.174 11858-11858 ZCL                     com.matter.tv.server                 E  DeviceInfoProvider is not registered
2024-06-11 09:17:55.174 11858-11858 ZCL                     com.matter.tv.server                 E  Trying to write invalid Calendar Type
2024-06-11 09:17:55.174 11858-11858 ZCL                     com.matter.tv.server                 E  Failed to write calendar type with error: 0x87
2024-06-11 09:17:55.174 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App::OnOff::PostClusterInit
2024-06-11 09:17:55.175 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 6 at 1
2024-06-11 09:17:55.176 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: OnOffManager::NewManager
2024-06-11 09:17:55.176 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: WakeOnLan::PostClusterInit
2024-06-11 09:17:55.177 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 1283 at 1
2024-06-11 09:17:55.178 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: WakeOnLan::SetDefaultDelegate
2024-06-11 09:17:55.178 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: Channel::PostClusterInit
2024-06-11 09:17:55.179 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 1284 at 1
2024-06-11 09:17:55.187 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: Channel::SetDefaultDelegate
2024-06-11 09:17:55.187 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: TargetNavigator::SetDefaultDelegate
2024-06-11 09:17:55.188 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: MediaPlayback::PostClusterInit
2024-06-11 09:17:55.189 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 1286 at 1
2024-06-11 09:17:55.192 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: MediaPlayback::SetDefaultDelegate
2024-06-11 09:17:55.192 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: MediaInput::PostClusterInit
2024-06-11 09:17:55.193 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 1287 at 1
2024-06-11 09:17:55.196 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: MediaInput::SetDefaultDelegate
2024-06-11 09:17:55.196 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: LowPower::PostClusterInit
2024-06-11 09:17:55.197 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 1288 at 1
2024-06-11 09:17:55.198 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: LowPower::SetDefaultDelegate
2024-06-11 09:17:55.198 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: KeypadInput::PostClusterInit
2024-06-11 09:17:55.199 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 1289 at 1
2024-06-11 09:17:55.200 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: KeypadInput::SetDefaultDelegate
2024-06-11 09:17:55.200 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: ContentLauncher::PostClusterInit
2024-06-11 09:17:55.202 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 1290 at 1
2024-06-11 09:17:55.208 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: ContentLauncher::SetDefaultDelegate
2024-06-11 09:17:55.209 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: AudioOutput::SetDefaultDelegate
2024-06-11 09:17:55.209 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: ApplicationLauncher::SetDefaultDelegate
2024-06-11 09:17:55.209 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App::OnOff::PostClusterInit
2024-06-11 09:17:55.209 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 6 at 2
2024-06-11 09:17:55.210 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: OnOffManager::NewManager
2024-06-11 09:17:55.210 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App::Level::PostClusterInit
2024-06-11 09:17:55.211 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 8 at 2
2024-06-11 09:17:55.212 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: LevelManager::NewManager
2024-06-11 09:17:55.219 11858-11858 DMG                     com.matter.tv.server                 D  Endpoint 2, Cluster 0x0000_0008 update version to 8751fe7c
2024-06-11 09:17:55.219 11858-11858 ZCL                     com.matter.tv.server                 D  Received level command endpoint 2 value = 0
2024-06-11 09:17:55.220 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: LevelManager::PostLevelChanged
2024-06-11 09:17:55.220 11858-11858 ZCL                     com.matter.tv.server                 D  LevelManager::HandleLevelChanged
2024-06-11 09:17:55.220 11858-11858 LevelManagerStub        com.matter.tv.server                 D  HandleOnOffChanged for mEndpoint 2 = 0
2024-06-11 09:17:55.220 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: Channel::PostClusterInit
2024-06-11 09:17:55.221 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 1284 at 3
2024-06-11 09:17:55.222 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: Channel::SetDefaultDelegate
2024-06-11 09:17:55.222 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: TargetNavigator::SetDefaultDelegate
2024-06-11 09:17:55.222 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: MediaPlayback::PostClusterInit
2024-06-11 09:17:55.223 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 1286 at 3
2024-06-11 09:17:55.224 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: MediaPlayback::SetDefaultDelegate
2024-06-11 09:17:55.224 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: KeypadInput::PostClusterInit
2024-06-11 09:17:55.225 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 1289 at 3
2024-06-11 09:17:55.226 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: KeypadInput::SetDefaultDelegate
2024-06-11 09:17:55.226 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: ContentLauncher::PostClusterInit
2024-06-11 09:17:55.227 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 1290 at 3
2024-06-11 09:17:55.228 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: ContentLauncher::SetDefaultDelegate
2024-06-11 09:17:55.228 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: ApplicationLauncher::SetDefaultDelegate
2024-06-11 09:17:55.228 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: ApplicationBasic::SetDefaultDelegate
2024-06-11 09:17:55.228 11858-11858 SVR                     com.matter.tv.server                 D  Fabric already commissioned. Disabling BLE advertisement
2024-06-11 09:17:55.228 11858-11858 DIS                     com.matter.tv.server                 D  Updating services using commissioning mode 0
2024-06-11 09:17:55.228 11858-11858 NsdManager...ceResolver com.matter.tv.server                 D  removeServices: 
2024-06-11 09:17:55.229 11858-11858 DIS                     com.matter.tv.server                 E  Failed to get primary mac address of device. Generating a random one.
2024-06-11 09:17:55.229 11858-11858 DIS                     com.matter.tv.server                 D  Advertise operational node 185BE98A07EE3E3A-FFFFFFEFFFFFFFFF
2024-06-11 09:17:55.231 11858-11858 NsdManager...ceResolver com.matter.tv.server                 I  publish serviceName=185BE98A07EE3E3A-FFFFFFEFFFFFFFFF type=_matter._tcp,_I185BE98A07EE3E3A port=5640
2024-06-11 09:17:55.245 11858-11858 NsdManager...ceResolver com.matter.tv.server                 D  publish chip.platform.NsdManagerServiceResolver$2@5ef9ff6 count = 1
2024-06-11 09:17:55.245 11858-11858 DIS                     com.matter.tv.server                 E  Failed to get primary mac address of device. Generating a random one.
2024-06-11 09:17:55.246 11858-11858 KeyValueStoreManager    com.matter.tv.server                 D  Key 'chip-factory:device-type-id' not found in shared preferences
2024-06-11 09:17:55.247 11858-11858 DL                      com.matter.tv.server                 E  Java exception in AndroidConfig::readConfigValueLong
2024-06-11 09:17:55.249 11858-11858 System.err              com.matter.tv.server                 W  chip.platform.AndroidChipPlatformException
2024-06-11 09:17:55.252 11858-11858 System.err              com.matter.tv.server                 W      at chip.platform.PreferencesConfigurationManager.readConfigValueLong(PreferencesConfigurationManager.java:95)
2024-06-11 09:17:55.253 11858-11858 System.err              com.matter.tv.server                 W      at chip.appserver.ChipAppServer.startApp(Native Method)
2024-06-11 09:17:55.255 11858-11858 System.err              com.matter.tv.server                 W      at com.matter.tv.server.service.MatterServant.init(MatterServant.java:134)
2024-06-11 09:17:55.258 11858-11858 System.err              com.matter.tv.server                 W      at com.matter.tv.server.service.MatterServantService.onCreate(MatterServantService.java:23)
2024-06-11 09:17:55.260 11858-11858 System.err              com.matter.tv.server                 W      at android.app.ActivityThread.handleCreateService(ActivityThread.java:4487)
2024-06-11 09:17:55.263 11858-11858 System.err              com.matter.tv.server                 W      at android.app.ActivityThread.access$1700(ActivityThread.java:247)
2024-06-11 09:17:55.265 11858-11858 System.err              com.matter.tv.server                 W      at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2072)
2024-06-11 09:17:55.267 11858-11858 System.err              com.matter.tv.server                 W      at android.os.Handler.dispatchMessage(Handler.java:106)
2024-06-11 09:17:55.269 11858-11858 System.err              com.matter.tv.server                 W      at android.os.Looper.loopOnce(Looper.java:201)
2024-06-11 09:17:55.270 11858-11858 System.err              com.matter.tv.server                 W      at android.os.Looper.loop(Looper.java:288)
2024-06-11 09:17:55.272 11858-11858 System.err              com.matter.tv.server                 W      at android.app.ActivityThread.main(ActivityThread.java:7839)
2024-06-11 09:17:55.274 11858-11858 System.err              com.matter.tv.server                 W      at java.lang.reflect.Method.invoke(Native Method)
2024-06-11 09:17:55.276 11858-11858 System.err              com.matter.tv.server                 W      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
2024-06-11 09:17:55.278 11858-11858 System.err              com.matter.tv.server                 W      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
2024-06-11 09:17:55.279 11858-11858 KeyValueStoreManager    com.matter.tv.server                 D  Key 'chip-factory:device-name' not found in shared preferences
2024-06-11 09:17:55.280 11858-11858 DL                      com.matter.tv.server                 E  Java exception in AndroidConfig::ReadConfigValueStr
2024-06-11 09:17:55.281 11858-11858 System.err              com.matter.tv.server                 W  chip.platform.AndroidChipPlatformException
2024-06-11 09:17:55.283 11858-11858 System.err              com.matter.tv.server                 W      at chip.platform.PreferencesConfigurationManager.readConfigValueStr(PreferencesConfigurationManager.java:181)
2024-06-11 09:17:55.283 11858-11858 System.err              com.matter.tv.server                 W      at chip.appserver.ChipAppServer.startApp(Native Method)
2024-06-11 09:17:55.284 11858-11858 System.err              com.matter.tv.server                 W      at com.matter.tv.server.service.MatterServant.init(MatterServant.java:134)
2024-06-11 09:17:55.285 11858-11858 System.err              com.matter.tv.server                 W      at com.matter.tv.server.service.MatterServantService.onCreate(MatterServantService.java:23)
2024-06-11 09:17:55.286 11858-11858 System.err              com.matter.tv.server                 W      at android.app.ActivityThread.handleCreateService(ActivityThread.java:4487)
2024-06-11 09:17:55.288 11858-11858 System.err              com.matter.tv.server                 W      at android.app.ActivityThread.access$1700(ActivityThread.java:247)
2024-06-11 09:17:55.289 11858-11858 System.err              com.matter.tv.server                 W      at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2072)
2024-06-11 09:17:55.290 11858-11858 System.err              com.matter.tv.server                 W      at android.os.Handler.dispatchMessage(Handler.java:106)
2024-06-11 09:17:55.291 11858-11858 System.err              com.matter.tv.server                 W      at android.os.Looper.loopOnce(Looper.java:201)
2024-06-11 09:17:55.292 11858-11858 System.err              com.matter.tv.server                 W      at android.os.Looper.loop(Looper.java:288)
2024-06-11 09:17:55.293 11858-11858 System.err              com.matter.tv.server                 W      at android.app.ActivityThread.main(ActivityThread.java:7839)
2024-06-11 09:17:55.294 11858-11858 System.err              com.matter.tv.server                 W      at java.lang.reflect.Method.invoke(Native Method)
2024-06-11 09:17:55.295 11858-11858 System.err              com.matter.tv.server                 W      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
2024-06-11 09:17:55.296 11858-11858 System.err              com.matter.tv.server                 W      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
2024-06-11 09:17:55.297 11858-11858 DIS                     com.matter.tv.server                 D  Advertise commission parameter vendorID=65521 productID=32771 discriminator=3840/15 cm=0 cp=0
2024-06-11 09:17:55.298 11858-11858 NsdManager...ceResolver com.matter.tv.server                 I  publish serviceName=CD1F67B0FE4C95C5 type=_matterc._udp,_V65521,_T35,_S15,_L3840 port=5640
2024-06-11 09:17:55.301 11858-11858 NsdManager...ceResolver com.matter.tv.server                 I       VP=65521+32771
2024-06-11 09:17:55.303 11858-11858 NsdManager...ceResolver com.matter.tv.server                 I       DT=35
2024-06-11 09:17:55.306 11858-11858 NsdManager...ceResolver com.matter.tv.server                 I       DN=Test TV Lukas
2024-06-11 09:17:55.308 11858-11858 NsdManager...ceResolver com.matter.tv.server                 I       D=3840
2024-06-11 09:17:55.311 11858-11858 NsdManager...ceResolver com.matter.tv.server                 I       CM=0
2024-06-11 09:17:55.314 11858-11858 NsdManager...ceResolver com.matter.tv.server                 I       PH=36
2024-06-11 09:17:55.317 11858-11858 NsdManager...ceResolver com.matter.tv.server                 I       PI=
2024-06-11 09:17:55.324 11858-11858 NsdManager...ceResolver com.matter.tv.server                 D  publish chip.platform.NsdManagerServiceResolver$2@f6dc582 count = 2
2024-06-11 09:17:55.325 11858-11858 DIS                     com.matter.tv.server                 D  Scheduling extended discovery timeout in 86400s
2024-06-11 09:17:55.325 11858-11858 DIS                     com.matter.tv.server                 E  Failed to get primary mac address of device. Generating a random one.
2024-06-11 09:17:55.326 11858-11858 KeyValueStoreManager    com.matter.tv.server                 D  Key 'chip-factory:device-type-id' not found in shared preferences
2024-06-11 09:17:55.326 11858-11858 DL                      com.matter.tv.server                 E  Java exception in AndroidConfig::readConfigValueLong
2024-06-11 09:17:55.327 11858-11858 System.err              com.matter.tv.server                 W  chip.platform.AndroidChipPlatformException
2024-06-11 09:17:55.328 11858-11858 System.err              com.matter.tv.server                 W      at chip.platform.PreferencesConfigurationManager.readConfigValueLong(PreferencesConfigurationManager.java:95)
2024-06-11 09:17:55.329 11858-11858 System.err              com.matter.tv.server                 W      at chip.appserver.ChipAppServer.startApp(Native Method)
2024-06-11 09:17:55.330 11858-11858 System.err              com.matter.tv.server                 W      at com.matter.tv.server.service.MatterServant.init(MatterServant.java:134)
2024-06-11 09:17:55.332 11858-11858 System.err              com.matter.tv.server                 W      at com.matter.tv.server.service.MatterServantService.onCreate(MatterServantService.java:23)
2024-06-11 09:17:55.333 11858-11858 System.err              com.matter.tv.server                 W      at android.app.ActivityThread.handleCreateService(ActivityThread.java:4487)
2024-06-11 09:17:55.334 11858-11858 System.err              com.matter.tv.server                 W      at android.app.ActivityThread.access$1700(ActivityThread.java:247)
2024-06-11 09:17:55.335 11858-11858 System.err              com.matter.tv.server                 W      at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2072)
2024-06-11 09:17:55.336 11858-11858 System.err              com.matter.tv.server                 W      at android.os.Handler.dispatchMessage(Handler.java:106)
2024-06-11 09:17:55.337 11858-11858 System.err              com.matter.tv.server                 W      at android.os.Looper.loopOnce(Looper.java:201)
2024-06-11 09:17:55.338 11858-11858 System.err              com.matter.tv.server                 W      at android.os.Looper.loop(Looper.java:288)
2024-06-11 09:17:55.339 11858-11858 System.err              com.matter.tv.server                 W      at android.app.ActivityThread.main(ActivityThread.java:7839)
2024-06-11 09:17:55.340 11858-11858 System.err              com.matter.tv.server                 W      at java.lang.reflect.Method.invoke(Native Method)
2024-06-11 09:17:55.341 11858-11858 System.err              com.matter.tv.server                 W      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
2024-06-11 09:17:55.342 11858-11858 System.err              com.matter.tv.server                 W      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
2024-06-11 09:17:55.343 11858-11858 KeyValueStoreManager    com.matter.tv.server                 D  Key 'chip-factory:device-name' not found in shared preferences
2024-06-11 09:17:55.343 11858-11858 DL                      com.matter.tv.server                 E  Java exception in AndroidConfig::ReadConfigValueStr
2024-06-11 09:17:55.344 11858-11858 System.err              com.matter.tv.server                 W  chip.platform.AndroidChipPlatformException
2024-06-11 09:17:55.345 11858-11858 System.err              com.matter.tv.server                 W      at chip.platform.PreferencesConfigurationManager.readConfigValueStr(PreferencesConfigurationManager.java:181)
2024-06-11 09:17:55.346 11858-11858 System.err              com.matter.tv.server                 W      at chip.appserver.ChipAppServer.startApp(Native Method)
2024-06-11 09:17:55.347 11858-11858 System.err              com.matter.tv.server                 W      at com.matter.tv.server.service.MatterServant.init(MatterServant.java:134)
2024-06-11 09:17:55.348 11858-11858 System.err              com.matter.tv.server                 W      at com.matter.tv.server.service.MatterServantService.onCreate(MatterServantService.java:23)
2024-06-11 09:17:55.349 11858-11858 System.err              com.matter.tv.server                 W      at android.app.ActivityThread.handleCreateService(ActivityThread.java:4487)
2024-06-11 09:17:55.349 11858-11858 System.err              com.matter.tv.server                 W      at android.app.ActivityThread.access$1700(ActivityThread.java:247)
2024-06-11 09:17:55.350 11858-11858 System.err              com.matter.tv.server                 W      at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2072)
2024-06-11 09:17:55.351 11858-11858 System.err              com.matter.tv.server                 W      at android.os.Handler.dispatchMessage(Handler.java:106)
2024-06-11 09:17:55.352 11858-11858 System.err              com.matter.tv.server                 W      at android.os.Looper.loopOnce(Looper.java:201)
2024-06-11 09:17:55.353 11858-11858 System.err              com.matter.tv.server                 W      at android.os.Looper.loop(Looper.java:288)
2024-06-11 09:17:55.354 11858-11858 System.err              com.matter.tv.server                 W      at android.app.ActivityThread.main(ActivityThread.java:7839)
2024-06-11 09:17:55.354 11858-11858 System.err              com.matter.tv.server                 W      at java.lang.reflect.Method.invoke(Native Method)
2024-06-11 09:17:55.355 11858-11858 System.err              com.matter.tv.server                 W      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
2024-06-11 09:17:55.356 11858-11858 System.err              com.matter.tv.server                 W      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
2024-06-11 09:17:55.356 11858-11858 DIS                     com.matter.tv.server                 D  Advertise commission parameter vendorID=65521 productID=32771 discriminator=0000/00 cm=0 cp=1
2024-06-11 09:17:55.357 11858-11858 NsdManager...ceResolver com.matter.tv.server                 I  publish serviceName=CD1F67B0FE4C95C5 type=_matterd._udp,_V65521,_T35 port=5650
2024-06-11 09:17:55.358 11858-11858 NsdManager...ceResolver com.matter.tv.server                 I       VP=65521+32771
2024-06-11 09:17:55.359 11858-11858 NsdManager...ceResolver com.matter.tv.server                 I       DT=35
2024-06-11 09:17:55.361 11858-11858 NsdManager...ceResolver com.matter.tv.server                 I       DN=Test TV Lukas
2024-06-11 09:17:55.362 11858-11858 NsdManager...ceResolver com.matter.tv.server                 I       CP=1
2024-06-11 09:17:55.367 11858-11858 NsdManager...ceResolver com.matter.tv.server                 D  publish chip.platform.NsdManagerServiceResolver$2@d2644c9 count = 3
2024-06-11 09:17:55.367 11858-11858 IN                      com.matter.tv.server                 D  CASE Server enabling CASE session setups
2024-06-11 09:17:55.367 11858-11858 IN                      com.matter.tv.server                 D  SecureSession[0xf1f44370]: Allocated Type:2 LSID:29495
2024-06-11 09:17:55.368 11858-11858 SC                      com.matter.tv.server                 D  Allocated SecureSession (0xf1f44370) - waiting for Sigma1 msg
2024-06-11 09:17:55.368 11858-11858 SVR                     com.matter.tv.server                 D  Joining Multicast groups
2024-06-11 09:17:55.368 11858-11858 ZCL                     com.matter.tv.server                 D  Emitting StartUp event
2024-06-11 09:17:55.370 11858-11858 EVL                     com.matter.tv.server                 D  LogEvent event number: 0x0000000000010000 priority: 2, endpoint id:  0x0 cluster id: 0x0000_0028 event id: 0x0 Sys timestamp: 0x0000000000000197
2024-06-11 09:17:55.370 11858-11858 SVR                     com.matter.tv.server                 D  Server initialization complete
2024-06-11 09:17:55.370 11858-11858 SVR                     com.matter.tv.server                 D  Server Listening...
2024-06-11 09:17:55.371 11858-12120 SVR                     com.matter.tv.server                 D  IO thread starting
2024-06-11 09:17:55.371 11858-12120 DIS                     com.matter.tv.server                 D  Updating services using commissioning mode 0
2024-06-11 09:17:55.371 11858-12120 NsdManager...ceResolver com.matter.tv.server                 D  removeServices: 
2024-06-11 09:17:55.378 11858-12120 NsdManager...ceResolver com.matter.tv.server                 I  Remove chip.platform.NsdManagerServiceResolver$2@5ef9ff6
2024-06-11 09:17:55.380 11858-12120 NsdManager...ceResolver com.matter.tv.server                 I  Remove chip.platform.NsdManagerServiceResolver$2@f6dc582
2024-06-11 09:17:55.382 11858-12120 NsdManager...ceResolver com.matter.tv.server                 I  Remove chip.platform.NsdManagerServiceResolver$2@d2644c9
2024-06-11 09:17:55.383 11858-12120 DIS                     com.matter.tv.server                 E  Failed to get primary mac address of device. Generating a random one.
2024-06-11 09:17:55.383 11858-12120 DIS                     com.matter.tv.server                 D  Advertise operational node 185BE98A07EE3E3A-FFFFFFEFFFFFFFFF
2024-06-11 09:17:55.384 11858-12120 NsdManager...ceResolver com.matter.tv.server                 I  publish serviceName=185BE98A07EE3E3A-FFFFFFEFFFFFFFFF type=_matter._tcp,_I185BE98A07EE3E3A port=5640
2024-06-11 09:17:55.387 11858-12117 NsdManager...ceResolver com.matter.tv.server                 I  service 185BE98A07EE3E3A-FFFFFFEFFFFFFFFF(chip.platform.NsdManagerServiceResolver$2@5ef9ff6) onServiceUnregistered
2024-06-11 09:17:55.388 11858-11858 UserPrompterResolver    com.matter.tv.server                 D     -------------            createNotificationChannel
2024-06-11 09:17:55.391 11858-12117 NsdManager...ceResolver com.matter.tv.server                 I  service CD1F67B0FE4C95C5(chip.platform.NsdManagerServiceResolver$2@f6dc582) onServiceUnregistered
2024-06-11 09:17:55.392 11858-12120 NsdManager...ceResolver com.matter.tv.server                 D  publish chip.platform.NsdManagerServiceResolver$2@eb6b7ce count = 1
2024-06-11 09:17:55.392 11858-12120 DIS                     com.matter.tv.server                 E  Failed to get primary mac address of device. Generating a random one.
2024-06-11 09:17:55.393 11858-12120 KeyValueStoreManager    com.matter.tv.server                 D  Key 'chip-factory:device-type-id' not found in shared preferences
2024-06-11 09:17:55.393 11858-12120 DL                      com.matter.tv.server                 E  Java exception in AndroidConfig::readConfigValueLong
2024-06-11 09:17:55.394 11858-12120 System.err              com.matter.tv.server                 W  chip.platform.AndroidChipPlatformException
2024-06-11 09:17:55.395 11858-12120 System.err              com.matter.tv.server                 W      at chip.platform.PreferencesConfigurationManager.readConfigValueLong(PreferencesConfigurationManager.java:95)
2024-06-11 09:17:55.395 11858-12120 KeyValueStoreManager    com.matter.tv.server                 D  Key 'chip-factory:device-name' not found in shared preferences
2024-06-11 09:17:55.397 11858-12117 NsdManager...ceResolver com.matter.tv.server                 I  service CD1F67B0FE4C95C5(chip.platform.NsdManagerServiceResolver$2@d2644c9) onServiceUnregistered
2024-06-11 09:17:55.397 11858-12120 DL                      com.matter.tv.server                 E  Java exception in AndroidConfig::ReadConfigValueStr
2024-06-11 09:17:55.397 11858-11858 SVR                     com.matter.tv.server                 D  Starting commissioner
2024-06-11 09:17:55.397 11858-11858 SPT                     com.matter.tv.server                 D   ----- Commissioner using vendorId 0xFFF1
2024-06-11 09:17:55.397 11858-11858 SVR                     com.matter.tv.server                 D  Retrieving value from server storage.
2024-06-11 09:17:55.398 11858-11858 SVR                     com.matter.tv.server                 D  Retrieved value from server storage.
2024-06-11 09:17:55.398 11858-11858 SVR                     com.matter.tv.server                 D  Retrieving value from server storage.
2024-06-11 09:17:55.398 11858-11858 SVR                     com.matter.tv.server                 D  Retrieved value from server storage.
2024-06-11 09:17:55.398 11858-11858 SPT                     com.matter.tv.server                 D   ----- UDC listening on port 5650
2024-06-11 09:17:55.398 11858-12120 System.err              com.matter.tv.server                 W  chip.platform.AndroidChipPlatformException
2024-06-11 09:17:55.399 11858-12120 System.err              com.matter.tv.server                 W      at chip.platform.PreferencesConfigurationManager.readConfigValueStr(PreferencesConfigurationManager.java:181)
2024-06-11 09:17:55.427 11858-11858 SVR                     com.matter.tv.server                 D  Retrieving value from server storage.
2024-06-11 09:17:55.428 11858-11858 SVR                     com.matter.tv.server                 D  Retrieved value from server storage.
2024-06-11 09:17:55.428 11858-11858 SVR                     com.matter.tv.server                 D  Retrieving value from server storage.
2024-06-11 09:17:55.428 11858-11858 SVR                     com.matter.tv.server                 D  Retrieved value from server storage.
2024-06-11 09:17:55.428 11858-11858 CTL                     com.matter.tv.server                 D  Generating NOC
2024-06-11 09:17:55.459 11858-11858 CTL                     com.matter.tv.server                 D  Setting attestation nonce from parameters
2024-06-11 09:17:55.459 11858-11858 CTL                     com.matter.tv.server                 D  Setting CSR nonce from parameters
2024-06-11 09:17:55.459 11858-11858 IN                      com.matter.tv.server                 D  UDP::Init bind&listen port=5652
2024-06-11 09:17:55.459 11858-11858 IN                      com.matter.tv.server                 D  UDP::Init bound to port=5652
2024-06-11 09:17:55.459 11858-11858 IN                      com.matter.tv.server                 D  UDP::Init bind&listen port=5652
2024-06-11 09:17:55.459 11858-11858 IN                      com.matter.tv.server                 D  UDP::Init bound to port=5652
2024-06-11 09:17:55.459 11858-11858 IN                      com.matter.tv.server                 D  TransportMgr initialized
2024-06-11 09:17:55.460 11858-11858 SVR                     com.matter.tv.server                 D  Retrieving value from server storage.
2024-06-11 09:17:55.460 11858-11858 SVR                     com.matter.tv.server                 D  Retrieved value from server storage.
2024-06-11 09:17:55.460 11858-11858 SVR                     com.matter.tv.server                 D  Retrieving value from server storage.
2024-06-11 09:17:55.460 11858-11858 SVR                     com.matter.tv.server                 D  Retrieved value from server storage.
2024-06-11 09:17:55.460 11858-11858 SVR                     com.matter.tv.server                 D  Stored value in server storage
2024-06-11 09:17:55.463 11858-11858 SVR                     com.matter.tv.server                 D  Stored value in server storage
2024-06-11 09:17:55.470 11858-11858 ZCL                     com.matter.tv.server                 D  Using ZAP configuration...
2024-06-11 09:17:55.470 11858-11858 KeyValueStoreManager    com.matter.tv.server                 D  Key 'g/a/0/28/5' not found in shared preferences
2024-06-11 09:17:55.470 11858-11858 DMG                     com.matter.tv.server                 D  Failed to read stored attribute (0, 0x0000_0028, 0x0000_0005: src/platform/android/KeyValueStoreManagerImpl.cpp:102: CHIP Error 0x000000A0: Value not found in the persisted storage
2024-06-11 09:17:55.471 11858-11858 KeyValueStoreManager    com.matter.tv.server                 D  Key 'g/a/0/28/10' not found in shared preferences
2024-06-11 09:17:55.471 11858-11858 DMG                     com.matter.tv.server                 D  Failed to read stored attribute (0, 0x0000_0028, 0x0000_0010: src/platform/android/KeyValueStoreManagerImpl.cpp:102: CHIP Error 0x000000A0: Value not found in the persisted storage
2024-06-11 09:17:55.471 11858-11858 KeyValueStoreManager    com.matter.tv.server                 D  Key 'g/a/0/2b/0' not found in shared preferences
2024-06-11 09:17:55.471 11858-11858 DMG                     com.matter.tv.server                 D  Failed to read stored attribute (0, 0x0000_002B, 0x0000_0000: src/platform/android/KeyValueStoreManagerImpl.cpp:102: CHIP Error 0x000000A0: Value not found in the persisted storage
2024-06-11 09:17:55.471 11858-11858 KeyValueStoreManager    com.matter.tv.server                 D  Key 'g/a/0/2c/0' not found in shared preferences
2024-06-11 09:17:55.471 11858-11858 DMG                     com.matter.tv.server                 D  Failed to read stored attribute (0, 0x0000_002C, 0x0000_0000: src/platform/android/KeyValueStoreManagerImpl.cpp:102: CHIP Error 0x000000A0: Value not found in the persisted storage
2024-06-11 09:17:55.472 11858-11858 KeyValueStoreManager    com.matter.tv.server                 D  Key 'g/a/0/2c/1' not found in shared preferences
2024-06-11 09:17:55.472 11858-11858 DMG                     com.matter.tv.server                 D  Failed to read stored attribute (0, 0x0000_002C, 0x0000_0001: src/platform/android/KeyValueStoreManagerImpl.cpp:102: CHIP Error 0x000000A0: Value not found in the persisted storage
2024-06-11 09:17:55.472 11858-11858 KeyValueStoreManager    com.matter.tv.server                 D  Key 'g/a/0/2d/0' not found in shared preferences
2024-06-11 09:17:55.472 11858-11858 DMG                     com.matter.tv.server                 D  Failed to read stored attribute (0, 0x0000_002D, 0x0000_0000: src/platform/android/KeyValueStoreManagerImpl.cpp:102: CHIP Error 0x000000A0: Value not found in the persisted storage
2024-06-11 09:17:55.473 11858-11858 KeyValueStoreManager    com.matter.tv.server                 D  Key 'g/a/2/8/4000' not found in shared preferences
2024-06-11 09:17:55.473 11858-11858 DMG                     com.matter.tv.server                 D  Failed to read stored attribute (2, 0x0000_0008, 0x0000_4000: src/platform/android/KeyValueStoreManagerImpl.cpp:102: CHIP Error 0x000000A0: Value not found in the persisted storage
2024-06-11 09:17:55.473 11858-11858 DMG                     com.matter.tv.server                 D  AccessControlCluster: initializing
2024-06-11 09:17:55.473 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.473 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.473 11858-11858 ZCL                     com.matter.tv.server                 D  Initiating Admin Commissioning cluster.
2024-06-11 09:17:55.473 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.473 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.473 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.473 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.473 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.473 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.473 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.473 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.473 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.473 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.473 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.474 11858-11858 DMG                     com.matter.tv.server                 D  Endpoint 0, Cluster 0x0000_0030 update version to 9043af60
2024-06-11 09:17:55.474 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.474 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.474 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.474 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.474 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.474 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.474 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.474 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.474 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.474 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.474 11858-11858 IM                      com.matter.tv.server                 E  Duplicate command handler registration failed
2024-06-11 09:17:55.474 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.474 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.474 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.474 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.474 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.474 11858-11858 ZCL                     com.matter.tv.server                 E  Duplicate attribute override registration failed
2024-06-11 09:17:55.474 11858-11858 ZCL                     com.matter.tv.server                 E  DeviceInfoProvider is not registered
2024-06-11 09:17:55.474 11858-11858 ZCL                     com.matter.tv.server                 E  Trying to write invalid Calendar Type
2024-06-11 09:17:55.474 11858-11858 ZCL                     com.matter.tv.server                 E  Failed to write calendar type with error: 0x87
2024-06-11 09:17:55.474 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App::OnOff::PostClusterInit
2024-06-11 09:17:55.474 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 6 at 1
2024-06-11 09:17:55.475 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: OnOffManager::NewManager
2024-06-11 09:17:55.475 11858-11858 ZCL                     com.matter.tv.server                 E  TV Android App::OnOff::NewManager: endpoint 1 already has a manager
2024-06-11 09:17:55.475 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: WakeOnLan::PostClusterInit
2024-06-11 09:17:55.476 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 1283 at 1
2024-06-11 09:17:55.476 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: WakeOnLan::SetDefaultDelegate
2024-06-11 09:17:55.476 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: Channel::PostClusterInit
2024-06-11 09:17:55.477 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 1284 at 1
2024-06-11 09:17:55.478 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: Channel::SetDefaultDelegate
2024-06-11 09:17:55.478 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: TargetNavigator::SetDefaultDelegate
2024-06-11 09:17:55.478 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: MediaPlayback::PostClusterInit
2024-06-11 09:17:55.479 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 1286 at 1
2024-06-11 09:17:55.479 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: MediaPlayback::SetDefaultDelegate
2024-06-11 09:17:55.479 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: MediaInput::PostClusterInit
2024-06-11 09:17:55.480 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 1287 at 1
2024-06-11 09:17:55.481 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: MediaInput::SetDefaultDelegate
2024-06-11 09:17:55.481 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: LowPower::PostClusterInit
2024-06-11 09:17:55.482 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 1288 at 1
2024-06-11 09:17:55.482 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: LowPower::SetDefaultDelegate
2024-06-11 09:17:55.482 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: KeypadInput::PostClusterInit
2024-06-11 09:17:55.483 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 1289 at 1
2024-06-11 09:17:55.484 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: KeypadInput::SetDefaultDelegate
2024-06-11 09:17:55.484 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: ContentLauncher::PostClusterInit
2024-06-11 09:17:55.484 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 1290 at 1
2024-06-11 09:17:55.485 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: ContentLauncher::SetDefaultDelegate
2024-06-11 09:17:55.485 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: AudioOutput::SetDefaultDelegate
2024-06-11 09:17:55.485 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: ApplicationLauncher::SetDefaultDelegate
2024-06-11 09:17:55.485 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App::OnOff::PostClusterInit
2024-06-11 09:17:55.486 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 6 at 2
2024-06-11 09:17:55.487 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: OnOffManager::NewManager
2024-06-11 09:17:55.487 11858-11858 ZCL                     com.matter.tv.server                 E  TV Android App::OnOff::NewManager: endpoint 2 already has a manager
2024-06-11 09:17:55.487 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App::Level::PostClusterInit
2024-06-11 09:17:55.487 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 8 at 2
2024-06-11 09:17:55.488 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: LevelManager::NewManager
2024-06-11 09:17:55.488 11858-11858 ZCL                     com.matter.tv.server                 E  TV Android App::Level::NewManager: endpoint 2 already has a manager
2024-06-11 09:17:55.495 11858-11858 DMG                     com.matter.tv.server                 D  Endpoint 2, Cluster 0x0000_0008 update version to 50a4fdf3
2024-06-11 09:17:55.495 11858-11858 ZCL                     com.matter.tv.server                 D  Received level command endpoint 2 value = 0
2024-06-11 09:17:55.495 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: LevelManager::PostLevelChanged
2024-06-11 09:17:55.495 11858-11858 ZCL                     com.matter.tv.server                 D  LevelManager::HandleLevelChanged
2024-06-11 09:17:55.495 11858-11858 LevelManagerStub        com.matter.tv.server                 D  HandleOnOffChanged for mEndpoint 2 = 0
2024-06-11 09:17:55.495 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: Channel::PostClusterInit
2024-06-11 09:17:55.496 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 1284 at 3
2024-06-11 09:17:55.497 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: Channel::SetDefaultDelegate
2024-06-11 09:17:55.497 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: TargetNavigator::SetDefaultDelegate
2024-06-11 09:17:55.497 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: MediaPlayback::PostClusterInit
2024-06-11 09:17:55.498 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 1286 at 3
2024-06-11 09:17:55.498 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: MediaPlayback::SetDefaultDelegate
2024-06-11 09:17:55.498 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: KeypadInput::PostClusterInit
2024-06-11 09:17:55.499 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 1289 at 3
2024-06-11 09:17:55.499 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: KeypadInput::SetDefaultDelegate
2024-06-11 09:17:55.500 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: ContentLauncher::PostClusterInit
2024-06-11 09:17:55.500 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 1290 at 3
2024-06-11 09:17:55.501 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: ContentLauncher::SetDefaultDelegate
2024-06-11 09:17:55.501 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: ApplicationLauncher::SetDefaultDelegate
2024-06-11 09:17:55.501 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: ApplicationBasic::SetDefaultDelegate
2024-06-11 09:17:55.501 11858-11858 CTL                     com.matter.tv.server                 D  System State Initialized...
2024-06-11 09:17:55.503 11858-11858 FP                      com.matter.tv.server                 D  Validating NOC chain
2024-06-11 09:17:55.626 11858-11858 FP                      com.matter.tv.server                 D  NOC chain validation successful
2024-06-11 09:17:55.626 11858-11858 FP                      com.matter.tv.server                 D  Updated fabric at index: 0x1, Node ID: 0xFFFFFFEFFFFFFFFF
2024-06-11 09:17:55.626 11858-11858 TS                      com.matter.tv.server                 D  Last Known Good Time: 2023-10-14T01:16:48
2024-06-11 09:17:55.626 11858-11858 TS                      com.matter.tv.server                 D  New proposed Last Known Good Time: 2021-01-01T00:00:00
2024-06-11 09:17:55.626 11858-11858 TS                      com.matter.tv.server                 D  Retaining current Last Known Good Time
2024-06-11 09:17:55.626 11858-11858 SVR                     com.matter.tv.server                 D  Retrieving value from server storage.
2024-06-11 09:17:55.627 11858-11858 KeyValueStoreManager    com.matter.tv.server                 D  Key 'g/sri' not found in shared preferences
2024-06-11 09:17:55.627 11858-11858 DMG                     com.matter.tv.server                 D  Endpoint 0, Cluster 0x0000_003E update version to 1d239e51
2024-06-11 09:17:55.627 11858-11858 DMG                     com.matter.tv.server                 D  Endpoint 0, Cluster 0x0000_003E update version to 1d239e52
2024-06-11 09:17:55.627 11858-11858 KeyValueStoreManager    com.matter.tv.server                 D  Key 'g/sri' not found in shared preferences
2024-06-11 09:17:55.637 11858-11858 FP                      com.matter.tv.server                 D  Metadata for Fabric 0x1 persisted to storage.
2024-06-11 09:17:55.637 11858-11858 KeyValueStoreManager    com.matter.tv.server                 D  Key 'f/1/o' not found in shared preferences
2024-06-11 09:17:55.651 11858-11858 TS                      com.matter.tv.server                 D  Committing Last Known Good Time to storage: 2023-10-14T01:16:48
2024-06-11 09:17:55.659 11858-11858 ZCL                     com.matter.tv.server                 D  OpCreds: Fabric index 0x1 was committed to storage. Compressed Fabric Id 0x185BE98A07EE3E3A, FabricId 0000000000000001, NodeId FFFFFFEFFFFFFFFF, VendorId 0xFFF1
2024-06-11 09:17:55.666 11858-11858 CTL                     com.matter.tv.server                 D  Joined the fabric at index 1. Fabric ID is 0x0000000000000001 (Compressed Fabric ID: 185BE98A07EE3E3A)
2024-06-11 09:17:55.666 11858-11858 CTL                     com.matter.tv.server                 D  *** Missing DeviceAttestationVerifier configuration at DeviceCommissioner init: using global default, consider passing one in CommissionerInitParams.
2024-06-11 09:17:55.666 11858-11858 IN                      com.matter.tv.server                 D  UDP::Init bind&listen port=5650
2024-06-11 09:17:55.666 11858-11858 IN                      com.matter.tv.server                 D  UDP::Init bound to port=5650
2024-06-11 09:17:55.666 11858-11858 IN                      com.matter.tv.server                 D  UDP::Init bind&listen port=5650
2024-06-11 09:17:55.666 11858-11858 IN                      com.matter.tv.server                 D  UDP::Init bound to port=5650
2024-06-11 09:17:55.666 11858-11858 IN                      com.matter.tv.server                 D  TransportMgr initialized
2024-06-11 09:17:55.667 11858-11858 SPT                     com.matter.tv.server                 D  Setting up group data for Fabric Index 1 with Compressed Fabric ID:
2024-06-11 09:17:55.667 11858-11858 SPT                     com.matter.tv.server                 D  0x18, 0x5b, 0xe9, 0x8a, 0x07, 0xee, 0x3e, 0x3a, 
2024-06-11 09:17:55.667 11858-11858 SVR                     com.matter.tv.server                 D  Retrieving value from server storage.
2024-06-11 09:17:55.667 11858-11858 SVR                     com.matter.tv.server                 D  Retrieved value from server storage.
2024-06-11 09:17:55.667 11858-11858 SVR                     com.matter.tv.server                 D  Retrieving value from server storage.
2024-06-11 09:17:55.667 11858-11858 SVR                     com.matter.tv.server                 D  Retrieved value from server storage.
2024-06-11 09:17:55.668 11858-11858 SVR                     com.matter.tv.server                 D  Stored value in server storage
2024-06-11 09:17:55.675 11858-11858 DIS                     com.matter.tv.server                 E  Failed to get primary mac address of device. Generating a random one.
2024-06-11 09:17:55.675 11858-11858 DIS                     com.matter.tv.server                 D  Advertise operational node 185BE98A07EE3E3A-FFFFFFEFFFFFFFFF
2024-06-11 09:17:55.675 11858-12120 DIS                     com.matter.tv.server                 D  Advertise commission parameter vendorID=65521 productID=32771 discriminator=3840/15 cm=0 cp=0
2024-06-11 09:17:55.675 11858-11858 NsdManager...ceResolver com.matter.tv.server                 W  publish: duplicate MF nsdService
2024-06-11 09:17:55.675 11858-11858 SPT                     com.matter.tv.server                 D  InitCommissioner nodeId=0xFFFFFFEFFFFFFFFF fabric.fabricId=0x0000000000000000 fabricIndex=0x1
2024-06-11 09:17:55.675 11858-11858 SVR                     com.matter.tv.server                 D  Started commissioner
2024-06-11 09:17:55.676 11858-12120 NsdManager...ceResolver com.matter.tv.server                 I  publish serviceName=CD1F67B0FE4C95C5 type=_matterc._udp,_V65521,_T35,_S15,_L3840 port=5640
2024-06-11 09:17:55.677 11858-12120 NsdManager...ceResolver com.matter.tv.server                 I       VP=65521+32771
2024-06-11 09:17:55.678 11858-12120 NsdManager...ceResolver com.matter.tv.server                 I       DT=35
2024-06-11 09:17:55.680 11858-12120 NsdManager...ceResolver com.matter.tv.server                 I       DN=Test TV Lukas
2024-06-11 09:17:55.681 11858-12120 NsdManager...ceResolver com.matter.tv.server                 I       D=3840
2024-06-11 09:17:55.683 11858-12120 NsdManager...ceResolver com.matter.tv.server                 I       CM=0
2024-06-11 09:17:55.685 11858-12120 NsdManager...ceResolver com.matter.tv.server                 I       PH=36
2024-06-11 09:17:55.687 11858-12120 NsdManager...ceResolver com.matter.tv.server                 I       PI=
2024-06-11 09:17:55.693 11858-12120 NsdManager...ceResolver com.matter.tv.server                 D  publish chip.platform.NsdManagerServiceResolver$2@88a82da count = 2
2024-06-11 09:17:55.693 11858-12120 DIS                     com.matter.tv.server                 E  Failed to get primary mac address of device. Generating a random one.
2024-06-11 09:17:55.694 11858-12120 KeyValueStoreManager    com.matter.tv.server                 D  Key 'chip-factory:device-type-id' not found in shared preferences
2024-06-11 09:17:55.694 11858-12120 DL                      com.matter.tv.server                 E  Java exception in AndroidConfig::readConfigValueLong
2024-06-11 09:17:55.695 11858-12120 System.err              com.matter.tv.server                 W  chip.platform.AndroidChipPlatformException
2024-06-11 09:17:55.696 11858-12120 System.err              com.matter.tv.server                 W      at chip.platform.PreferencesConfigurationManager.readConfigValueLong(PreferencesConfigurationManager.java:95)
2024-06-11 09:17:55.696 11858-12120 KeyValueStoreManager    com.matter.tv.server                 D  Key 'chip-factory:device-name' not found in shared preferences
2024-06-11 09:17:55.697 11858-12120 DL                      com.matter.tv.server                 E  Java exception in AndroidConfig::ReadConfigValueStr
2024-06-11 09:17:55.698 11858-12120 System.err              com.matter.tv.server                 W  chip.platform.AndroidChipPlatformException
2024-06-11 09:17:55.698 11858-12120 System.err              com.matter.tv.server                 W      at chip.platform.PreferencesConfigurationManager.readConfigValueStr(PreferencesConfigurationManager.java:181)
2024-06-11 09:17:55.699 11858-12120 DIS                     com.matter.tv.server                 D  Advertise commission parameter vendorID=65521 productID=32771 discriminator=0000/00 cm=0 cp=1
2024-06-11 09:17:55.699 11858-12120 NsdManager...ceResolver com.matter.tv.server                 I  publish serviceName=CD1F67B0FE4C95C5 type=_matterd._udp,_V65521,_T35 port=5650
2024-06-11 09:17:55.701 11858-12120 NsdManager...ceResolver com.matter.tv.server                 I       VP=65521+32771
2024-06-11 09:17:55.702 11858-12120 NsdManager...ceResolver com.matter.tv.server                 I       DT=35
2024-06-11 09:17:55.703 11858-12120 NsdManager...ceResolver com.matter.tv.server                 I       DN=Test TV Lukas
2024-06-11 09:17:55.705 11858-12120 NsdManager...ceResolver com.matter.tv.server                 I       CP=1
2024-06-11 09:17:55.710 11858-12120 NsdManager...ceResolver com.matter.tv.server                 D  publish chip.platform.NsdManagerServiceResolver$2@d7cc401 count = 3
2024-06-11 09:17:55.710 11858-12120 DL                      com.matter.tv.server                 E  Long dispatch time: 339 ms, for event type 32786
2024-06-11 09:17:55.754 11858-11858 Activity I...Name is %s com.matter.tv.server                 I  com.example.contentapp
2024-06-11 09:17:55.770 11858-11858 ContentApp...eryService com.matter.tv.server                 D  got static capability for package com.example.contentapp, resourceId: 2131623936
2024-06-11 09:17:55.834 11858-11858 ContentApp...eryService com.matter.tv.server                 I  Registered the matter package updates receiver
2024-06-11 09:17:55.837 11858-11858 DL                      com.matter.tv.server                 D  AppPlatform::SetupAppPlatform()
2024-06-11 09:17:55.837 11858-11858 DL                      com.matter.tv.server                 D  emberAfFixedEndpointCount()=4 mCurrentEndpointId=4
2024-06-11 09:17:55.837 11858-11858 SVR                     com.matter.tv.server                 D  Starting registration of command handler delegates
2024-06-11 09:17:55.837 11858-11858 SVR                     com.matter.tv.server                 D  Registered command handler delegate for cluster 29
2024-06-11 09:17:55.837 11858-11858 SVR                     com.matter.tv.server                 D  Registered command handler delegate for cluster 1293
2024-06-11 09:17:55.837 11858-11858 SVR                     com.matter.tv.server                 D  Registered command handler delegate for cluster 1289
2024-06-11 09:17:55.837 11858-11858 SVR                     com.matter.tv.server                 D  Registered command handler delegate for cluster 1292
2024-06-11 09:17:55.837 11858-11858 SVR                     com.matter.tv.server                 D  Registered command handler delegate for cluster 1294
2024-06-11 09:17:55.837 11858-11858 SVR                     com.matter.tv.server                 D  Registered command handler delegate for cluster 1290
2024-06-11 09:17:55.837 11858-11858 SVR                     com.matter.tv.server                 D  Registered command handler delegate for cluster 1286
2024-06-11 09:17:55.837 11858-11858 SVR                     com.matter.tv.server                 D  Registered command handler delegate for cluster 1285
2024-06-11 09:17:55.837 11858-11858 SVR                     com.matter.tv.server                 D  Registered command handler delegate for cluster 1284
2024-06-11 09:17:55.837 11858-11858 DL                      com.matter.tv.server                 D  TV App: Disabling Fixed Content App Endpoints
2024-06-11 09:17:55.837 11858-11858 DMG                     com.matter.tv.server                 D  Endpoint 0, Cluster 0x0000_001D update version to d8d53bb4
2024-06-11 09:17:55.852 11858-11858 DL                      com.matter.tv.server                 D  AppImpl: AddContentApp vendorId=65521 applicationName=com.example.contentapp 
2024-06-11 09:17:55.852 11858-11858 DL                      com.matter.tv.server                 D  ApplicationBasic[65521]: Application Name="com.example.contentapp"
2024-06-11 09:17:55.852 11858-11858 DL                      com.matter.tv.server                 D  Adding ContentApp with appid 65521 
2024-06-11 09:17:55.852 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: ApplicationBasic::SetDefaultDelegate
2024-06-11 09:17:55.852 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: KeypadInput::PostClusterInit
2024-06-11 09:17:55.853 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 1289 at 4
2024-06-11 09:17:55.854 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: KeypadInput::SetDefaultDelegate
2024-06-11 09:17:55.854 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: ApplicationLauncher::SetDefaultDelegate
2024-06-11 09:17:55.854 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: ContentLauncher::PostClusterInit
2024-06-11 09:17:55.854 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 1290 at 4
2024-06-11 09:17:55.855 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: ContentLauncher::SetDefaultDelegate
2024-06-11 09:17:55.855 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: MediaPlayback::PostClusterInit
2024-06-11 09:17:55.856 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 1286 at 4
2024-06-11 09:17:55.857 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: MediaPlayback::SetDefaultDelegate
2024-06-11 09:17:55.857 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: TargetNavigator::SetDefaultDelegate
2024-06-11 09:17:55.857 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: Channel::PostClusterInit
2024-06-11 09:17:55.857 11858-11858 TvApp                   com.matter.tv.server                 D  postClusterInit for 1284 at 4
2024-06-11 09:17:55.858 11858-11858 ZCL                     com.matter.tv.server                 D  TV Android App: Channel::SetDefaultDelegate
2024-06-11 09:17:55.859 11858-11858 DMG                     com.matter.tv.server                 D  Endpoint 0, Cluster 0x0000_001D update version to d8d53bb5
2024-06-11 09:17:55.859 11858-11858 DL                      com.matter.tv.server                 D  Added ContentApp 65521 to dynamic endpoint 4 (index=0)
2024-06-11 09:17:55.859 11858-11858 DL                      com.matter.tv.server                 D  ContentAppFactoryImpl AddContentApp endpoint returned 4. Endpoint set 4
2024-06-11 09:17:55.891 11858-11858 Compatibil...geReporter com.matter.tv.server                 D  Compat change id reported: 160794467; UID 10098; state: DISABLED
2024-06-11 09:17:55.959 11858-11858 Choreographer           com.matter.tv.server                 I  Skipped 102 frames!  The application may be doing too much work on its main thread.
2024-06-11 09:17:56.105 11858-12117 NsdManager...ceResolver com.matter.tv.server                 I  service 185BE98A07EE3E3A-FFFFFFEFFFFFFFFF(chip.platform.NsdManagerServiceResolver$2@eb6b7ce) onServiceRegistered
2024-06-11 09:17:56.355 11858-12117 NsdManager...ceResolver com.matter.tv.server                 I  service CD1F67B0FE4C95C5(chip.platform.NsdManagerServiceResolver$2@d7cc401) onServiceRegistered
2024-06-11 09:17:56.357 11858-12117 NsdManager...ceResolver com.matter.tv.server                 I  service CD1F67B0FE4C95C5(chip.platform.NsdManagerServiceResolver$2@88a82da) onServiceRegistered
2024-06-11 09:17:57.406 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.platform.config"
2024-06-11 09:17:57.406 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.debug.config"
2024-06-11 09:17:57.407 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_unnamed"
2024-06-11 09:17:57.407 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_default_heap"
2024-06-11 09:17:57.407 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_base_internal"
2024-06-11 09:17:57.407 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_framepool"
2024-06-11 09:17:57.407 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_tiler"
2024-06-11 09:17:57.407 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_program"
2024-06-11 09:17:57.408 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_egl_color_plane"
2024-06-11 09:17:57.408 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_egl_color_plane_imported"
2024-06-11 09:17:57.408 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_vao"
2024-06-11 09:17:57.408 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_img"
2024-06-11 09:17:57.408 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_internal_surface"
2024-06-11 09:17:57.408 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_buf"
2024-06-11 09:17:57.408 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_crc"
2024-06-11 09:17:57.408 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_cpom_hmem"
2024-06-11 09:17:57.408 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_cpom_rsd"
2024-06-11 09:17:57.409 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_cpom_mbs2"
2024-06-11 09:17:57.409 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_cpom_static"
2024-06-11 09:17:57.409 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_cframe_hmem"
2024-06-11 09:17:57.409 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_cframe_sample_pos"
2024-06-11 09:17:57.409 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_cframe_discard"
2024-06-11 09:17:57.409 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_cframe_tess_geom"
2024-06-11 09:17:57.409 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_cobj_hmem"
2024-06-11 09:17:57.409 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_cmar_hmem"
2024-06-11 09:17:57.409 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_cmar_prof_dump"
2024-06-11 09:17:57.409 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_cblend_hmem"
2024-06-11 09:17:57.409 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_gles_hmem"
2024-06-11 09:17:57.410 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_gles_query"
2024-06-11 09:17:57.410 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_gles_query_host"
2024-06-11 09:17:57.410 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_gles_multiview"
2024-06-11 09:17:57.410 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_cdeps_hmem"
2024-06-11 09:17:57.410 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_cmem_suballoc"
2024-06-11 09:17:57.410 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_cmem_hoard"
2024-06-11 09:17:57.410 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_cmem_registry"
2024-06-11 09:17:57.410 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_cl_payload"
2024-06-11 09:17:57.410 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_cl_wlm_tls"
2024-06-11 09:17:57.411 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_cl_hmem"
2024-06-11 09:17:57.411 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_cl_svm"
2024-06-11 09:17:57.411 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_cl_protected"
2024-06-11 09:17:57.411 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_cinstr"
2024-06-11 09:17:57.411 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_gfx_device_memory_cpu_uncached"
2024-06-11 09:17:57.411 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_gfx_device_memory_cpu_cached"
2024-06-11 09:17:57.411 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_gfx_device_memory_transient"
2024-06-11 09:17:57.411 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_gfx_device_memory_protected"
2024-06-11 09:17:57.411 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_gfx_device_external"
2024-06-11 09:17:57.411 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_gfx_device_external_swapchain"
2024-06-11 09:17:57.412 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_gfx_device_internal"
2024-06-11 09:17:57.412 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_gfx_device_internal_host"
2024-06-11 09:17:57.412 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_gfx_device_internal_protected"
2024-06-11 09:17:57.412 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_gfx_device_internal_transient"
2024-06-11 09:17:57.412 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_gfx_descriptor_pool"
2024-06-11 09:17:57.412 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_gfx_command_allocator"
2024-06-11 09:17:57.412 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_gfx_command_allocator_host"
2024-06-11 09:17:57.412 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_gfx_command_allocator_protected"
2024-06-11 09:17:57.412 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_vk_bound_buffer"
2024-06-11 09:17:57.412 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_vk_bound_image"
2024-06-11 09:17:57.413 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_cmar_signal"
2024-06-11 09:17:57.413 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_cmar_flush_chain"
2024-06-11 09:17:57.413 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_cmar_metadata_list"
2024-06-11 09:17:57.413 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_jit"
2024-06-11 09:17:57.413 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.cctx_memory_class_mmu"
2024-06-11 09:17:57.415 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.osu_protected_memory_heap_name"
2024-06-11 09:17:57.415 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.osu_ion_protected_memory_heap_name"
2024-06-11 09:17:57.415 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.platform_agt_frequency_khz"
2024-06-11 09:17:57.415 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.hal_dump_dir"
2024-06-11 09:17:57.416 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.platform.config"
2024-06-11 09:17:57.416 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "vendor.mali.debug.config"
2024-06-11 09:17:57.446 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "ro.vendor.arm.gralloc.no_afbc_usage_mask"
2024-06-11 09:17:57.446 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "ro.vendor.arm.gralloc.no_afbc_usage_flags"
2024-06-11 09:17:57.446 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "ro.vendor.arm.gralloc.shared_access_usage_mask"
2024-06-11 09:17:57.446 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "ro.vendor.arm.gralloc.shared_access_usage_flags"
2024-06-11 09:17:57.447 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "ro.vendor.arm.gralloc.force_back_buffer_usage_mask"
2024-06-11 09:17:57.447 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "ro.vendor.arm.gralloc.force_back_buffer_usage_flags"
2024-06-11 09:17:57.447 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "ro.vendor.arm.gralloc.afrc_rgba_usage_mask"
2024-06-11 09:17:57.447 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "ro.vendor.arm.gralloc.afrc_rgba_usage_flags"
2024-06-11 09:17:57.447 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "ro.vendor.arm.gralloc.afrc_luma_usage_mask"
2024-06-11 09:17:57.447 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "ro.vendor.arm.gralloc.afrc_chroma_usage_mask"
2024-06-11 09:17:57.447 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "ro.vendor.arm.gralloc.afrc_luma_usage_flags"
2024-06-11 09:17:57.447 11858-12007 libc                    com.matter.tv.server                 W  Access denied finding property "ro.vendor.arm.gralloc.afrc_chroma_usage_flags"
2024-06-11 09:17:58.595 11858-11878 OpenGLRenderer          com.matter.tv.server                 I  Davey! duration=4337ms; Flags=1, FrameTimelineVsyncId=31311, IntendedVsync=3265791006924, Vsync=3267492706890, InputEventId=0, HandleInputStart=3267499911432, AnimationStart=3267500122307, PerformTraversalsStart=3267500274474, DrawStart=3269619596058, FrameDeadline=3265807690257, FrameInterval=3267498606682, FrameStartTime=16683333, SyncQueued=3270059913975, SyncStart=3270060078100, IssueDrawCommandsStart=3270091228517, SwapBuffers=3270123080475, FrameCompleted=3270128609267, DequeueBufferDuration=34291, QueueBufferDuration=1407625, GpuCompleted=3270128609267, SwapBuffersCompleted=3270125491058, DisplayPresentTime=8114766590812975392, 
2024-06-11 09:17:58.717 11858-11858 Choreographer           com.matter.tv.server                 I  Skipped 152 frames!  The application may be doing too much work on its main thread.
2024-06-11 09:17:58.865 11858-11875 OpenGLRenderer          com.matter.tv.server                 I  Davey! duration=2684ms; Flags=0, FrameTimelineVsyncId=31318, IntendedVsync=3267709589630, Vsync=3270245456246, InputEventId=0, HandleInputStart=3270257717850, AnimationStart=3270257812017, PerformTraversalsStart=3270283199808, DrawStart=3270324193225, FrameDeadline=3270145356837, FrameInterval=3270256982100, FrameStartTime=16683333, SyncQueued=3270386503308, SyncStart=3270386628767, IssueDrawCommandsStart=3270386851558, SwapBuffers=3270389435600, FrameCompleted=3270394335142, DequeueBufferDuration=36875, QueueBufferDuration=1252750, GpuCompleted=3270394335142, SwapBuffersCompleted=3270392962517, DisplayPresentTime=8115697380394143524, 
2024-06-11 09:19:29.736 11858-12120 SVR                     com.matter.tv.server                 D  UserDirectedCommissioningServer::OnMessageReceived from UDP:192.168.3.171%wlan0:5540
2024-06-11 09:19:29.737 11858-12120 SVR                     com.matter.tv.server                 D  IdentityDeclaration DataLength()=111
2024-06-11 09:19:29.737 11858-12120 SVR                     com.matter.tv.server                 D  TLV found an applist
2024-06-11 09:19:29.737 11858-12120 SVR                     com.matter.tv.server                 D  TLV end of struct TLV
2024-06-11 09:19:29.737 11858-12120 SVR                     com.matter.tv.server                 D  TLV end of array
2024-06-11 09:19:29.737 11858-12120 SVR                     com.matter.tv.server                 E  IdentificationDeclaration::ReadPayload read error src/lib/core/TLVReader.cpp:602: CHIP Error 0x00000021: End of TLV
2024-06-11 09:19:29.737 11858-12120 SVR                     com.matter.tv.server                 D  UDC TLV parse complete
2024-06-11 09:19:29.737 11858-12120 SVR                     com.matter.tv.server                 D  UDC instance=973687D9930504AA 
2024-06-11 09:19:29.737 11858-12120 SVR                     com.matter.tv.server                 D  UDC new instance state received
2024-06-11 09:19:29.737 11858-12120 SVR                     com.matter.tv.server                 D  ---- Identification Declaration Start ----
2024-06-11 09:19:29.737 11858-12120 SVR                     com.matter.tv.server                 D      instance: 973687D9930504AA
2024-06-11 09:19:29.737 11858-12120 SVR                     com.matter.tv.server                 D      device Name: Matter Casting Video Client
2024-06-11 09:19:29.737 11858-12120 SVR                     com.matter.tv.server                 D      vendor id: 65521
2024-06-11 09:19:29.737 11858-12120 SVR                     com.matter.tv.server                 D      product id: 32771
2024-06-11 09:19:29.737 11858-12120 SVR                     com.matter.tv.server                 D      cd port: 5560
2024-06-11 09:19:29.738 11858-12120 SVR                     com.matter.tv.server                 D      rotating id: 1C003F12A0AB3208E557F9BFC525593F0556
2024-06-11 09:19:29.738 11858-12120 SVR                     com.matter.tv.server                 D      app vendor id / product id [0]: 65521/0
2024-06-11 09:19:29.738 11858-12120 SVR                     com.matter.tv.server                 D  ---- Identification Declaration End ----
2024-06-11 09:19:29.738 11858-12120 SVR                     com.matter.tv.server                 D  UDC discovery info provided
2024-06-11 09:19:29.738 11858-12120 SVR                     com.matter.tv.server                 D  TLV write done
2024-06-11 09:19:29.738 11858-12120 SVR                     com.matter.tv.server                 D  ---- Commissioner Declaration Start ----
2024-06-11 09:19:29.738 11858-12120 SVR                     com.matter.tv.server                 D      error code: 13
2024-06-11 09:19:29.738 11858-12120 SVR                     com.matter.tv.server                 D      needs passcode: true
2024-06-11 09:19:29.738 11858-12120 SVR                     com.matter.tv.server                 D  ---- Commissioner Declaration End ----
2024-06-11 09:19:29.738 11858-12120 IN                      com.matter.tv.server                 D  Sending CDC msg
2024-06-11 09:19:29.739 11858-12120 IN                      com.matter.tv.server                 D  CDC msg sent
2024-06-11 09:19:29.739 11858-12120 CTL                     com.matter.tv.server                 D  ------PROMPT USER: Matter Casting Video Client is requesting permission to cast to this TV, approve? [0x0000_FFF1,0x0000_8003,973687D9930504AA,1C003F12A0AB3208E557F9BFC525593F0556]
2024-06-11 09:19:29.742 11858-12120 UserPrompterResolver    com.matter.tv.server                 D  Received prompt for OK permission vendor id:65521 productId:32771. Commissionee: Matter Casting Video Client
strangesource commented 3 months ago

The following logs on the CHIPTVCastingApp:

'B1514E223C40CBBC' to /192.168.1.19, type : ._matterd._udp
2024-06-11 09:19:20.456 20075-27652 NsdManager...ceResolver com.chip.casting                     D  resolve: Timing out
2024-06-11 09:19:20.459 20075-27652 NsdManager...AvailState com.chip.casting                     D  Signaling NsdManager Resolver as free
2024-06-11 09:19:20.460 20075-20075 NsdManager...AvailState com.chip.casting                     D  Found NsdManager Resolver free, using it and marking it as busy
2024-06-11 09:19:23.463 20075-27657 NsdManager...ceResolver com.chip.casting                     D  resolve: Timing out
2024-06-11 09:19:23.465 20075-27657 NsdManager...AvailState com.chip.casting                     D  Signaling NsdManager Resolver as free
2024-06-11 09:19:23.492 20075-20115 NsdService...ndResolver com.chip.casting                     D  Service discovery started. regType: _matterd._udp
2024-06-11 09:19:23.493 20075-20075 DIS                     com.chip.casting                     D   ----- entry [0] : DN Küche
2024-06-11 09:19:23.493 20075-20075 DIS                     com.chip.casting                     D   ----- entry [1] : DT 35
2024-06-11 09:19:23.493 20075-20075 DIS                     com.chip.casting                     D   ----- entry [2] : VP 65521+32769
2024-06-11 09:19:23.493 20075-20075 DIS                     com.chip.casting                     D  Discovered commissionable/commissioner node:
2024-06-11 09:19:23.493 20075-20075 DIS                     com.chip.casting                     D      Hostname: 192.168.1.19
2024-06-11 09:19:23.493 20075-20075 DIS                     com.chip.casting                     D      IP Address #1: 192.168.1.19
2024-06-11 09:19:23.493 20075-20075 DIS                     com.chip.casting                     D      Port: 5550
2024-06-11 09:19:23.494 20075-20075 DIS                     com.chip.casting                     D      Mrp Interval idle: not present
2024-06-11 09:19:23.494 20075-20075 DIS                     com.chip.casting                     D      Mrp Interval active: not present
2024-06-11 09:19:23.494 20075-20075 DIS                     com.chip.casting                     D      Mrp Active Threshold: not present
2024-06-11 09:19:23.494 20075-20075 DIS                     com.chip.casting                     D      TCP Supported: 0
2024-06-11 09:19:23.494 20075-20075 DIS                     com.chip.casting                     D      ICD: not present
2024-06-11 09:19:23.494 20075-20075 DIS                     com.chip.casting                     D      Device Name: Küche
2024-06-11 09:19:23.494 20075-20075 DIS                     com.chip.casting                     D      Vendor ID: 65521
2024-06-11 09:19:23.494 20075-20075 DIS                     com.chip.casting                     D      Product ID: 32769
2024-06-11 09:19:23.494 20075-20075 DIS                     com.chip.casting                     D      Device Type: 35
2024-06-11 09:19:23.494 20075-20075 DIS                     com.chip.casting                     D      Instance Name: B1514E223C40CBBC
2024-06-11 09:19:23.494 20075-20075 DIS                     com.chip.casting                     D      Commissioning Mode: 0
2024-06-11 09:19:23.494 20075-20075 DIS                     com.chip.casting                     D      Supports Commissioner Generated Passcode: false
2024-06-11 09:19:23.494 20075-20075 DIS                     com.chip.casting                     D  DeviceDiscoveryDelegateImpl::OnDiscoveredDevice() called
2024-06-11 09:19:23.494 20075-20075 SVR                     com.chip.casting                     D  Updated Casting Player
2024-06-11 09:19:23.494 20075-20075 SVR                     com.chip.casting                     D  CastingPlayerDiscovery-JNI DiscoveryDelegateImpl::HandleOnUpdated() called with CastingPlayer, ID: 192.168.1.195550
2024-06-11 09:19:23.494 20075-20075 SVR                     com.chip.casting                     D  convertCastingPlayerFromCppToJava() called
2024-06-11 09:19:23.494 20075-20115 NsdService...ndResolver com.chip.casting                     D  onServiceFound: found service not a target for resolution, ignoring name: B1514E223C40CBBC, type: _matterd._udp., subtypes: _T35, hostAddresses: , hostname: null, port: 0, network: 317, expirationTime: 2024-06-11T07:19:20Z, txtRecord: 
2024-06-11 09:19:23.495 20075-20075 CastingPla...geListener com.chip.casting                     I  onChanged() Discovered changes to CastingPlayer with deviceId: 192.168.1.195550
2024-06-11 09:19:23.496 20075-20115 NsdService...ndResolver com.chip.casting                     D  onServiceFound: found target service name: CD1F67B0FE4C95C5, type: _matterd._udp., subtypes: _T35, _V65521, hostAddresses: , hostname: null, port: 0, network: 317, expirationTime: 2024-06-11T07:19:20Z, txtRecord: 
2024-06-11 09:19:23.502 20075-20115 NsdService...ndResolver com.chip.casting                     I  Discovery stopped: _matterd._udp
2024-06-11 09:19:23.508 20075-20115 NsdService...ndResolver com.chip.casting                     I  Resolved service 'CD1F67B0FE4C95C5' to /192.168.3.87, type : ._matterd._udp
2024-06-11 09:19:29.523 20075-20075 DIS                     com.chip.casting                     D   ----- entry [0] : CP 1
2024-06-11 09:19:29.523 20075-20075 DIS                     com.chip.casting                     D   ----- entry [1] : DN Test TV Lukas
2024-06-11 09:19:29.524 20075-20075 DIS                     com.chip.casting                     D   ----- entry [2] : DT 35
2024-06-11 09:19:29.524 20075-20075 DIS                     com.chip.casting                     D   ----- entry [3] : VP 65521+32771
2024-06-11 09:19:29.524 20075-20075 DIS                     com.chip.casting                     D  Discovered commissionable/commissioner node:
2024-06-11 09:19:29.524 20075-20075 DIS                     com.chip.casting                     D      Hostname: 192.168.3.87
2024-06-11 09:19:29.524 20075-20075 DIS                     com.chip.casting                     D      IP Address #1: 192.168.3.87
2024-06-11 09:19:29.524 20075-20075 DIS                     com.chip.casting                     D      Port: 5650
2024-06-11 09:19:29.524 20075-20075 DIS                     com.chip.casting                     D      Mrp Interval idle: not present
2024-06-11 09:19:29.524 20075-20075 DIS                     com.chip.casting                     D      Mrp Interval active: not present
2024-06-11 09:19:29.524 20075-20075 DIS                     com.chip.casting                     D      Mrp Active Threshold: not present
2024-06-11 09:19:29.524 20075-20075 DIS                     com.chip.casting                     D      TCP Supported: 0
2024-06-11 09:19:29.524 20075-20075 DIS                     com.chip.casting                     D      ICD: not present
2024-06-11 09:19:29.524 20075-20075 DIS                     com.chip.casting                     D      Device Name: Test TV Lukas
2024-06-11 09:19:29.524 20075-20075 DIS                     com.chip.casting                     D      Vendor ID: 65521
2024-06-11 09:19:29.524 20075-20075 DIS                     com.chip.casting                     D      Product ID: 32771
2024-06-11 09:19:29.524 20075-20075 DIS                     com.chip.casting                     D      Device Type: 35
2024-06-11 09:19:29.524 20075-20075 DIS                     com.chip.casting                     D      Instance Name: CD1F67B0FE4C95C5
2024-06-11 09:19:29.524 20075-20075 DIS                     com.chip.casting                     D      Commissioning Mode: 0
2024-06-11 09:19:29.524 20075-20075 DIS                     com.chip.casting                     D      Supports Commissioner Generated Passcode: true
2024-06-11 09:19:29.524 20075-20075 DIS                     com.chip.casting                     D  DeviceDiscoveryDelegateImpl::OnDiscoveredDevice() called
2024-06-11 09:19:29.524 20075-20075 SVR                     com.chip.casting                     D  Updated Casting Player
2024-06-11 09:19:29.524 20075-20075 SVR                     com.chip.casting                     D  CastingPlayerDiscovery-JNI DiscoveryDelegateImpl::HandleOnUpdated() called with CastingPlayer, ID: 192.168.3.875650
2024-06-11 09:19:29.524 20075-20075 SVR                     com.chip.casting                     D  convertCastingPlayerFromCppToJava() called
2024-06-11 09:19:29.525 20075-20075 CastingPla...geListener com.chip.casting                     I  onChanged() Discovered changes to CastingPlayer with deviceId: 192.168.3.875650
2024-06-11 09:19:31.661 20075-20075 CastingPla...rayAdapter com.chip.casting                     D  OnClickListener.onClick() called for CastingPlayer with deviceId: 192.168.3.875650
2024-06-11 09:19:31.661 20075-20075 MainActivity            com.chip.casting                     I  MainActivity.handleConnectionButtonClicked()
2024-06-11 09:19:31.661 20075-20075 Connection...leFragment com.chip.casting                     I  newInstance()
2024-06-11 09:19:31.662 20075-20075 Connection...leFragment com.chip.casting                     I  ConnectionExampleFragment() Target CastingPlayer ID: 192.168.3.875650, useCommissionerGeneratedPasscode: false
2024-06-11 09:19:31.663 20075-20075 MainActivity            com.chip.casting                     D  showFragment() called with: ConnectionExampleFragment, and showOnBack: true
2024-06-11 09:19:31.677 20075-20075 DiscoveryE...leFragment com.chip.casting                     I  onPause() called
2024-06-11 09:19:31.678 20075-20075 Connection...leFragment com.chip.casting                     I  onCreate()
2024-06-11 09:19:31.679 20075-20075 Connection...leFragment com.chip.casting                     I  onCreateView()
2024-06-11 09:19:31.686 20075-20075 ImeTracker              com.chip.casting                     I  com.chip.casting:3938b1bd: onRequestHide at ORIGIN_CLIENT_HIDE_SOFT_INPUT reason HIDE_SOFT_INPUT_FROM_VIEW
2024-06-11 09:19:31.686 20075-20075 ImeTracker              com.chip.casting                     I  com.chip.casting:3938b1bd: onFailed at PHASE_CLIENT_VIEW_SERVED
2024-06-11 09:19:31.687 20075-20075 InputMethodManager      com.chip.casting                     W  Ignoring hideSoftInputFromView() as view=com.google.android.material.button.MaterialButton{40f200e VFED..C.. ......I. 0,0-0,0 #7f080085 app:id/connectionFragmentNextButton} is not served.
2024-06-11 09:19:31.695 20075-20075 Connection...leFragment com.chip.casting                     I  onViewCreated()
2024-06-11 09:19:31.697 20075-27664 Connection...leFragment com.chip.casting                     D  onViewCreated() calling CastingPlayer.verifyOrEstablishConnection()
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  Converters-JNI::getChipDeviceConfigUdcMaxTargetApps(), CHIP_DEVICE_CONFIG_UDC_MAX_TARGET_APPS: 10
2024-06-11 09:19:31.698 20075-27664 Connection...leFragment com.chip.casting                     D  onViewCreated() calling CastingPlayer.verifyOrEstablishConnection() Target Content Application Vendor ID: 65521
2024-06-11 09:19:31.698 20075-27664 Identifica...ionOptions com.chip.casting                     D  addTargetAppInfo()
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  MatterCastingPlayer-JNI::verifyOrEstablishConnection() called with a timeout of: 180 seconds
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  convertCastingPlayerFromJavaToCpp() called
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  MatterCastingPlayer-JNI::verifyOrEstablishConnection() jIdentificationDeclarationOptions was provided by client
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  convertIdentificationDeclarationOptionsFromJavaToCpp() called
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  convertTargetAppInfoFromJavaToCpp() called
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  IdentificationDeclarationOptions::addTargetAppInfo()
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  IdentificationDeclarationOptions::LogDetail() - cpp
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  IdentificationDeclarationOptions::mNoPasscode:                false
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  IdentificationDeclarationOptions::mCdUponPasscodeDialog:      false
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  IdentificationDeclarationOptions::mCommissionerPasscode:      false
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  IdentificationDeclarationOptions::mCommissionerPasscodeReady: false
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  IdentificationDeclarationOptions::mCancelPasscode:            false
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  IdentificationDeclarationOptions::mCommissioneeInstanceName:  
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  IdentificationDeclarationOptions::TargetAppInfos list:
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D          TargetAppInfo 1, Vendor ID: 65521, Product ID: 0
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  MatterCallbackJNI::SetUp called
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  MatterCallbackJNI::SetUp called
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  MatterCastingPlayer-JNI::verifyOrEstablishConnection() optional jCommissionerDeclarationCallback was not provided by the client
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  CastingPlayer::VerifyOrEstablishConnection() called
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  CastingStore::ReadAll called
2024-06-11 09:19:31.698 20075-27664 KeyValueStoreManager    com.chip.casting                     D  Key 'com.matter.casting.CastingStore' not found in shared preferences
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     E  KeyValueStoreMgr.Get failed src/platform/android/KeyValueStoreManagerImpl.cpp:102: CHIP Error 0x000000A0: Value not found in the persisted storage
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  CastingPlayer::VerifyOrEstablishConnection() Setting CommissionerDeclarationCallback in CommissionerDeclarationHandler
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  CommissionerDeclarationHandler::SetCommissionerDeclarationCallback()
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  CastingPlayer::VerifyOrEstablishConnection() verifying User Directed Commissioning (UDC) state
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  IdentificationDeclarationOptions::LogDetail() - cpp
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  IdentificationDeclarationOptions::mNoPasscode:                false
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  IdentificationDeclarationOptions::mCdUponPasscodeDialog:      false
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  IdentificationDeclarationOptions::mCommissionerPasscode:      false
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  IdentificationDeclarationOptions::mCommissionerPasscodeReady: false
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  IdentificationDeclarationOptions::mCancelPasscode:            false
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  IdentificationDeclarationOptions::mCommissioneeInstanceName:  
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  IdentificationDeclarationOptions::TargetAppInfos list:
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D          TargetAppInfo 1, Vendor ID: 65521, Product ID: 0
2024-06-11 09:19:31.698 20075-27664 SVR                     com.chip.casting                     D  CastingPlayer::VerifyOrEstablishConnection() calling OpenBasicCommissioningWindow()
2024-06-11 09:19:31.698 20075-27664 IN                      com.chip.casting                     D  SecureSession[0xb40000787d4248d0]: Released - Type:1 LSID:14938
2024-06-11 09:19:31.698 20075-27664 IN                      com.chip.casting                     D  SecureSession[0xb40000787d4248d0]: Allocated Type:1 LSID:14939
2024-06-11 09:19:31.698 20075-27664 SC                      com.chip.casting                     D  Assigned local session key ID 14939
2024-06-11 09:19:31.698 20075-27664 SC                      com.chip.casting                     D  Waiting for PBKDF param request
2024-06-11 09:19:31.698 20075-27664 DIS                     com.chip.casting                     D  Updating services using commissioning mode 1
2024-06-11 09:19:31.698 20075-27664 NsdManager...ceResolver com.chip.casting                     D  removeServices: 
2024-06-11 09:19:31.699 20075-27664 NsdManager...ceResolver com.chip.casting                     I  Remove chip.platform.NsdManagerServiceResolver$2@636eb4b
2024-06-11 09:19:31.700 20075-27664 DIS                     com.chip.casting                     D  Advertise commission parameter vendorID=65521 productID=32771 discriminator=3874/15 cm=1 cp=0
2024-06-11 09:19:31.700 20075-27664 NsdManager...ceResolver com.chip.casting                     I  publish serviceName=973687D9930504AA type=_matterc._udp,_V65521,_T41,_S15,_L3874,_CM port=5540
2024-06-11 09:19:31.700 20075-27664 NsdManager...ceResolver com.chip.casting                     I       VP=65521+32771
2024-06-11 09:19:31.700 20075-27664 NsdManager...ceResolver com.chip.casting                     I       DT=41
2024-06-11 09:19:31.700 20075-27664 NsdManager...ceResolver com.chip.casting                     I       DN=Matter Casting Video Client
2024-06-11 09:19:31.700 20075-27664 NsdManager...ceResolver com.chip.casting                     I       D=3874
2024-06-11 09:19:31.700 20075-27664 NsdManager...ceResolver com.chip.casting                     I       CM=1
2024-06-11 09:19:31.700 20075-27664 NsdManager...ceResolver com.chip.casting                     I       RI=1C003F12A0AB3208E557F9BFC525593F0556
2024-06-11 09:19:31.700 20075-27664 NsdManager...ceResolver com.chip.casting                     I       PH=33
2024-06-11 09:19:31.701 20075-27664 NsdManager...ceResolver com.chip.casting                     I       PI=
2024-06-11 09:19:31.701 20075-20115 NsdManager...ceResolver com.chip.casting                     I  service 949790B328B5E4F2(chip.platform.NsdManagerServiceResolver$2@636eb4b) onServiceUnregistered
2024-06-11 09:19:31.702 20075-27664 NsdManager...ceResolver com.chip.casting                     D  publish chip.platform.NsdManagerServiceResolver$2@4fba379 count = 1
2024-06-11 09:19:31.702 20075-27664 SVR                     com.chip.casting                     D  CastingPlayer::VerifyOrEstablishConnection() calling SendUserDirectedCommissioningRequest()
2024-06-11 09:19:31.702 20075-27664 SVR                     com.chip.casting                     D  CastingPlayer::SendUserDirectedCommissioningRequest()
2024-06-11 09:19:31.702 20075-27664 SVR                     com.chip.casting                     D  Found IPv4 address at index: 0 - prioritizing use of IPv4
2024-06-11 09:19:31.702 20075-27664 SVR                     com.chip.casting                     D  IdentificationDeclarationOptions::buildIdentificationDeclarationMessage()
2024-06-11 09:19:31.702 20075-27664 SVR                     com.chip.casting                     D  IdentificationDeclarationOptions::buildIdentificationDeclarationMessage() generating InstanceName
2024-06-11 09:19:31.702 20075-27664 SVR                     com.chip.casting                     D  IdentificationDeclarationOptions::buildIdentificationDeclarationMessage() InstanceName set to: 973687D9930504AA
2024-06-11 09:19:31.702 20075-27664 SVR                     com.chip.casting                     D  IdentificationDeclarationOptions::LogDetail() - cpp
2024-06-11 09:19:31.702 20075-27664 SVR                     com.chip.casting                     D  IdentificationDeclarationOptions::mNoPasscode:                false
2024-06-11 09:19:31.702 20075-27664 SVR                     com.chip.casting                     D  IdentificationDeclarationOptions::mCdUponPasscodeDialog:      false
2024-06-11 09:19:31.702 20075-27664 SVR                     com.chip.casting                     D  IdentificationDeclarationOptions::mCommissionerPasscode:      false
2024-06-11 09:19:31.702 20075-27664 SVR                     com.chip.casting                     D  IdentificationDeclarationOptions::mCommissionerPasscodeReady: false
2024-06-11 09:19:31.702 20075-27664 SVR                     com.chip.casting                     D  IdentificationDeclarationOptions::mCancelPasscode:            false
2024-06-11 09:19:31.702 20075-27664 SVR                     com.chip.casting                     D  IdentificationDeclarationOptions::mCommissioneeInstanceName:  973687D9930504AA
2024-06-11 09:19:31.702 20075-27664 SVR                     com.chip.casting                     D  IdentificationDeclarationOptions::TargetAppInfos list:
2024-06-11 09:19:31.702 20075-27664 SVR                     com.chip.casting                     D          TargetAppInfo 1, Vendor ID: 65521, Product ID: 0
2024-06-11 09:19:31.702 20075-27664 SVR                     com.chip.casting                     D  ChipDeviceEventHandler::SetUdcStatus() called with udcInProgress: 1
2024-06-11 09:19:31.702 20075-27664 SVR                     com.chip.casting                     D  Server::SendUserDirectedCommissioningRequest()
2024-06-11 09:19:31.702 20075-27664 SVR                     com.chip.casting                     D  ---- Identification Declaration Start ----
2024-06-11 09:19:31.702 20075-27664 SVR                     com.chip.casting                     D      instance: 973687D9930504AA
2024-06-11 09:19:31.702 20075-27664 SVR                     com.chip.casting                     D      device Name: Matter Casting Video Client
2024-06-11 09:19:31.702 20075-27664 SVR                     com.chip.casting                     D      vendor id: 65521
2024-06-11 09:19:31.702 20075-27664 SVR                     com.chip.casting                     D      product id: 32771
2024-06-11 09:19:31.702 20075-27664 SVR                     com.chip.casting                     D      cd port: 5560
2024-06-11 09:19:31.702 20075-27664 SVR                     com.chip.casting                     D      rotating id: 1C003F12A0AB3208E557F9BFC525593F0556
2024-06-11 09:19:31.702 20075-27664 SVR                     com.chip.casting                     D      app vendor id / product id [0]: 65521/0
2024-06-11 09:19:31.702 20075-27664 SVR                     com.chip.casting                     D  ---- Identification Declaration End ----
2024-06-11 09:19:31.702 20075-27664 IN                      com.chip.casting                     D  Sending UDC msg
2024-06-11 09:19:32.207 20075-27664 IN                      com.chip.casting                     D  UDC msg sent
2024-06-11 09:19:32.207 20075-27664 SVR                     com.chip.casting                     D  Server::SendUserDirectedCommissioningRequest() Send UDC request success
2024-06-11 09:19:32.207 20075-27664 SVR                     com.chip.casting                     D  convertMatterErrorFromCppToJava() called
2024-06-11 09:19:32.214 20075-20118 SVR                     com.chip.casting                     D  UserDirectedCommissioningClient::OnMessageReceived() from UDP:192.168.3.87%wlan0:5650
2024-06-11 09:19:32.215 20075-20118 SVR                     com.chip.casting                     D  UserDirectedCommissioningClient::OnMessageReceived() CommissionerDeclaration DataLength() = 15
2024-06-11 09:19:32.215 20075-20118 SVR                     com.chip.casting                     D  UDC TLV parse complete
2024-06-11 09:19:32.215 20075-20118 SVR                     com.chip.casting                     D  ---- Commissioner Declaration Start ----
2024-06-11 09:19:32.215 20075-20118 SVR                     com.chip.casting                     D      error code: 13
2024-06-11 09:19:32.215 20075-20118 SVR                     com.chip.casting                     D      needs passcode: true
2024-06-11 09:19:32.215 20075-20118 SVR                     com.chip.casting                     D  ---- Commissioner Declaration End ----
2024-06-11 09:19:32.215 20075-20118 SVR                     com.chip.casting                     D  CommissionerDeclarationHandler::OnCommissionerDeclarationMessage(), calling CloseCommissioningWindow()
2024-06-11 09:19:32.215 20075-20118 SVR                     com.chip.casting                     D  Closing pairing window
2024-06-11 09:19:32.216 20075-20118 IN                      com.chip.casting                     D  SecureSession[0xb40000787d4248d0]: Released - Type:1 LSID:14939
2024-06-11 09:19:32.216 20075-20118 DIS                     com.chip.casting                     D  Updating services using commissioning mode 0
2024-06-11 09:19:32.216 20075-20118 NsdManager...ceResolver com.chip.casting                     D  removeServices: 
2024-06-11 09:19:32.221 20075-20118 NsdManager...ceResolver com.chip.casting                     I  Remove chip.platform.NsdManagerServiceResolver$2@4fba379
2024-06-11 09:19:32.223 20075-20118 SVR                     com.chip.casting                     D  ChipDeviceEventHandler::SetUdcStatus() called with udcInProgress: 0
2024-06-11 09:19:32.223 20075-20118 SVR                     com.chip.casting                     D  MatterCastingPlayer-JNI::verifyOrEstablishConnection() CommissionerDeclarationCallback()
2024-06-11 09:19:32.223 20075-20118 SVR                     com.chip.casting                     D  ---- Commissioner Declaration Start ----
2024-06-11 09:19:32.223 20075-20118 SVR                     com.chip.casting                     D      error code: 13
2024-06-11 09:19:32.223 20075-20118 SVR                     com.chip.casting                     D      needs passcode: true
2024-06-11 09:19:32.223 20075-20118 SVR                     com.chip.casting                     D  ---- Commissioner Declaration End ----
2024-06-11 09:19:32.223 20075-20118 SVR                     com.chip.casting                     D  MatterCastingPlayer-JNI::verifyOrEstablishConnection() CommissionerDeclarationCallback() source: UDP:192.168.3.87%wlan0:5650
2024-06-11 09:19:32.223 20075-20118 SVR                     com.chip.casting                     D  MatterCallbackJNI::Handle called
2024-06-11 09:19:32.223 20075-20118 SVR                     com.chip.casting                     D  convertCommissionerDeclarationFromCppToJava() called
2024-06-11 09:19:32.227 20075-20115 NsdManager...ceResolver com.chip.casting                     I  service 973687D9930504AA(chip.platform.NsdManagerServiceResolver$2@4fba379) onServiceUnregistered
2024-06-11 09:19:32.229 20075-20118 Connection...leFragment com.chip.casting                     I  CastingPlayer CommissionerDeclaration message received: 
2024-06-11 09:19:32.230 20075-20118 CommissionerDeclaration com.chip.casting                     D  CommissionerDeclaration::logDetail()
                                                                                                    CommissionerDeclaration::errorCode:               kAppInstallConsentPending
                                                                                                    CommissionerDeclaration::needsPasscode:           true
                                                                                                    CommissionerDeclaration::noAppsFound:             false
                                                                                                    CommissionerDeclaration::passcodeDialogDisplayed: false
                                                                                                    CommissionerDeclaration:commissionerPasscode:     false
                                                                                                    CommissionerDeclaration::qRCodeDisplayed:         false
2024-06-11 09:19:32.231 20075-20118 MatterCallback          com.chip.casting                     E  MatterCallback::Caught an unhandled Throwable from the client: java.lang.NullPointerException: Attempt to invoke virtual method 'void androidx.fragment.app.FragmentActivity.runOnUiThread(java.lang.Runnable)' on a null object reference
Hiwensen commented 2 months ago

Hi, any progress on this? I encountered the same issue when trying to connect to a FireTV device from a phone, but I ran the content-app, and didn't run the platform-app on TV @strangesource Do you know if I should run the platform-app on the TV?

strangesource commented 2 months ago

Unfortunately no progress, I haven't spend more time with this though.

In general both, the content app and the platform app, are required. I am unsure though if that is the case for Fire TV devices if they already come with matter casting support build in. This ~scenario~ is unfortunately not very well documented.

Hiwensen commented 2 months ago

@strangesource Thanks for your reply! Yeah, the developer documentation is not good. It doesn't clearly state whether you need to run the tv-platform app on the TV devices to connect your phone to the TV. I encountered some build errors when running the tv-platform app. Planning to fix the errors and run the TV-platform app.

strangesource commented 2 months ago

I did manage to get the tv-platform app to build so if you have any questions I might be able to help. :) Unfortunately I did not get much further, so if you figure something out kindly let me know.

Hiwensen commented 2 months ago

Sure thing, will let you know when I find something useful. I'm also trying to implement a Matter Casting POC. I built and ran tv-casting and tv-content apps successfully. But the IDE prompts can't find some classes when I run the tv-platform app, looks like the missed classes are from some .jar or .so file, but the developer doc didn't say how to build those files. The directory I opened with AndroidStudio is connectedhomeip/examples/tv-app/android/App Do you know how to fix the build errors?

Screenshot 2024-07-10 at 16 45 38
strangesource commented 2 months ago

Did you use the ./scripts/build/build_examples.py script with the correct target and architecture?

Hiwensen commented 2 months ago

I used ./scripts/build/build_examples.py --target android-arm64-tv-casting-app build to build the tv-casting app successfully. Working on ./scripts/build/build_examples.py --target android-arm64-chip-tool build to make it a success, now the error message is

Class xxx was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.0.0, expected version is 1.8.0.

Should I run any other command?

strangesource commented 2 months ago

I think you will need the tv-server target, not the chip tool.

The error hints towards Kotlin version incompatibility. Please make sure your project uses the same Koltin version (1.8.0 I think) as the project.

Hiwensen commented 2 months ago

Many thanks! I run ./scripts/build/build_examples.py --target android-arm-tv-server build successfully. Some fundings:

I didn't see any places that say we should use the TV-server target. Do you know where the document that describes the target is? Just in case I miss something.

strangesource commented 2 months ago

Thanks for the insights! So we are both blocked by the same issue now I guess.

I didn't see any places that say we should use the TV-server target. Do you know where the document that describes the target is?

I think tv-server is an old name for the tv-platform but it's not documented anywhere.

Hiwensen commented 2 months ago

Yeah, we are blocked by the same issue now.

Hiwensen commented 2 months ago

Hi @strangesource , do you know what does this sentence mean?

Screenshot 2024-07-18 at 11 23 40

I tried to add CHIP_DEVICE_CONFIG_DEVICE_VENDOR_IDand CHIP_DEVICE_CONFIG_DEVICE_PRODUCT_ID, didn't add CHIP_DEVICE_CONFIG_DEVICE_NAME, not sure the value I should pass to these configs.

#define CHIP_DEVICE_CONFIG_DEVICE_VENDOR_ID 65521
#define CHIP_DEVICE_CONFIG_DEVICE_PRODUCT_ID 32769