ProGlove Documentation

Connect to Wi-Fi by importing credentials in the network.json file

If you do not want to include your network's password in the configuration file (created on Insight Webportal), you can provide it in the network.json template and upload it directly to your Gateway by following these steps:

Create the network.json file
  1. Open a text editor (E.g. Notepad, Sublime Text, VS Code).

  2. Copy the snippet below into the editor.

    {
      "wifi": {
    	"wifi_auth": [
    		{
    		    "ssid": "Your SSID",
    		    "visibility": "ACCESS_POINT_VISIBILITY_VISIBLE",
    		    "wpa_psk": {
    		        "psk": "Your Password"
    		    }
    		}
    	]
      }
    }

    Note

    The example snippet uses the default WPA Personal authentication protocol. To learn more about different authentication protocols, see Additional Wi-Fi settings.

    Note

    The field visibility is set to ACCESS_POINT_VISIBILITY_VISIBLE by default. If the network is hidden, replace it with ACCESS_POINT_VISIBILITY_HIDDEN.

  3. Under ssid, replace Your SSID with the name of your Wi-Fi network.

  4. Under psk, replace Your Password with the password for the entered ssid.

  5. Save the file as network.json.

  6. Create a .zip archive of the network.json file.

Apply the network.json file
  1. Connect the Gateway's USB cable to your desktop.

    The Gateway boots up in about 1 minute. The USB LED glows green constantly.

  2. Scan the barcode on the Gateway with your scanner.

    The scanner connects to the Gateway and the Scanner LED glows green.

  3. Scan the barcode below to enable the Gateway as a Mass Storage device.

    PEP_EnableMassStorage.png

    The Gateway displays as a Mass storage device on your desktop.

  4. Upload the network.zip file to the Gateway Mass storage device.

    Warning

    Make sure that you upload the zipped archive of your network.json file, that is network.zip. Uploading the flat network.json will not work.

  5. Eject the Gateway Mass Storage device.

    The upload takes a few seconds. All three LEDs flash green when done. The Gateway automatically connects to Wi-Fi and Insight Webportal and Cloud LED glows green.

    Note

    Once the network.json file is processed by the Gateway, it is no longer accessible anywhere on the Mass storage device, therefore the network details are not exposed anywhere.

Note

Ejecting the Mass storage device may vary depending on your operating system.

Make sure to Safely Remove / Eject the Mass storage device on your desktop but do NOT disconnect the Gateway’s USB cable during upload.