Proper use of reconfigure() function in device-service (C language) #282
Unanswered
GabrielMonS
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I am developing an EdgeX device service in C language. So far I have managed to use most of the functions implemented in the device-example-c (get_handler, set_handler, create_addr, stop, ...) but I am having trouble understanding how to properly use the reconfigure() function.
Could you point out when this method will be called? For example, which REST command (if any) will trigger a call to it? The commentary above the function says that it will be called when "the driver configuration is updated", but I do not fully understand the situation where this will happen. Which 'driver configuration' does it refer to? And can it be be updated externally (e.g. from a POST/PATCH command) or only from within the service?
Thanks in advance for your time and efforts!
Kind regards from a fellow developer.
Beta Was this translation helpful? Give feedback.
All reactions