WLAN-Pi / wlanpi-profiler

Wi-Fi client capabilities analyzer tool built for the WLAN Pi
BSD 3-Clause "New" or "Revised" License
25 stars 9 forks source link

Sharing profiler SSID name with other applications #99

Closed joshschmelzle closed 2 years ago

joshschmelzle commented 2 years ago

Other applications such as FPMS need to know which SSID profiler is actually using. FPMS may generate a QR code with the SSID for profiler to assist with quicker profiling. Use /etc/wlanpi-profiler/ssid as the file location. Contents of the file will be restricted to the SSID name which profiler uses at run time. Update this file every time profiler starts.

joshschmelzle commented 2 years ago

We need to implement deleting this file on close, so other applications can use it to determine if profiler is both 1) running and 2) beaconing.

We should move the file location from /etc/wlanpi-profiler/ssid to /var/run/wlanpi-profiler.ssid.