Hello Team,
I have been facing an issue with ubus cli call hangs when I sent an integer type parameter to my custom rpcd plugin expecting a string. but when I send the proper string type, it works. I think this should be handled properly in ubus.
Below is my UBUS method
UBUS_METHOD("setNotification", rpc_set_notification, rpc_set_notification_policy),
and below is my policy
const struct blobmsg_policy
rpc_set_notification_policy[RPC_NOTIFICATION_ARG_MAX] = {
UBUS_BLOB_POLICY_STRING("id")
};
and below call hangs and return timeout error
ubus call object setNotification '{"id": 1}'
Thanks,
gargsa