arduino / arduino/ArduinoCore-mbed

WiFi MAC address is bogus if AP/STA mode has not been yet selected

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Portenta WiFi
Dominant language
C
Stars
411
Forks
225
PR merge metrics
No merged PRs in 30d

Description

The mbed driver for 1DX module assigns MAC addresses only later in the process.
Normal Arduino examples will require it to be populated before calling `WiFi.scan()` or any other function that forces STA mode, so the result will be uninitialized memory.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the mbed driver for the 1DX module and how it assigns the MAC address before AP or STA mode is selected. Check the WiFi.scan() path and other functions that force STA mode. Done means the MAC address is populated before those calls can use it, rather than reading uninitialized memory.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.