CMSIS-Driver Validation  
Driver Validation
 
Loading...
Searching...
No Matches
SockServer

The SockServer is an application providing a set of services used by the WiFi CMSIS-Driver Validation suite to test the Socket interface of the WiFi driver. It is located in the <pack installation root>/Tools/SockServer subdirectory of the pack root directory. The SockServer is available for different target systems. It runs several standard network services.

The SockServer is available for Personal Computer running Microsoft Windows (executable located in <pack installation root>/Tools/SockServer/PC/Win).

The following services are available by SockServer:

SockServer for PC running Microsoft Windows

Requirements:

SockServer is already built and can be executed by running the SockServer.exe file in <pack installation root>/Tools/SockServer/PC/Win.

If you need to change the functionality of SockServer, source files and a batch script for building the executable are available in <pack installation root>/Tools/SockServer/PC/Win.

Note
  • SockServer build process requires Minimalist GNU for Windows (MinGW).
  • To build the SockServer executable for Windows, follow these steps:
    • Download and install MinGW from https://winlibs.com/
    • Set environment path in Microsoft Windows as explained under Usage heading on https://winlibs.com/#usage
    • Run Build.bat located in <pack installation root>/Tools/SockServer/PC/Win which will result in an executable that is located in <pack installation root>/Tools/SockServer/PC/Win

Troubleshooting

Problems and solutions:

  1. SockServer not responding to requests
    • Open Windows firewall -> Advanced settings
      • select inbound rules
    • create a new custom rule (New Rule...)
      • Rule type: Program
      • Program: This program path (select path to SockServer.exe)
      • Action: Allow the connection
      • Profile: Domain, Private (Public not advised)
      • Name: SockServer
  2. Test computer not responding to ping
    • Open Windows firewall -> Advanced settings
      • select inbound rules, enable rule File and Printer sharing (Echo request - ICMPv4-In)
    • If rule does not exist, create a new custom rule (New Rule...)
      • Rule type: Custom
      • Program: All programs
      • Protocol type: ICMPv4
      • ICMP Settings: Customize - Specific ICMP types: Echo Request
      • Scope: Any IP address
      • Action: Allow the connection
      • Profile: Domain, Private (Public not advised)
      • Name: Ping Echo