New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Dbus] Set and GetAll methods throwing Error io.openthread.Error.NotFound: io.openthread.Error.NotFound error #2133
Comments
I think your
|
For the @morningboata Shall we let ot-br-posix/src/dbus/server/dbus_object.cpp Line 207 in 29cea6a
|
It seems that once the compile time flag is defined, the runtime behavior is well-defined, so that we can fix the property's compile time registration issue instead of tolerate runtime OT_NOT_IMPLEMENTED error? That is:
SuccessOrExit(error = p.second(dictEntryIter));
How do you think? |
Either one seems good to be. The first approach seems simpler to implement because it's feature-agnostic. |
Dbus set and GetAll methods throwing error.
Details:
DBUS_PROPERTY_SET_METHOD "Set"
DBUS_PROPERTY_GET_ALL_METHOD "GetAll"
Introspect for GetAll:
dbus-send command :
dbus-send --system --print-reply --dest=io.openthread.BorderRouter.wpan0 /io/openthread/BorderRouter/wpan0 org.free
desktop.DBus.Properties.GetAll string:"io.openthread.BorderRouter"
Error io.openthread.Error.NotFound: io.openthread.Error.NotFound
dbus-send --system --print-reply --dest=io.openthread.BorderRouter.wpan0 /io/openthread/BorderRouter/wpan0 org.free
desktop.DBus.Properties.GetAll string:io.openthread.BorderRouter
Error io.openthread.Error.NotFound: io.openthread.Error.NotFound
Introspect for set method:
dbus-send command
dbus-send --system --print-reply --dest=io.openthread.BorderRouter.wpan0 /io/openthread/BorderRouter/wpan0 org.free
desktop.DBus.Properties.Set string:io.openthread.BorderRouter string:RadioRegion variant:string:"1234"
Error io.openthread.Error.InvalidArgs: io.openthread.Error.InvalidArgs
dbus-send --system --print-reply --dest=io.openthread.BorderRouter.wpan0 /io/openthread/BorderRouter/wpan0 org.free
desktop.DBus.Properties.Set string:io.openthread.BorderRouter string:"RadioRegion" variant:string:"1234"
Error io.openthread.Error.InvalidArgs: io.openthread.Error.InvalidArgs
The text was updated successfully, but these errors were encountered: