arduino / arduino/ArduinoCore-mbed
Portenta AP Tutorial: AP Returns Subnet Mask 192.0.0.0 (1.2.1)
- Dominant language
- C
- Stars
- 411
- Forks
- 225
- PR merge metrics
- No merged PRs in 30d
Description
To repeat:
Run the [AP tutorial](https://www.arduino.cc/pro/tutorials/portenta-h7/por-ard-ap) - I've attached my files. // 1.2.1
When running the demo - it's returning this:
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix . :
IPv4 Address. . . . . . . . . . . : 192.168.3.3
Subnet Mask . . . . . . . . . . . : 192.0.0.0
Default Gateway . . . . . . . . . : 192.168.3.1
For purposes of the demo - wouldn't 255.255.255.0 be a better subnet mask?
Is there a way to change the subnet mask? (I'll take a look at the mbed stuff to see...).
Just wanted to point this out as I think it's causing some grief for some going through the tutorials.
Regards,
John W.
[demo-web-server.zip](https://github.com/arduino/ArduinoCore-mbed/files/5095043/demo-web-server.zip)
PS - It appears declaring something like this will correct the issue:
WiFi.config(IPAddress(192, 168, 4, 1)); // 1.2.2
PPS - OP 1.2.1 and not 1.2.2
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the Portenta H7 AP tutorial and inspect the attached demo-web-server.zip. Compare the reported 192.0.0.0 mask with the WiFi.config(IPAddress(192, 168, 4, 1)) example mentioned in the issue, then trace the AP configuration entry point. Done means the tutorial reports the intended subnet mask or clearly documents how to change it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100