Cannot create device object without opening Discover channel
Jakob-k opened this issue · 0 comments
Jakob-k commented
I am trying to create device objects to connect to. I already know the MAC address. It works fine as long as a Discover service has been started, regardless of whether I am using the returned events from the channel or a hardcoded address.
The issue is that the function for creating the device object returns nil if I use it without starting the Discover service.
Is there some sort of hidden dependency that some parameters can only be obtained through the Discover service?
I have tried both NewDevice1 and NewDevice functions. Both works with Discover started but none do without it.