I'm trying to develop a wifi interface for a linux app in Ubuntu 14.04 LTS.
I tried to use two different libraries:
1.NetworkManager. At the moment, unable to install it in Ubuntu 14.04 asked here
2.Wireless Tools. Found information on how to perform a scan in this post. Succeeded using the library to perform a scan using the answer from @David Matlack but I'm unable to understand the library in order to connect or disconnect to any network.
Has someone succeeded using any of these libraries? Some code example on how to connect would be much appreciated.