• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Micropython in AP mode only supplory WEP?

Q&A Forum › Category: ESP32 › Micropython in AP mode only supplory WEP?
0 Vote Up Vote Down
ytram99 asked 1 year ago

Would like to establish a secure Access Point.

From Rui’s tutorial: “ESP32/ESP8266 Station and Access Point” and the lines:

  ssid = 'MicroPythin-AP'
  password = '123456789'
  ap.config(essid=ssid, password=password)
I get a totally open network connection
If I add:
  ap.config(authmode=3)  for WPA2

I get a runtime error.

authmode only seems to take 0 (open) and 1 (WEP) for values

3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

Hi.
Can you tell me the exact error you’re getting?
and what if you use this line:

  ap.config(essid=ssid, password=password, authmode =3)

Do you get the same result?
Regards,
Sara

0 Vote Up Vote Down
ytram99 answered 1 year ago

Sara,
Your suggestion worked perfectly.  Thanks
 

0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

That’s great!
I’ll close this topic.
If you need further help, you just need to post a new question in our forum.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Download Build Web Servers with ESP32 and ESP8266 (2nd Edition) February 8, 2021
  • [eBook Released] Build Web Servers with ESP32 and ESP8266 (version 1.0) October 27, 2020

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2021 · RandomNerdTutorials.com · All Rights Reserved