Logical "errors" in "ActivateConnection" and "AddAndActivateConnection"

Hi all.

Reference link :: http://projects.gnome.org/NetworkManager/developers/api/09/spec.html#org.freedesktop.NetworkManager

When I try and execute

ActivateConnection ( o: connection, o: device, o: specific_object ) → o


AddAndActivateConnection ( a{sa{sv}}: connection, o: device, o: specific_object ) → o, o

while passing "reply_handler" and "error_handler" callbacks too, I notice the following things ::

If I provide the correct wifi-network credentials, things work fine - the connection gets activated AND connected, and the "reply_handler" callback function is hit.

However, if I provide incorrect credntials, even  then the "reply_handler" callback function  is hit !!!!!
More surprisingly,
                          the "reply_handler" callback receieves a  newly activated  connection-path !!!!!
                          the "error_handler" callback never gets  hit !!!!!!

I will be grateful if someone could shed some light on the hard-to-digest b)  cases.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]