question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

scanNetoworks not works without set "ProofOfPossession"

See original GitHub issue

I am creating the instance and the ESPDevice like this:

mProvisionManager = ESPProvisionManager.getInstance(requireContext());
mProvisionManager.createESPDevice(ESPConstants.TransportType.TRANSPORT_BLE, ESPConstants.SecurityType.SECURITY_1);

But to start with scanNetowork I need to setProofOfPossession("") like this:

mProvisionManager.getEspDevice().setProofOfPossession("");
mProvisionManager.getEspDevice().scanNetworks()...

If I am not set as empty, the scanNetowork failed.

I see that should set pop otherwise the Security instance is null new Security1(proofOfPossession) end cannot create Session -> new Session(transport, security)

So is it normal force to set setProofOfPossession as empty string?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
developerGMcommented, Dec 22, 2020

Ok, I see now that there is a new version releases a few hours ago implementation 'com.github.espressif:esp-idf-provisioning-android:lib-2.0.7' So, I think that now this problem is solved. Thanks

0reactions
khushbushah2302commented, Dec 22, 2020

Hi @developerGM ,

proofOfPossession is already initialised by empty string in new version of library. If you still need to do this changes with new app, then I would link to know in which class you need this change.

Read more comments on GitHub >

github_iconTop Results From Across the Web

WiFi.scanNetworks() not working on ESP32 and no ... - GitHub
I use the disconnect function along with autoConnect and autoReconnect on ESP8266 and it works fine. The scanNetworks() example provided by ...
Read more >
Scan Class - ESP8266 Arduino Core documentation
scanNetworks ¶. Scan for available Wi-Fi networks in one run and return the number of networks that has been discovered. WiFi ...
Read more >
NA User Guide - Support
Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer.
Read more >
Letter to US Department of Justice About Child Protection ...
However, the use of surveillance software to scan networks without warrants for violators raised concerns over whether this technology was ...
Read more >
BOTNET TAKEDOWNS AND THE FOURTH AMENDMENT
It argues that the government can remotely execute commands on infected computers without performing a search, as long as the computer does not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found