Skip to content

How to connect with mac address instead off ssid name #598

Answered by pschatzmann
zectlist asked this question in Q&A
Discussion options

You must be logged in to vote

At any point of time you can only be connected to one data sink only!

If you want to connect to potentially different sinks, just look at the start method in the class documentation: you can provide a vector! The system then just connects to the first device in the vector that is available...

You can achieve a similar result by defining an ssid_callback: there you just define a callback method where you define if you want to accept a connection based on the provided ssid and rssi. If the callback just returns true it connects to any device it finds first.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pschatzmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants