Need information on use of EdgeX C SDK callbacks template_create_addr and template_create_resource_attr #78
-
Hi Team, In the Sample Application using EdgeX C SDK I am unable to figure out in which scenarios template_create_addr and template_create_resource_attr mentioned callback functions could be useful. In the Sample application for template_create_addr function we just return the protocols as received in arguments:
Similarly in callback function template_create_resource_attr we return same attribues as received as input:
It would be great if someone can explain with an example taking a scenario in which these callbacks will be useful. I mean what is someone supposed to do with these callbacks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi, there's some notes on those methods in |
Beta Was this translation helpful? Give feedback.
-
Thanks @iain-anderson . There is good explanation about template_create_addr callback in the servicewritersguide.md. I will try out these things myself. Thanks again for your prompt help as always. |
Beta Was this translation helpful? Give feedback.
Hi, there's some notes on those methods in
docs/servicewritersguide.md
. The SDK examples haven't been updated to do parsing in those callbacks, but you can see a usage example in device-bacnet-c.