There is a popular WIFI platform called “GoKit” in China. This testing kit can be use to do some customized application. Not only WIFI communication, kit also support other functions. You can find interfaces listed as below.
GoKit Interfaces:

I try to use FRDM-KL02 to communicate with this kit to do a WIFI communication application. Board connection as below.

This platform has two running mode. One is AirLink mode, and another is normal running mode. AirLink mode is used to WIFI communication or pair.
Go to AirLink mode steps:
- Power on FRDM-KL02
- Long press key1 to reset WIFI module. Wait until RED led on.
- Short press Key2 to go into configuration mode, wait until RED led flash on WIFI module.
- Open demo APP, select “adding device”, input SSID password.
- Waiting for configuration finish.
Command Format

HOF: 2bytes, value 0xFFFF
Length: 2bytes
Cmd:1byte
SN:1byte
Flags:2bytes
DATA: Xbytes
Checksum:1byte
- WIFI acquire device information
- MCU inform WIFI into configure mode
- MCU reset WIFI
- WIFI inform MCU status
- WIFI ask for reset
- Illegal command

For detail code, I will post another thread for your reference.