I followed the guide from here, https://learn.adafruit.com/matrix-porta ... et-connect, and have been able to connect and receive data when connected to my phone's hotspot. However, when I try to connect to our IT-managed network, I get an error (See outputs below). I have tried both CircuitPython 7.3.3 and 8.0.0-beta.6, and used their respective libraries. I have also tried using the included matrixportal_simpletest.py examples from the libraries. All attempts have led to the same results.
Is there any particular reason why it can receive data from one network connection, but produce an error on another connection? As far as I know, both APs use the same security type. I already contacted our IT department and gave all the network/connection info, but they couldn't find any reason why it wouldn't connect so they suggested looking into the firmware. I just find it strange that it is able to connect to both APs, have an IP address assigned from both APs, but get an ESP32 timeout error on only one.
Any insight would be appreciated. Thanks.
Console output when connected through phone hotspot:
Code: Select all
ESP32 SPI webclient test
ESP32 found and in idle mode
Firmware vers. bytearray(b'1.2.2\x00')
MAC addr: <<MAC ADDRESS>>
<<AP LIST HERE>>
Connecting to AP...
Connected to <<AP NAME>> RSSI: -21
My IP address is <<ADDRESS>>
IP lookup adafruit.com: <<ADDRESS>>
Ping google.com: 30 ms
Fetching text from http://wifitest.adafruit.com/testwifi/index.html
----------------------------------------
This is a test of Adafruit WiFi!
If you can read this, its working :)
----------------------------------------
Fetching json from http://api.coindesk.com/v1/bpi/currentprice/USD.json
----------------------------------------
{'time': {'updated': 'Dec 13, 2022 15:32:00 UTC', 'updatedISO': '2022-12-13T15:32:00+00:00', 'updateduk': 'Dec 13, 2022 at 15:32 GMT'}, 'disclaimer': 'This data was produced from the CoinDesk BANNED Price Index (USD). Non-USD currency data converted using hourly conversion rate from openexchangerates.org', 'bpi': {'USD': {'code': 'USD', 'description': 'United States Dollar', 'rate_float': 17772.9, 'rate': '17,772.8631'}}}
----------------------------------------
Done!
Code done running.
Console output when connected through network in question:
Code: Select all
ESP32 SPI webclient test
ESP32 found and in idle mode
Firmware vers. bytearray(b'1.2.2\x00')
MAC addr: <<MAC ADDRESS>>
<<AP LIST HERE>>
Connecting to AP...
Connected to <<AP NAME>> RSSI: -50
My IP address is <<ADDRESS>>
Traceback (most recent call last):
File "code.py", line 68, in <module>
File "adafruit_esp32spi/adafruit_esp32spi.py", line 653, in get_host_by_name
File "adafruit_esp32spi/adafruit_esp32spi.py", line 332, in _send_command_get_response
File "adafruit_esp32spi/adafruit_esp32spi.py", line 288, in _wait_response_cmd
File "adafruit_esp32spi/adafruit_esp32spi.py", line 197, in _wait_for_ready
TimeoutError: ESP32 not responding
Code done running.