Closed tthiery closed 3 years ago
@dkurok Can you review and test this with your implementation? c&p the discoveryport.cs should work
Code Quality improved significantly (readability wise)
@tthiery I tried the new version of DiscoverPorts.cs with the BlueGiga-adapter. With Technic-Medium Hub and 3 attached motors and the 88007 colorDistance-sensor (VisionSensor 0x0025) it takes 30 to 35 seconds. TwoPortHub with one motor and 88007 <20secs. No hanging, no waiting, perfect! Just one question: Any reason why you store the result of _protocol.SendMessageReceiveResultAsync in variables in RequestPortProperties() whereas in RequestPortModePropertiesAsync() you're giving them directly into KnowledgeManager.ApplyStaticProtocolKnowledge(...)?
But again: This works perfectly now with BlueGiga-adapter!
No specific reason. I thought I would need the messages more. And for the later, i just did not want to create seven meaningless variables.
Closes #148 non-breaking