You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I updated the .c file and i want read the config.json file and I'm getting the log_debug inside the get function but I'm not able to get config.json data can you please help here.
and also i want print the log_debug also it is not printing on server side get callback is not getting on get
The text was updated successfully, but these errors were encountered:
So if I understand your problem you are using the https://github.com/vlvassilev/yuma123/blob/master/example-modules/helloworld/helloworld.yang module but you want to add a get-callback returning a dynamic value instead of the constant "Hello world!" value in the example implementation? Is this correct? I think starting from the working implementation and making this change manually will be easier to get started - using the val_init_virtual instead of val_init_from_template function. I do not use the auto generation tools and do not maintain them. Even if they work generating a brute force callback for every leaf is unnecessary IMO.
So what do you want the callback to do and what is the purpose of the "config.json"? Do you want to display this file as the /helloworld-state/message leaf?
Hi Team
I updated the .c file and i want read the config.json file and I'm getting the log_debug inside the get function but I'm not able to get config.json data can you please help here.
and also i want print the log_debug also it is not printing on server side get callback is not getting on get
The text was updated successfully, but these errors were encountered: