6.4.4 Over-The-Air (OTA) Server Setup

The user must follow these steps to set up the OTA-HTTPS server for the WINCS02 OTA demo:
  1. On the PC, navigate to the ota_wincs02_demo\Tools directory.
  2. Download the latest WINCS02 firmware.
  3. After downloading the firmware package, unzip it and navigate to the NC_release_x.x.x\bin directory. Copy the wincs02_ota.bin file and paste it into the wireless_apps_rnwf\apps\ota_demo\tools folder, replacing the existing file.
  4. Open a terminal window in this folder.
  5. Connect the PC to the same Access Point (AP) as the WINCS02 device.
  6. Run the following command in the terminal window to obtain the PC’s IP address:
    1. Type ipconfig and press Enter.
       ipconfig
      
      Note: Copy the IP address of the PC. The user can use this for server configuration.
    Figure 6-110. IPv4 Address
  7. Update the mutual authentication certificate and key file names, as well as the port number, in the Python server script (mutual_auth_server.py).
    1. Run the mutual authentication Python server as the following:
      Figure 6-111. Mutual TLS Authentication Enabled
Note:
  • The IP address and port number are required for Net service configuration on the WINCS02 device.
  • By default, the server script is set for mutual authentication, To disable this feature, set the parameter MUTUAL_AUTH_ENABLED to false in the configuration.