Home
last modified time | relevance | path

Searched refs:MB_ENOERR (Results 1 – 25 of 25) sorted by relevance

/hal_espressif-3.6.0/components/freemodbus/modbus/
Dmb.c133 eMBErrorCode eStatus = MB_ENOERR; in eMBInit()
179 if( eStatus == MB_ENOERR ) in eMBInit()
200 eMBErrorCode eStatus = MB_ENOERR; in eMBTCPInit()
202 if( ( eStatus = eMBTCPDoInit( ucTCPPort ) ) != MB_ENOERR ) in eMBTCPInit()
247 eStatus = ( i != MB_FUNC_HANDLERS_MAX ) ? MB_ENOERR : MB_ENORES; in eMBRegisterCB()
261 eStatus = MB_ENOERR; in eMBRegisterCB()
276 eMBErrorCode eStatus = MB_ENOERR; in eMBClose()
295 eMBErrorCode eStatus = MB_ENOERR; in eMBEnable()
319 eStatus = MB_ENOERR; in eMBDisable()
323 eStatus = MB_ENOERR; in eMBDisable()
[all …]
Dmb_m.c152 eMBErrorCode eStatus = MB_ENOERR; in eMBMasterTCPInit()
154 if( ( eStatus = eMBMasterTCPDoInit( ucTCPPort ) ) != MB_ENOERR ) { in eMBMasterTCPInit()
186 eMBErrorCode eStatus = MB_ENOERR; in eMBMasterSerialInit()
225 if (eStatus == MB_ENOERR) in eMBMasterSerialInit()
245 eMBErrorCode eStatus = MB_ENOERR; in eMBMasterClose()
264 eMBErrorCode eStatus = MB_ENOERR; in eMBMasterEnable()
290 eStatus = MB_ENOERR; in eMBMasterDisable()
294 eStatus = MB_ENOERR; in eMBMasterDisable()
313 eMBErrorCode eStatus = MB_ENOERR; in eMBMasterPoll()
339 if (eStatus != MB_ENOERR) in eMBMasterPoll()
[all …]
/hal_espressif-3.6.0/components/freemodbus/modbus/functions/
Dmbfuncholding.c95 if( eRegStatus != MB_ENOERR ) in eMBFuncWriteHoldingRegister()
141 if( eRegStatus != MB_ENOERR ) in eMBFuncWriteMultipleHoldingRegister()
209 if( eRegStatus != MB_ENOERR ) in eMBFuncReadHoldingRegister()
274 if( eRegStatus == MB_ENOERR ) in eMBFuncReadWriteMultipleHoldingRegister()
291 if( eRegStatus == MB_ENOERR ) in eMBFuncReadWriteMultipleHoldingRegister()
296 if( eRegStatus != MB_ENOERR ) in eMBFuncReadWriteMultipleHoldingRegister()
Dmbfuncholding_m.c142 if( eRegStatus != MB_ENOERR ) in eMBMasterFuncWriteHoldingRegister()
233 if( eRegStatus != MB_ENOERR ) in eMBMasterFuncWriteMultipleHoldingRegister()
321 if( eRegStatus != MB_ENOERR ) in eMBMasterFuncReadHoldingRegister()
434 if( eRegStatus == MB_ENOERR ) in eMBMasterFuncReadWriteMultipleHoldingRegister()
440 if( eRegStatus != MB_ENOERR ) in eMBMasterFuncReadWriteMultipleHoldingRegister()
Dmbfunccoils.c121 if( eRegStatus != MB_ENOERR ) in eMBFuncReadCoils()
180 if( eRegStatus != MB_ENOERR ) in eMBFuncWriteCoil()
243 if( eRegStatus != MB_ENOERR ) in eMBFuncWriteMultipleCoils()
Dmbfunccoils_m.c160 if( eRegStatus != MB_ENOERR ) in eMBMasterFuncReadCoils()
251 if( eRegStatus != MB_ENOERR ) in eMBMasterFuncWriteCoil()
371 if( eRegStatus != MB_ENOERR ) in eMBMasterFuncWriteMultipleCoils()
Dmbfuncother.c58 eMBErrorCode eStatus = MB_ENOERR; in eMBSetSlaveID()
Dmbfuncinput.c101 if( eRegStatus != MB_ENOERR ) in eMBFuncReadInputRegister()
Dmbfuncdisc.c115 if( eRegStatus != MB_ENOERR ) in eMBFuncReadDiscreteInputs()
Dmbfuncinput_m.c128 if( eRegStatus != MB_ENOERR ) in eMBMasterFuncReadInputRegister()
Dmbutils.c123 case MB_ENOERR: in prveMBError2Exception()
Dmbfuncdisc_m.c142 if( eRegStatus != MB_ENOERR ) in eMBMasterFuncReadDiscreteInputs()
/hal_espressif-3.6.0/components/freemodbus/modbus/tcp/
Dmbtcp_m.c77 eMBErrorCode eStatus = MB_ENOERR; in eMBMasterTCPDoInit()
117 eStatus = MB_ENOERR; in eMBMasterTCPReceive()
135 eMBErrorCode eStatus = MB_ENOERR; in eMBMasterTCPSend()
Dmbtcp.c77 eMBErrorCode eStatus = MB_ENOERR; in eMBTCPDoInit()
118 eStatus = MB_ENOERR; in eMBTCPReceive()
136 eMBErrorCode eStatus = MB_ENOERR; in eMBTCPSend()
/hal_espressif-3.6.0/components/freemodbus/serial_slave/modbus_controller/
Dmbc_serial_slave.c104 MB_SLAVE_CHECK((status == MB_ENOERR), ESP_ERR_INVALID_STATE, in mbc_serial_slave_start()
107 MB_SLAVE_CHECK((status == MB_ENOERR), ESP_ERR_INVALID_STATE, in mbc_serial_slave_start()
162 eMBErrorCode mb_error = MB_ENOERR; in mbc_serial_slave_destroy()
170 MB_SLAVE_CHECK((mb_error == MB_ENOERR), ESP_ERR_INVALID_STATE, "mb stack disable failure."); in mbc_serial_slave_destroy()
175 MB_SLAVE_CHECK((mb_error == MB_ENOERR), ESP_ERR_INVALID_STATE, in mbc_serial_slave_destroy()
/hal_espressif-3.6.0/components/freemodbus/serial_master/modbus_controller/
Dmbc_serial_master.c109 MB_MASTER_CHECK((status == MB_ENOERR), ESP_ERR_INVALID_STATE, in mbc_serial_master_start()
112 MB_MASTER_CHECK((status == MB_ENOERR), ESP_ERR_INVALID_STATE, in mbc_serial_master_start()
129 eMBErrorCode mb_error = MB_ENOERR; in mbc_serial_master_destroy()
137 MB_MASTER_CHECK((mb_error == MB_ENOERR), ESP_ERR_INVALID_STATE, "mb stack disable failure."); in mbc_serial_master_destroy()
141 MB_MASTER_CHECK((mb_error == MB_ENOERR), ESP_ERR_INVALID_STATE, in mbc_serial_master_destroy()
482 eMBErrorCode eStatus = MB_ENOERR; in eMBRegInputCBSerialMaster()
520 eMBErrorCode eStatus = MB_ENOERR; in eMBRegHoldingCBSerialMaster()
568 eMBErrorCode eStatus = MB_ENOERR; in eMBRegCoilsCBSerialMaster()
621 eMBErrorCode eStatus = MB_ENOERR; in eMBRegDiscreteCBSerialMaster()
/hal_espressif-3.6.0/components/freemodbus/common/
Desp_modbus_slave.c160 MB_SLAVE_CHECK((status == MB_ENOERR), ESP_ERR_INVALID_STATE, "mb stack set slave ID failure."); in mbc_slave_start()
298 eMBErrorCode status = MB_ENOERR; in mbc_reg_input_slave_cb()
335 eMBErrorCode status = MB_ENOERR; in mbc_reg_holding_slave_cb()
387 eMBErrorCode status = MB_ENOERR; in mbc_reg_coils_slave_cb()
439 eMBErrorCode status = MB_ENOERR; in mbc_reg_discrete_slave_cb()
479 eMBErrorCode error = MB_ENOERR; in eMBRegDiscreteCB()
496 eMBErrorCode error = MB_ENOERR; in eMBRegCoilsCB()
512 eMBErrorCode error = MB_ENOERR; in eMBRegHoldingCB()
Desp_modbus_master.c193 eMBErrorCode error = MB_ENOERR; in eMBMasterRegDiscreteCB()
207 eMBErrorCode error = MB_ENOERR; in eMBMasterRegCoilsCB()
222 eMBErrorCode error = MB_ENOERR; in eMBMasterRegHoldingCB()
237 eMBErrorCode error = MB_ENOERR; in eMBMasterRegInputCB()
/hal_espressif-3.6.0/components/freemodbus/tcp_slave/modbus_controller/
Dmbc_tcp_slave.c85 MB_SLAVE_CHECK((status == MB_ENOERR), ESP_ERR_INVALID_STATE, in mbc_tcp_slave_start()
93 MB_SLAVE_CHECK((status == MB_ENOERR), ESP_ERR_INVALID_STATE, in mbc_tcp_slave_start()
108 eMBErrorCode mb_error = MB_ENOERR; in mbc_tcp_slave_destroy()
116 MB_SLAVE_CHECK((mb_error == MB_ENOERR), ESP_ERR_INVALID_STATE, "mb stack disable failure."); in mbc_tcp_slave_destroy()
/hal_espressif-3.6.0/components/freemodbus/tcp_master/modbus_controller/
Dmbc_tcp_master.c156 MB_MASTER_CHECK((status == MB_ENOERR), ESP_ERR_INVALID_STATE, in mbc_tcp_master_start()
170 MB_MASTER_CHECK((status == MB_ENOERR), ESP_ERR_INVALID_STATE, in mbc_tcp_master_start()
200 eMBErrorCode mb_error = MB_ENOERR; in mbc_tcp_master_destroy()
204 MB_MASTER_CHECK((mb_error == MB_ENOERR), ESP_ERR_INVALID_STATE, "mb stack disable failure."); in mbc_tcp_master_destroy()
206 MB_MASTER_CHECK((mb_error == MB_ENOERR), ESP_ERR_INVALID_STATE, in mbc_tcp_master_destroy()
597 eMBErrorCode eStatus = MB_ENOERR; in eMBRegInputCBTcpMaster()
632 eMBErrorCode eStatus = MB_ENOERR; in eMBRegHoldingCBTcpMaster()
682 eMBErrorCode eStatus = MB_ENOERR; in eMBRegCoilsCBTcpMaster()
733 eMBErrorCode eStatus = MB_ENOERR; in eMBRegDiscreteCBTcpMaster()
/hal_espressif-3.6.0/components/freemodbus/modbus/rtu/
Dmbrtu.c80 eMBErrorCode eStatus = MB_ENOERR; in eMBRTUInit()
150 eMBErrorCode eStatus = MB_ENOERR; in eMBRTUReceive()
184 eMBErrorCode eStatus = MB_ENOERR; in eMBRTUSend()
Dmbrtu_m.c87 eMBErrorCode eStatus = MB_ENOERR; in eMBMasterRTUInit()
156 eMBErrorCode eStatus = MB_ENOERR; in eMBMasterRTUReceive()
190 eMBErrorCode eStatus = MB_ENOERR; in eMBMasterRTUSend()
/hal_espressif-3.6.0/components/freemodbus/modbus/ascii/
Dmbascii.c102 eMBErrorCode eStatus = MB_ENOERR; in eMBASCIIInit()
146 eMBErrorCode eStatus = MB_ENOERR; in eMBASCIIReceive()
179 eMBErrorCode eStatus = MB_ENOERR; in eMBASCIISend()
Dmbascii_m.c110 eMBErrorCode eStatus = MB_ENOERR; in eMBMasterASCIIInit()
151 eMBErrorCode eStatus = MB_ENOERR; in eMBMasterASCIIReceive()
184 eMBErrorCode eStatus = MB_ENOERR; in eMBMasterASCIISend()
/hal_espressif-3.6.0/components/freemodbus/modbus/include/
Dmb.h115 MB_ENOERR, /*!< no error. */ enumerator