micropython / micropython/micropython-lib
webrepl: Support LAN as well as WLAN boards.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.9k
- Forks
- 1.1k
- Avg merge
- 7d 6h
- Merged PRs (30d)
- 3
Description
When webrepl starts, it prints out the IP address to stdout, however it does this by querying the network.WLAN object -- https://github.com/micropython/micropython-lib/blob/master/micropython/net/webrepl/webrepl.py#L105
This should also try network.LAN (and not fail if network.LAN xor network.WLAN are unavailable).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in micropython/net/webrepl/webrepl.py at the IP-address handling around line 105. Check how the current network.WLAN object is queried, then trace the available network interfaces. Done means webrepl can report an address from either network.LAN or network.WLAN and does not fail when either one is unavailable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 62/100