Search found 4 matches
- Thu Jun 16, 2022 7:12 am
- Forum: Other Boards
- Topic: [Arduino Portenta H7] OSError: [Errno 1] EPERM when running network code
- Replies: 7
- Views: 39437
Re: [Arduino Portenta H7] OSError: [Errno 1] EPERM when running network code
It just hangs. It gets stuck at "Waiting for Connections.." and never progresses past that. The IP also shows up at 0.0.0.0, which seems strange. https://i.imgur.com/NiZDT8Y.png I tried out the code that you sent (replacing SSID and PSWD with my own SSID and PSWD) but it doesn't output anything and ...
- Wed Jun 15, 2022 6:03 am
- Forum: Other Boards
- Topic: [Arduino Portenta H7] OSError: [Errno 1] EPERM when running network code
- Replies: 7
- Views: 39437
Re: [Arduino Portenta H7] OSError: [Errno 1] EPERM when running network code
I'm trying to transmit an image from my Portenta H7 to my computer wirelessly and from what I read in the OpenMV documentation, AP mode seemed like the way to go. Also, I was trying STA_IF first but it also came up with the same problem, so I switched to AP_IF in an attempt to fix it. Switching to p...
- Mon Jun 13, 2022 8:00 pm
- Forum: Other Boards
- Topic: [Arduino Portenta H7] OSError: [Errno 1] EPERM when running network code
- Replies: 7
- Views: 39437
Re: [Arduino Portenta H7] OSError: [Errno 1] EPERM when running network code
Ah, that makes sense, thanks! I pasted a small portion of the code I was using, so that's why the network import wasn't there (I forgot to include it in the above code). The above error was fixed, but I'm having a different issue now with a different part of my code. I combined the example code for ...
- Sun Jun 12, 2022 11:03 pm
- Forum: Other Boards
- Topic: [Arduino Portenta H7] OSError: [Errno 1] EPERM when running network code
- Replies: 7
- Views: 39437
[Arduino Portenta H7] OSError: [Errno 1] EPERM when running network code
I'm having an issue with the below code. It's giving me the error "OSError: [Errno 1] EPERM" even though this is exactly what the OpenMV documentation instructs me to do. Specifically, the error is happening on line 11 ( wlan.connect(SSID, KEY) ). from network import WLAN SSID = "[redacted]" # Netwo...