Skip to content

Commit

Permalink
fix issue 13122
Browse files Browse the repository at this point in the history
  • Loading branch information
decenzo committed Dec 17, 2021
1 parent d24eff1 commit eb2508c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions examples/tv-casting-app/linux/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ chip_project_config_include_dirs =
chip_project_config_include_dirs += [ "${chip_root}/config/standalone" ]

chip_build_libshell = true

chip_enable_rotating_device_id = true

4 changes: 1 addition & 3 deletions src/lib/dnssd/Resolver.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,12 @@ struct DiscoveredNodeData

void LogDetail() const
{
#if CHIP_ENABLE_ROTATING_DEVICE_ID
if (rotatingIdLen > 0)
{
char rotatingIdString[chip::Dnssd::kMaxRotatingIdLen * 2 + 1] = "";
Encoding::BytesToUppercaseHexString(rotatingId, rotatingIdLen, rotatingIdString, sizeof(rotatingIdString));
ChipLogDetail(Discovery, "Rotating ID: %s", rotatingIdString);
ChipLogDetail(Discovery, "\tRotating ID: %s", rotatingIdString);
}
#endif // CHIP_ENABLE_ROTATING_DEVICE_ID
if (strlen(deviceName) != 0)
{
ChipLogDetail(Discovery, "\tDevice Name: %s", deviceName);
Expand Down

0 comments on commit eb2508c

Please sign in to comment.