Skip to content

Commit

Permalink
Updating OpsCredsBinding.cpp and ChipDeviceCtrl.py:
Browse files Browse the repository at this point in the history
- Some further cleanup performed.
  • Loading branch information
j-ororke committed Nov 15, 2024
1 parent c952ec8 commit d2f32f8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/controller/python/OpCredsBinding.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -610,8 +610,6 @@ PyChipError pychip_OpCreds_AllocateController(OpCredsContext * context, chip::Co
{
initParams.defaultCommissioner = &sTestCommissioner;
pairingDelegate->SetCommissioningSuccessCallback(pychip_OnCommissioningSuccess);
// pairingDelegate->SetCommissioningSuccessCallback([](chip::PeerId peerId) { pychip_OnCommissioningSuccess(peerId,
// sTestCommissioner.GetRCACData().data(), sTestCommissioner.GetRCACData().size()); });
pairingDelegate->SetCommissioningFailureCallback(pychip_OnCommissioningFailure);
pairingDelegate->SetCommissioningStatusUpdateCallback(pychip_OnCommissioningStatusUpdate);
}
Expand Down
3 changes: 0 additions & 3 deletions src/controller/python/chip/ChipDeviceCtrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,6 @@ def HandleCommissioningComplete(nodeId: int, err: PyChipError):
self._dmLib.pychip_DeviceController_SetIcdRegistrationParameters(False, None)

if self._dmLib.pychip_TestCommissionerUsed():
# Prepare pointers to store the results
err = self._dmLib.pychip_GetCompletionError()

if self._commissioning_context.future is None:
Expand Down Expand Up @@ -1933,8 +1932,6 @@ def _InitLib(self):
self._dmLib.pychip_GetCompletionError.argtypes = []
self._dmLib.pychip_GetCompletionError.restype = PyChipError

#self._dmLib.pychip_GetCommissioningRCACData.argtypes = [POINTER(POINTER(c_uint8)), POINTER(c_size_t)]
#self._dmLib.pychip_GetCommissioningRCACData.restype = None
self._dmLib.pychip_SetCommissioningRCACCallback.argtypes = [_RCACCallbackType]
self._dmLib.pychip_SetCommissioningRCACCallback.restype = None

Expand Down

0 comments on commit d2f32f8

Please sign in to comment.