stellar-add-guest is a small tool to generate a new guest for Stellar Wireless (Enterprise mode) in OmniVista 2500 hosted on OmniSwitch with AOS Release 8
I found this code from https://github.com/lakhanmankani/wifi_qrcode_generator showing how to generate a QRCODE for an Open SSID.
if authentication_type in ('WPA', 'WEP'):
if password is None:
raise TypeError('For WPA and WEP, password should not be None.')
return 'WIFI:T:{type};S:{ssid};P:{password};H:{hidden};;'.format(
type=authentication_type, ssid=ssid, password=password, hidden=hidden
)
elif authentication_type == 'nopass':
if password is not None:
raise TypeError('For nopass, password should be None.')
return 'WIFI:T:nopass;S:{ssid};H:{hidden};;'.format(
ssid=ssid, hidden=hidden
)
raise ValueError('Unknown authentication_type: {!r}'.format(authentication_type))
Thanks for your Github Projects that we use for PoC and ALE Presales Presentations and for your awesome wiki at http://dokuwiki.alu4u.com