tray applet for wifi management
Interface design
Tray icon should show connection quality, if connected, or something else if connection in progress and third icon if disconnected.
balloon help should show name (SSID) of connected network and link quality in percents.
Left click on the icon should display menu of available networks and allow to choose specific one. By default, it should connect first known network.
New network configuration dialog should show as few fields as possible, based on the flags, disovered during scan. For most WPA-PSK only one input line should be show.
May be there should be GUI (shown by right-click on the network name in the menu) to edit least common parameters of the network.
Informational materials
WPA supplicant control socket protocol
Description on the native site. It's fairly incomplete and recommends "link with wpa_ctrl.c")
C-languange python extension to interface wpa-supplicant. Includes said wpa_ctrl.c
Protocol is datagram-based, not stream. Each command is sent as separate datagram without trailing newline or other terminator. Received data may include newlines.