You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the new pairing_code_thread() API which works well. I have two questions :
How do I assign a callback to get the commissioning status (success or fail) when calling that particular pairing_code_thread() function? I see that there is a pairing_command class which can be used to assign callbacks when an object is created, but doesn't yet have parameters for working with pairing codes or QR codes.
My guess is that this is still under development?
Is there a n API implemented for unpairing / de-commissioning a device yet?
Thank you in advance.
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
esp_matter_controller pairing queries
esp_matter_controller pairing queries (CON-1420)
Nov 18, 2024
Hi, there are some callbacks in the pairing_command class to notify whether the pairing and commissioning are successful/failed. When the PASE session is established or when there is an error during PASE session establishment the OnPairingComplete will be called. When the commissioning is completed, OnCommissioningComplete will be called. but currently there are still some callbacks not implemented and we still need some APIs for the users to set their custom callbacks. We will add them later
For the second question, you can use controller_instance.get_commissioner()->UnpairDevice(peerNodeId) to unpair a device. The commissioner will remove the fabric of the remote device in that function.
I am using the new
pairing_code_thread()
API which works well. I have two questions :pairing_code_thread()
function? I see that there is apairing_command
class which can be used to assign callbacks when an object is created, but doesn't yet have parameters for working with pairing codes or QR codes.My guess is that this is still under development?
Thank you in advance.
The text was updated successfully, but these errors were encountered: