SET_WIFI_KEY  index, passkey_string
Purpose To set the pass-key of the WiFi network that PLC's WiFi is setup to connect to.
Examples
	
	SET_WIFI_KEY 1, "MyPasskey"	' define the passkey for the WiFi network that is 
					' has been defined by the SET_WIFI_SSID command
Comments:

  1. The passkey of the WiFi network that the PLC wants to connect to.
  2. You must define the WiFi network SSID using the SET_WIFI_SSID .
  3. Currently the PLC only supports 1 WiFi network SSID, so index is always set to 1"
  4. The PLC will only start connecting to the new SSID after it has been rebooted (via the RESTART command or power-on reset).

This command is ignored by i-TRiLOGI  simulator.

 

See Also SET_WIFI_SSID

backbutton.gif (507 bytes)  Basic to TBASIC Reference Manual