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

Sara,
Your suggestion worked perfectly.  Thanks
 

0 Vote Up Vote Down
Sara Santos Staff answered 5 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] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

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

Copyright © 2013-2025 · 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.