Software Manual
WE865-DUAL Software User Guide
1vv0300788 Rev. 0 08/08/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 24 of 48
5.1 Wireless Tools examples
Some examples on how to use Wireless Tools from system calls:
system(“iwconfig eth0 essid \"My Network\””);
system(“
iwconfig eth0 mode Ad-Hoc”);
system(“iwconfig eth0 channel 3”);
system(“
iwconfig eth0 rate 11M”);
5.2 WiFi Security examples
Some examples on how to use wpa_supplicant and wpa_cli from system calls:
system(“wpa_supplicant –Dunifi -ieth0 -c/etc/wpa_supplicant.conf –d”);
system(“wpa_cli status”);
system(“wpa_cli disconnect”);
system(“wpa_cli reconnect”);