Closed yyvus closed 4 years ago
The full DBus object class name is required in the @DBusInterfaceName annotation.
It should be @DBusInterfaceName( "org.freedesktop.NetworkManager.Device.Wireless" )
.
I fixed this in the interface creation util.
Another note: In Java package names are usually all lower case by convention, so I would suggest you follow that rule. The annotation mentioned above will take care that DBus will receive the String defined in it instead of the Java package name.
Thanks for the careful reading. It did fix the last issue I had to have it work.
Hi,
The following code does always retrieve an
UnknownMethod
exception for the callGetAllAccessPoints
:All though I have a successful call in the terminal with:
Is there an error with the Wireless interface?
Below is my Wireless.java class: