How to connect to client network using ell dbus interface
Hi,
I am trying to integrate station API to my application (C code), I am using the interface net.connman.iwd.Station to run a scan() and the interface net.connman.iwd.Network to connect() but how I can start a simple agent to provide the password? Can you provide me with a complete procedure to connect to WP2 network using ell dbus binding?
Regards,
Salahaldeen
Hi Salahaldeen,
Quoted 2 lines · salahaldeen.altous(a)leica-camera.com
Hi,
I am trying to integrate station API to my application (C code), I am using the interface net.connman.iwd.Station to run ascan()and the interface net.connman.iwd.Network toconnect()but how I can start a simple agent to provide the password? Can you provide me with a complete procedure to connect to WP2 network using ell dbus binding?
There's an agent implementation that ships as part of our iwctl client. See:
https://git.kernel.org/pub/scm/network/wireless/iwd.git/tree/client/agent.c
https://git.kernel.org/pub/scm/network/wireless/iwd.git/tree/client/agent-manager.c
ell also ships with a basic dbus service example:
https://git.kernel.org/pub/scm/libs/ell/ell.git/tree/examples/dbus-service.c
Regards,
-Denis