network_wlan_ap.py 340 B

12345678910111213141516
  1. #
  2. # Copyright (c) 2006-2019, RT-Thread Development Team
  3. #
  4. # SPDX-License-Identifier: MIT License
  5. #
  6. # Change Logs:
  7. # Date Author Notes
  8. # 2019-06-13 SummerGift first version
  9. #
  10. import network
  11. ap = network.WLAN(network.AP_IF)
  12. ap.config(essid="hello_rt-thread", password="88888888")
  13. ap.active(True)
  14. ap.config("essid")