@@ -210,9 +210,9 @@ void doCastingDemoActions(TargetEndpointInfo * endpoint)
210
210
void OnConnectionSuccess (TargetVideoPlayerInfo * videoPlayer)
211
211
{
212
212
ChipLogProgress (AppServer,
213
- " OnConnectionSuccess with Video Player(nodeId: %lu , fabricIndex: %d, deviceName: %s, vendorId: %d, productId: "
213
+ " OnConnectionSuccess with Video Player(nodeId: 0x " ChipLogFormatX64 " , fabricIndex: %d, deviceName: %s, vendorId: %d, productId: "
214
214
" %d, deviceType: %d)" ,
215
- videoPlayer->GetNodeId (), videoPlayer->GetFabricIndex (), videoPlayer->GetDeviceName (),
215
+ ChipLogValueX64 ( videoPlayer->GetNodeId () ), videoPlayer->GetFabricIndex (), videoPlayer->GetDeviceName (),
216
216
videoPlayer->GetVendorId (), videoPlayer->GetProductId (), videoPlayer->GetDeviceType ());
217
217
218
218
TargetEndpointInfo * endpoints = videoPlayer->GetEndpoints ();
@@ -245,15 +245,15 @@ CHIP_ERROR ConnectToCachedVideoPlayer()
245
245
{
246
246
if (cachedVideoPlayers[i].IsInitialized ())
247
247
{
248
- ChipLogProgress (AppServer, " Found a Cached video player with nodeId: %lu , fabricIndex: %d" ,
249
- cachedVideoPlayers[i].GetNodeId (), cachedVideoPlayers[i].GetFabricIndex ());
248
+ ChipLogProgress (AppServer, " Found a Cached video player with nodeId: 0x " ChipLogFormatX64 " , fabricIndex: %d" ,
249
+ ChipLogValueX64 ( cachedVideoPlayers[i].GetNodeId () ), cachedVideoPlayers[i].GetFabricIndex ());
250
250
if (CastingServer::GetInstance ()->VerifyOrEstablishConnection (
251
251
cachedVideoPlayers[i], OnConnectionSuccess, OnConnectionFailure, OnNewOrUpdatedEndpoint) == CHIP_NO_ERROR)
252
252
{
253
253
ChipLogProgress (
254
254
AppServer,
255
- " FindOrEstablish CASESession attempted for cached video player with nodeId: %lu , fabricIndex: %d" ,
256
- cachedVideoPlayers[i].GetNodeId (), cachedVideoPlayers[i].GetFabricIndex ());
255
+ " FindOrEstablish CASESession attempted for cached video player with nodeId: 0x " ChipLogFormatX64 " , fabricIndex: %d" ,
256
+ ChipLogValueX64 ( cachedVideoPlayers[i].GetNodeId () ), cachedVideoPlayers[i].GetFabricIndex ());
257
257
return CHIP_NO_ERROR;
258
258
}
259
259
}
0 commit comments