Skip to content

error when starting server on pi cow #7397

@vithrn

Description

@vithrn

CircuitPython Version: Adafruit CircuitPython 8.0.0-beta.6 on 2022-12-21; Raspberry Pi Pico W with rp2040
code.py

import wifi


ap_ssid = "picow"
ap_password = "picow123"

print()
print("Creating a new Access Point")

#  create access point
wifi.radio.start_ap(ap_ssid, ap_password)

output:

>>> from code import *

Creating a new Access Point
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "code.py", line 15, in <module>
RuntimeError: Wifi is in station mode.
>>>

how do i change to ap mode or at least out of station mode?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions