Skip to content

Commit

Permalink
[Python] Modify rotatingId to a hexadecimal string (#27933)
Browse files Browse the repository at this point in the history
  • Loading branch information
tianfeng-yang authored and pull[bot] committed Feb 9, 2024
1 parent a7ad00c commit 443da4b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/controller/python/ChipDeviceController-Discovery.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ void pychip_DeviceController_IterateDiscoveredCommissionableNodes(Controller::De
}
if (dnsSdInfo->commissionData.rotatingIdLen > 0)
{
jsonVal["rotatingId"] = std::string(reinterpret_cast<const char *>(dnsSdInfo->commissionData.rotatingId),
dnsSdInfo->commissionData.rotatingIdLen);
jsonVal["rotatingId"] = rotatingId;
}

{
Expand Down

0 comments on commit 443da4b

Please sign in to comment.