23 lines
1.2 KiB
Markdown
23 lines
1.2 KiB
Markdown
## ADDED Requirements
|
|
|
|
### Requirement: Automated Access Point Creation
|
|
The system SHALL create a password-protected WiFi Access Point (AP) if no other network connection is established.
|
|
|
|
#### Scenario: AP Mode Activation
|
|
- **WHEN** the Raspberry Pi 3B boots and no configured WiFi Client networks are found
|
|
- **THEN** the system SHALL start `hostapd` and `dnsmasq` to create a `MPVJ-3B-XXXX` network
|
|
|
|
### Requirement: WiFi Client Connection
|
|
The system SHALL provide a web-based UI to scan for available WiFi networks and allow the user to join an existing network.
|
|
|
|
#### Scenario: Switching to Client Mode
|
|
- **WHEN** the user selects a WiFi SSID from the UI and provides a password
|
|
- **THEN** the system SHALL update the `/etc/wpa_supplicant/wpa_supplicant.conf` file and restart the network interface to join that network
|
|
|
|
### Requirement: mDNS Support
|
|
The system SHALL be accessible via the `mpvj.local` address on any local network it is connected to.
|
|
|
|
#### Scenario: Navigating to the UI
|
|
- **WHEN** the user types `http://mpvj.local` in their browser on a connected device
|
|
- **THEN** the system SHALL resolve to the Raspberry Pi's IP address and load the mapping interface
|