rodbus (C API) 1.3.1
|
Callbacks received when reading reading holding or input registers. More...
#include <rodbus.h>
Data Fields | |
void(* | on_complete )(rodbus_register_value_iterator_t *, void *) |
Invoked when the asynchronous operation completes successfully. More... | |
void(* | on_failure )(rodbus_request_error_t, void *) |
Invoked when the asynchronous operation fails. More... | |
void(* | on_destroy )(void *arg) |
Callback when the underlying owner doesn't need the interface anymore. More... | |
void * | ctx |
Context data. More... | |
Callbacks received when reading reading holding or input registers.
void* rodbus_register_read_callback_t::ctx |
Context data.
void(* rodbus_register_read_callback_t::on_complete) (rodbus_register_value_iterator_t *, void *) |
Invoked when the asynchronous operation completes successfully.
result | response |
ctx | Context data |
void(* rodbus_register_read_callback_t::on_destroy) (void *arg) |
Callback when the underlying owner doesn't need the interface anymore.
arg | Context data |
void(* rodbus_register_read_callback_t::on_failure) (rodbus_request_error_t, void *) |
Invoked when the asynchronous operation fails.
error | Enumeration indicating which error occurred |
ctx | Context data |