Skip to content

TypeError: object of type 'NoneType' has no len() #220

Open
@jposada202020

Description

@jposada202020
Contributor

This happens when the SSID and Password are not present in settings.toml .

  • Hardwarte used:
    Adafruit CircuitPython 9.2.4 on 2025-01-28; Adafruit PyPortal Titano with samd51j20
    Firmware vers. 2.0.0-rc.0+adafruit
Connecting to AP...
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "conexion.py", line 66, in <module>
  File "adafruit_esp32spi/adafruit_esp32spi.py", line 690, in connect_AP
  File "adafruit_esp32spi/adafruit_esp32spi.py", line 558, in wifi_set_network
  File "adafruit_esp32spi/adafruit_esp32spi.py", line 429, in _send_command_get_response
  File "adafruit_esp32spi/adafruit_esp32spi.py", line 307, in _send_command
TypeError: object of type 'NoneType' has no len() 

for reference: @justmobilize

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jposada202020

        Issue actions

          TypeError: object of type 'NoneType' has no len() · Issue #220 · adafruit/Adafruit_CircuitPython_ESP32SPI