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 think it might get confusing for people to understand the process of discovery and connecting to cars when they are first using the library.
It might be easier to split them up, so have a function that performs discovery:
WIRC.discover(function(device){// called for each device that responds to the broadcastconsole.log(device);// {deviceName:…,remoteAddress:…,localAddress:…};});
Then access the car separately with the remote address.
I think it might get confusing for people to understand the process of discovery and connecting to cars when they are first using the library.
It might be easier to split them up, so have a function that performs discovery:
Then access the car separately with the remote address.
I think the client code could be simplified if it was dealing with one device too.
The text was updated successfully, but these errors were encountered: