Skip to contents

Generate QR code with wifi login information

Usage

qr_wifi(
  ssid,
  encryption = c("WPA", "WEP", ""),
  key = "",
  hidden = FALSE,
  ecl = c("L", "M", "Q", "H")
)

Arguments

ssid

The SSID of the network.

encryption

The encryption standard. Options are "WPA", "WEP" and "". The latter implies no encryption. Defaults to "WPA".

key

The key for the encryption.

hidden

Use FALSE for a visible SSID. Use TRUE for a hidden SSID. Defaults to FALSE.

ecl

the required error correction level. Available options are "L" (7%), "M" (15%), "Q" (25%) and "H" (30%). Defaults to "L".