Feature #254
open
Investigate use of Wifi Direct
Added by Hammel over 11 years ago.
Updated 7 days ago.
Category:
04 - Root File System
Description
Wifi Direct allows simpler connection to wifi devices when Media Player is running as an access point.
See
May require patched config of wpa_supplicant in Buildroot.
- Description updated (diff)
- Description updated (diff)
- Priority changed from High to Normal
- Severity changed from 03 - Medium to 05 - Very Low
- Description updated (diff)
- Status changed from New to In Progress
This actually looks like it might be fairly easy to implement. An AP is the GO (group owner) and clients are just clients. The main difference is how they connect, which is by using wpa_cli (unless there is some API I can use).
Networking on the server would simply be:
- Enable wpa_supplicant
- Setup a p2p group
- start scanning for clients
- add clients found
The client (piplayers) would do the same, except not setup a p2p group.
The media system would always be a GO (group owner). Clients would always be client, never GO's.
- Priority changed from Normal to Urgent
- Target version changed from 2.0 - Harkonnen to 3.0 - Corrino
- Severity changed from 05 - Very Low to 02 - High
This should be reviewed as part of a migration to using PiNet for everything instead of the PNC UI.
It should definitely be used when using Media System as the GO (group owner) and Player Systems as clients, which was part of the original PiBox design.
- Priority changed from Urgent to Immediate
- Severity changed from 02 - High to 04 - Low
- Severity changed from 04 - Low to 01 - Critical
- % Done changed from 0 to 10
This feature would be for Media System and Ironman only, allowing Players to connect to Media Systems and sensors, PiStore and PiSentry to connect to Ironman.
This sort of implies a second mode build for PiNet. One for connecting to a local Wifi AP (the way it runs now) and a second to allow setting up the secondary network using WiFi Direct.
It should be noted that ESP8266 and ESP32 boards do not support WiFi Direct mode. So WiFi Direct could only be used between Linux-based PiBox systems.
Also available in: Atom
PDF