-
-
Notifications
You must be signed in to change notification settings - Fork 94
Only update device context's host address by using its respective GetFeature request #357
Copy link
Copy link
Closed
Labels
Milestone
Description
When on USB, there are 2 situations in which DsHidMini updates the device's host address field that is stored in the Device Context:
- It sends a GetFeature request and saves the host address informed by the controller when it responds
- Occurs in the
DsUsb_PrepareHardwaremethod
- Occurs in the
- When a pairing request is sent to the controller and is considered successful, then it automatically updates the device's context host address field to the same one sent in the request
- Occurs in the method currently known as
DsUsb_Ds3PairToFirstRadio
- Occurs in the method currently known as
I'd like to know your thoughts on removing the automatic updating done in (2), and replacing it with what happens in (1).
My line of thinking is that it would be better to always confirm what host address the controller is informing instead of assuming it was updated by the pairing request.
This would give us more info in situations in which the driver considers the pairing request succeeded but the controller continues informing it is paired to another MAC address
Reactions are currently unavailable