Page 1 of 1

Webrepl on Arduino nano rp2040 connect

Posted: Sat Jun 18, 2022 2:02 pm
by ps_nithin
I'm getting the following output on arduino nano rp2040 connect.
>>> webrepl.start()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "webrepl.py", line 74, in start
File "webrepl.py", line 16, in setup_conn
OSError: no available NIC

Any ideas?

Re: Webrepl on Arduino nano rp2040 connect

Posted: Sat Jun 18, 2022 2:16 pm
by Roberthh
Did you start WiFi at the board first?

Re: Webrepl on Arduino nano rp2040 connect

Posted: Sat Jun 18, 2022 2:36 pm
by ps_nithin
No.

Re: Webrepl on Arduino nano rp2040 connect

Posted: Sat Jun 18, 2022 3:54 pm
by ps_nithin
I get the following output on running wireless AP.
>>> import network
>>> wlan=network.WLAN(network.AP_IF)
>>> wlan.active(True)
>>> wlan.config(essid="android123",key="connect",security=wlan.WEP,channel=2)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: failed to start in AP mode
>>>

Thanks,

Re: Webrepl on Arduino nano rp2040 connect

Posted: Sat Jun 18, 2022 5:46 pm
by ps_nithin
Setting up wireless ap before running webrepl.start() solved the issue.

Thanks,