• 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 3 years 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 3 years 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 3 years ago

Sara,
Your suggestion worked perfectly.  Thanks
 

0 Vote Up Vote Down
Sara Santos Staff answered 3 years 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] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

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

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

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.