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
first of all thank you for this great piece of work!
I have a small question regarding systems with multiple interfaces. I run my broadlink devices on a separate network, such that they have no access to the internet. This means I have two ethernet devices in my machine - one to the outside world and one for the internal network.
Is there a way to tell the discoverDevices method (and essentially the whole library) to use only one of the to network interfaces? I haven't found yet a way to do so, but might have just overseen it.
Thanks a lot for any enlightenment.
The text was updated successfully, but these errors were encountered:
Currently, BLDevice does not provide a way to bind the DatagramSocket to a specific network interface, and the socket instance is not exposed. It is possible to do that with an API change providing a way to bind a SocketAddress to the socket. Maybe I will make a contribution to make this working.
Hello,
first of all thank you for this great piece of work!
I have a small question regarding systems with multiple interfaces. I run my broadlink devices on a separate network, such that they have no access to the internet. This means I have two ethernet devices in my machine - one to the outside world and one for the internal network.
Is there a way to tell the discoverDevices method (and essentially the whole library) to use only one of the to network interfaces? I haven't found yet a way to do so, but might have just overseen it.
Thanks a lot for any enlightenment.
The text was updated successfully, but these errors were encountered: