Skip to content
This repository has been archived by the owner on Jan 3, 2025. It is now read-only.

error when connect use bssid #110

Open
eggysudianto opened this issue Jul 15, 2021 · 1 comment
Open

error when connect use bssid #110

eggysudianto opened this issue Jul 15, 2021 · 1 comment

Comments

@eggysudianto
Copy link

when I use ssid can connect to wifi, but when I add bssid return error DID_NOT_FIND_NETWORK_BY_SCANNING. how to fix that?

 WifiUtils.withContext(getApplicationContext())
                        .connectWith("MARS","C3:AE:34:48:E8:02", "pluto")
                        .onConnectionResult(new ConnectionSuccessListener() {
                            @Override
                            public void success() {
                                Toast.makeText(MainActivity.this, "SUCCESS!", Toast.LENGTH_SHORT).show();
                            }

                            @Override
                            public void failed(@NonNull ConnectionErrorCode errorCode) {
                                Toast.makeText(MainActivity.this, "EPIC FAIL!" + errorCode.toString(), Toast.LENGTH_SHORT).show();
                            }
                        })
                        .start();
@RUHULRUHUL
Copy link

"C3:AE:34:48:E8:02" maybe it is a Static value make sure your device mac Address (Bssid)

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants