![]() |
rodbus (C API) 1.3.1
|
Interface used to handle write requests received from the client. More...
#include <rodbus.h>
Data Fields | |
| rodbus_write_result_t(* | write_single_coil )(uint16_t, bool, rodbus_database_t *, void *) |
| Write a single coil received from the client. More... | |
| rodbus_write_result_t(* | write_single_register )(uint16_t, uint16_t, rodbus_database_t *, void *) |
| write a single coil received from the client More... | |
| rodbus_write_result_t(* | write_multiple_coils )(uint16_t, rodbus_bit_value_iterator_t *, rodbus_database_t *, void *) |
| Write multiple coils received from the client. More... | |
| rodbus_write_result_t(* | write_multiple_registers )(uint16_t, rodbus_register_value_iterator_t *, rodbus_database_t *, void *) |
| Write multiple registers received from the client. More... | |
| void(* | on_destroy )(void *arg) |
| Callback when the underlying owner doesn't need the interface anymore. More... | |
| void * | ctx |
| Context data. More... | |
Interface used to handle write requests received from the client.
| void* rodbus_write_handler_t::ctx |
Context data.
| void(* rodbus_write_handler_t::on_destroy) (void *arg) |
Callback when the underlying owner doesn't need the interface anymore.
| arg | Context data |
| rodbus_write_result_t(* rodbus_write_handler_t::write_multiple_coils) (uint16_t, rodbus_bit_value_iterator_t *, rodbus_database_t *, void *) |
Write multiple coils received from the client.
| start | Starting address |
| it | Iterator over coil values |
| database | Database interface for updates |
| ctx | Context data |
| rodbus_write_result_t(* rodbus_write_handler_t::write_multiple_registers) (uint16_t, rodbus_register_value_iterator_t *, rodbus_database_t *, void *) |
Write multiple registers received from the client.
| start | Starting address |
| it | Iterator over register values |
| database | Database interface for updates |
| ctx | Context data |
| rodbus_write_result_t(* rodbus_write_handler_t::write_single_coil) (uint16_t, bool, rodbus_database_t *, void *) |
Write a single coil received from the client.
| index | Index of the coil |
| value | Value of the coil to write |
| database | Database interface for updates |
| ctx | Context data |
| rodbus_write_result_t(* rodbus_write_handler_t::write_single_register) (uint16_t, uint16_t, rodbus_database_t *, void *) |
write a single coil received from the client
| index | Index of the register |
| value | Value of the register to write |
| database | Database interface for updates |
| ctx | Context data |