The hardware circuit uses USB data communication
interface, so the driven development should be based on
USB interface. If the communication mode is adopted one to
one or one to many or many to one mode, the WI-FI systems
need to be developed different driving, so AP mode and
STATION mode are designed.
Taking into account one-to-many and many-such as
different means of communication, for WI-FI system
requires a different driver development. To this end we
designed the AP mode and STATION mode.
Driven development generally need to make menuconfig,
select hardware platform, choose compile tool and library
files, modify file_operations structure and develop
program[9]. the collection instrument drivers have routing
function in AP mode, the device and the host computer are
connected one-on-one, when developing the UDHCP
function for devices, a plurality of terminals can be assigned
IP and the collection instrument can be controlled at the
same time. The application of AP model as shown in figure 3.