dnp3 (C API) 1.1.0
|
Callbacks for handling controls. More...
#include <dnp3.h>
Data Fields | |
void(* | begin_fragment )(void *) |
Notifies the start of a command fragment. More... | |
void(* | end_fragment )(dnp3_database_handle_t *, void *) |
Notifies the end of a command fragment. More... | |
dnp3_command_status_t(* | select_g12v1 )(dnp3_group12_var1_t, uint16_t, dnp3_database_handle_t *, void *) |
Select a CROB, but do not operate. More... | |
dnp3_command_status_t(* | operate_g12v1 )(dnp3_group12_var1_t, uint16_t, dnp3_operate_type_t, dnp3_database_handle_t *, void *) |
Operate a control point. More... | |
dnp3_command_status_t(* | select_g41v1 )(int32_t, uint16_t, dnp3_database_handle_t *, void *) |
Select an analog output, but do not operate. More... | |
dnp3_command_status_t(* | operate_g41v1 )(int32_t, uint16_t, dnp3_operate_type_t, dnp3_database_handle_t *, void *) |
Operate a control point. More... | |
dnp3_command_status_t(* | select_g41v2 )(int16_t, uint16_t, dnp3_database_handle_t *, void *) |
Select an analog output, but do not operate. More... | |
dnp3_command_status_t(* | operate_g41v2 )(int16_t, uint16_t, dnp3_operate_type_t, dnp3_database_handle_t *, void *) |
Operate a control point. More... | |
dnp3_command_status_t(* | select_g41v3 )(float, uint16_t, dnp3_database_handle_t *, void *) |
Select an analog output, but do not operate. More... | |
dnp3_command_status_t(* | operate_g41v3 )(float, uint16_t, dnp3_operate_type_t, dnp3_database_handle_t *, void *) |
Operate a control point. More... | |
dnp3_command_status_t(* | select_g41v4 )(double, uint16_t, dnp3_database_handle_t *, void *) |
Select an analog output, but do not operate. More... | |
dnp3_command_status_t(* | operate_g41v4 )(double, uint16_t, dnp3_operate_type_t, dnp3_database_handle_t *, void *) |
Operate a control point. More... | |
void(* | on_destroy )(void *arg) |
Callback when the underlying owner doesn't need the interface anymore. More... | |
void * | ctx |
Context data. More... | |
Callbacks for handling controls.
void(* dnp3_control_handler_t::begin_fragment) (void *) |
Notifies the start of a command fragment.
ctx | Context data |
void* dnp3_control_handler_t::ctx |
Context data.
void(* dnp3_control_handler_t::end_fragment) (dnp3_database_handle_t *, void *) |
Notifies the end of a command fragment.
database | Database handle |
ctx | Context data |
void(* dnp3_control_handler_t::on_destroy) (void *arg) |
Callback when the underlying owner doesn't need the interface anymore.
arg | Context data |
dnp3_command_status_t(* dnp3_control_handler_t::operate_g12v1) (dnp3_group12_var1_t, uint16_t, dnp3_operate_type_t, dnp3_database_handle_t *, void *) |
Operate a control point.
value | Received CROB |
index | Index of the point |
op_type | Operate type |
database_handle | Database handle |
ctx | Context data |
dnp3_command_status_t(* dnp3_control_handler_t::operate_g41v1) (int32_t, uint16_t, dnp3_operate_type_t, dnp3_database_handle_t *, void *) |
Operate a control point.
value | Received analog output value |
index | Index of the point |
op_type | Operate type |
database_handle | Database handle |
ctx | Context data |
dnp3_command_status_t(* dnp3_control_handler_t::operate_g41v2) (int16_t, uint16_t, dnp3_operate_type_t, dnp3_database_handle_t *, void *) |
Operate a control point.
value | Received analog output value |
index | Index of the point |
op_type | Operate type |
database_handle | Database handle |
ctx | Context data |
dnp3_command_status_t(* dnp3_control_handler_t::operate_g41v3) (float, uint16_t, dnp3_operate_type_t, dnp3_database_handle_t *, void *) |
Operate a control point.
value | Received analog output value |
index | Index of the point |
op_type | Operate type |
database_handle | Database handle |
ctx | Context data |
dnp3_command_status_t(* dnp3_control_handler_t::operate_g41v4) (double, uint16_t, dnp3_operate_type_t, dnp3_database_handle_t *, void *) |
Operate a control point.
value | Received analog output value |
index | Index of the point |
op_type | Operate type |
database_handle | Database handle |
ctx | Context data |
dnp3_command_status_t(* dnp3_control_handler_t::select_g12v1) (dnp3_group12_var1_t, uint16_t, dnp3_database_handle_t *, void *) |
Select a CROB, but do not operate.
Implementors can think of this function as asking the question "is this control supported"?
Most implementations should not alter the database in this method. It is only provided in the event that some event counters reflected via the API get updated on SELECT, but this would be highly abnormal.
value | Received CROB |
index | Index of the point |
database_handle | Database handle |
ctx | Context data |
dnp3_command_status_t(* dnp3_control_handler_t::select_g41v1) (int32_t, uint16_t, dnp3_database_handle_t *, void *) |
Select an analog output, but do not operate.
Implementors can think of this function as asking the question "is this control supported"?
Most implementations should not alter the database in this method. It is only provided in the event that some event counters reflected via the API get updated on SELECT, but this would be highly abnormal.
value | Received analog output value |
index | Index of the point |
database_handle | Database handle |
ctx | Context data |
dnp3_command_status_t(* dnp3_control_handler_t::select_g41v2) (int16_t, uint16_t, dnp3_database_handle_t *, void *) |
Select an analog output, but do not operate.
Implementors can think of this function as asking the question "is this control supported"?
Most implementations should not alter the database in this method. It is only provided in the event that some event counters reflected via the API get updated on SELECT, but this would be highly abnormal.
value | Received analog output value |
index | Index of the point |
database_handle | Database handle |
ctx | Context data |
dnp3_command_status_t(* dnp3_control_handler_t::select_g41v3) (float, uint16_t, dnp3_database_handle_t *, void *) |
Select an analog output, but do not operate.
Implementors can think of this function as asking the question "is this control supported"?
Most implementations should not alter the database in this method. It is only provided in the event that some event counters reflected via the API get updated on SELECT, but this would be highly abnormal.
value | Received analog output value |
index | Index of the point |
database_handle | Database handle |
ctx | Context data |
dnp3_command_status_t(* dnp3_control_handler_t::select_g41v4) (double, uint16_t, dnp3_database_handle_t *, void *) |
Select an analog output, but do not operate.
Implementors can think of this function as asking the question "is this control supported"?
Most implementations should not alter the database in this method. It is only provided in the event that some event counters reflected via the API get updated on SELECT, but this would be highly abnormal.
value | Received analog output value |
index | Index of the point |
database_handle | Database handle |
ctx | Context data |