Home
last modified time | relevance | path

Searched refs:reg_info (Results 1 – 15 of 15) sorted by relevance

/hal_espressif-3.6.0/examples/protocols/modbus/serial/mb_slave/main/
Dslave.c90 mb_param_info_t reg_info; // keeps the Modbus registers access information in app_main() local
182 ESP_ERROR_CHECK(mbc_slave_get_param_info(&reg_info, MB_PAR_INFO_GET_TOUT)); in app_main()
185 (uint32_t)reg_info.time_stamp, in app_main()
186 (uint32_t)reg_info.mb_offset, in app_main()
187 (uint32_t)reg_info.type, in app_main()
188 (uint32_t)reg_info.address, in app_main()
189 (uint32_t)reg_info.size); in app_main()
190 if (reg_info.address == (uint8_t*)&holding_reg_params.holding_data0) in app_main()
200 ESP_ERROR_CHECK(mbc_slave_get_param_info(&reg_info, MB_PAR_INFO_GET_TOUT)); in app_main()
202 (uint32_t)reg_info.time_stamp, in app_main()
[all …]
/hal_espressif-3.6.0/examples/protocols/modbus/tcp/mb_tcp_slave/main/
Dtcp_slave.c163 mb_param_info_t reg_info; // keeps the Modbus registers access information in slave_operation_func() local
176 ESP_ERROR_CHECK(mbc_slave_get_param_info(&reg_info, MB_PAR_INFO_GET_TOUT)); in slave_operation_func()
179 (uint32_t)reg_info.time_stamp, in slave_operation_func()
180 (uint32_t)reg_info.mb_offset, in slave_operation_func()
181 (uint32_t)reg_info.type, in slave_operation_func()
182 (uint32_t)reg_info.address, in slave_operation_func()
183 (uint32_t)reg_info.size); in slave_operation_func()
184 if (reg_info.address == (uint8_t*)&holding_reg_params.holding_data0) in slave_operation_func()
194 ESP_ERROR_CHECK(mbc_slave_get_param_info(&reg_info, MB_PAR_INFO_GET_TOUT)); in slave_operation_func()
196 (uint32_t)reg_info.time_stamp, in slave_operation_func()
[all …]
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/gap/
Dgap_conn.c61 gap_cb.conn.reg_info.pAMP_ConnectInd_Cb = gap_connect_ind; in gap_conn_init()
62 gap_cb.conn.reg_info.pAMP_ConnectCfm_Cb = gap_connect_cfm; in gap_conn_init()
63 gap_cb.conn.reg_info.pAMP_ConnectPnd_Cb = NULL; in gap_conn_init()
64 gap_cb.conn.reg_info.pAMP_ConfigInd_Cb = gap_config_ind; in gap_conn_init()
65 gap_cb.conn.reg_info.pAMP_ConfigCfm_Cb = gap_config_cfm; in gap_conn_init()
66 gap_cb.conn.reg_info.pAMP_DisconnectInd_Cb = gap_disconnect_ind; in gap_conn_init()
67 gap_cb.conn.reg_info.pAMP_DisconnectCfm_Cb = NULL; in gap_conn_init()
68 gap_cb.conn.reg_info.pAMP_QoSViolationInd_Cb = NULL; in gap_conn_init()
69 gap_cb.conn.reg_info.pAMP_DataInd_Cb = gap_data_ind; in gap_conn_init()
70 gap_cb.conn.reg_info.pAMP_CongestionStatus_Cb = gap_congestion_ind; in gap_conn_init()
[all …]
/hal_espressif-3.6.0/components/freemodbus/tcp_master/modbus_controller/
Dmbc_tcp_master.c374 const mb_parameter_descriptor_t* reg_info = &mbm_opts->mbm_param_descriptor_table[cid]; in mbc_tcp_master_get_cid_info() local
376 …MB_MASTER_CHECK((reg_info->param_key != NULL), ESP_ERR_INVALID_ARG, "mb incorrect characteristic k… in mbc_tcp_master_get_cid_info()
377 *param_buffer = reg_info; in mbc_tcp_master_get_cid_info()
490 mb_parameter_descriptor_t reg_info = { 0 }; in mbc_tcp_master_get_parameter() local
493 error = mbc_tcp_master_set_request(name, MB_PARAM_READ, &request, &reg_info); in mbc_tcp_master_get_parameter()
494 if ((error == ESP_OK) && (cid == reg_info.cid)) { in mbc_tcp_master_get_parameter()
496 pdata = calloc(1, (reg_info.mb_size << 1)); in mbc_tcp_master_get_parameter()
505 reg_info.param_type, reg_info.param_size); in mbc_tcp_master_get_parameter()
511 __FUNCTION__, (unsigned)reg_info.cid, (char*)esp_err_to_name(error)); in mbc_tcp_master_get_parameter()
516 __FUNCTION__, reg_info.cid, (char*)esp_err_to_name(error)); in mbc_tcp_master_get_parameter()
[all …]
/hal_espressif-3.6.0/components/freemodbus/serial_master/modbus_controller/
Dmbc_serial_master.c297 const mb_parameter_descriptor_t* reg_info = &mbm_opts->mbm_param_descriptor_table[cid]; in mbc_serial_master_get_cid_info() local
299 MB_MASTER_CHECK((reg_info->param_key != NULL), in mbc_serial_master_get_cid_info()
301 *param_buffer = reg_info; in mbc_serial_master_get_cid_info()
398 mb_parameter_descriptor_t reg_info = { 0 }; in mbc_serial_master_get_parameter() local
400 error = mbc_serial_master_set_request(name, MB_PARAM_READ, &request, &reg_info); in mbc_serial_master_get_parameter()
401 if ((error == ESP_OK) && (cid == reg_info.cid)) { in mbc_serial_master_get_parameter()
406 __FUNCTION__, (int)reg_info.cid, (char*)esp_err_to_name(error)); in mbc_serial_master_get_parameter()
409 … __FUNCTION__, reg_info.cid, (char*)esp_err_to_name(error)); in mbc_serial_master_get_parameter()
412 *type = reg_info.param_type; in mbc_serial_master_get_parameter()
415 __FUNCTION__, reg_info.cid); in mbc_serial_master_get_parameter()
[all …]
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/sdp/
Dsdp_main.c126 sdp_cb.reg_info.pL2CA_ConnectInd_Cb = sdp_connect_ind; in sdp_init()
127 sdp_cb.reg_info.pL2CA_ConnectCfm_Cb = sdp_connect_cfm; in sdp_init()
128 sdp_cb.reg_info.pL2CA_ConnectPnd_Cb = NULL; in sdp_init()
129 sdp_cb.reg_info.pL2CA_ConfigInd_Cb = sdp_config_ind; in sdp_init()
130 sdp_cb.reg_info.pL2CA_ConfigCfm_Cb = sdp_config_cfm; in sdp_init()
131 sdp_cb.reg_info.pL2CA_DisconnectInd_Cb = sdp_disconnect_ind; in sdp_init()
132 sdp_cb.reg_info.pL2CA_DisconnectCfm_Cb = sdp_disconnect_cfm; in sdp_init()
133 sdp_cb.reg_info.pL2CA_QoSViolationInd_Cb = NULL; in sdp_init()
134 sdp_cb.reg_info.pL2CA_DataInd_Cb = sdp_data_ind; in sdp_init()
135 sdp_cb.reg_info.pL2CA_CongestionStatus_Cb = NULL; in sdp_init()
[all …]
/hal_espressif-3.6.0/components/freemodbus/tcp_slave/modbus_controller/
Dmbc_tcp_slave.c138 static esp_err_t mbc_tcp_slave_get_param_info(mb_param_info_t* reg_info, uint32_t timeout) in mbc_tcp_slave_get_param_info() argument
145 MB_SLAVE_CHECK((reg_info != NULL), ESP_ERR_INVALID_ARG, "mb register information is invalid."); in mbc_tcp_slave_get_param_info()
147 reg_info, pdMS_TO_TICKS(timeout)); in mbc_tcp_slave_get_param_info()
/hal_espressif-3.6.0/components/freemodbus/serial_slave/modbus_controller/
Dmbc_serial_slave.c131 static esp_err_t mbc_serial_slave_get_param_info(mb_param_info_t* reg_info, uint32_t timeout) in mbc_serial_slave_get_param_info() argument
140 MB_SLAVE_CHECK((reg_info != NULL), ESP_ERR_INVALID_ARG, "mb register information is invalid."); in mbc_serial_slave_get_param_info()
142 reg_info, pdMS_TO_TICKS(timeout)); in mbc_serial_slave_get_param_info()
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/gap/include/
Dgap_int.h87 tAMP_APPL_INFO reg_info; member
89 tL2CAP_APPL_INFO reg_info; /* L2CAP Registration info */
/hal_espressif-3.6.0/docs/en/api-reference/protocols/
Dmodbus.rst569 ESP_ERROR_CHECK(mbc_slave_get_param_info(&reg_info, MB_PAR_INFO_GET_TOUT));
576 (uint32_t)reg_info.time_stamp,
577 (uint32_t)reg_info.mb_offset,
578 (uint32_t)reg_info.type,
579 (uint32_t)reg_info.address,
580 (uint32_t)reg_info.size);
584 (uint32_t)reg_info.time_stamp,
585 (uint32_t)reg_info.mb_offset,
586 (uint32_t)reg_info.type,
587 (uint32_t)reg_info.address,
[all …]
/hal_espressif-3.6.0/components/freemodbus/common/include/
Desp_modbus_slave.h140 esp_err_t mbc_slave_get_param_info(mb_param_info_t* reg_info, uint32_t timeout);
/hal_espressif-3.6.0/components/freemodbus/common/
Desp_modbus_slave.c188 esp_err_t mbc_slave_get_param_info(mb_param_info_t* reg_info, uint32_t timeout) in mbc_slave_get_param_info() argument
197 error = slave_interface_ptr->get_param_info(reg_info, timeout); in mbc_slave_get_param_info()
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/sdp/include/
Dsdpint.h218 tL2CAP_APPL_INFO reg_info; /* L2CAP Registration info */ member
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/rfcomm/
Drfc_l2cap_if.c62 tL2CAP_APPL_INFO *p_l2c = &rfc_cb.rfc.reg_info; in rfcomm_l2cap_if_init()
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/rfcomm/include/
Drfc_int.h212 tL2CAP_APPL_INFO reg_info; /* L2CAP Registration info */ member