Connect to the WPA2 WiFi network using C++ DBus Connman

458 Views Asked by At

Is it possible to connect to the protected network by its's SSID and password using C++ DBus library?

I could not find any similar code examples over the internet. I want to do something very similar to this, but preferably in C++, and without using the Network manager package because my Linux OS has the Connman package.

Any suitable code examples would be greatly appreciated.

1

There are 1 best solutions below

0
Alvov1 On BEST ANSWER

Managed to do it using the Glib DBus bindings. Code (bigger part) is available here.