Home
last modified time | relevance | path

Searched refs:mb_error (Results 1 – 4 of 4) sorted by relevance

/hal_espressif-3.6.0/components/freemodbus/serial_master/modbus_controller/
Dmbc_serial_master.c129 eMBErrorCode mb_error = MB_ENOERR; in mbc_serial_master_destroy() local
136 mb_error = eMBMasterDisable(); 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()
140 mb_error = eMBMasterClose(); in mbc_serial_master_destroy()
141 MB_MASTER_CHECK((mb_error == MB_ENOERR), ESP_ERR_INVALID_STATE, in mbc_serial_master_destroy()
142 "mb stack close failure returned (0x%x).", (uint32_t)mb_error); in mbc_serial_master_destroy()
186 eMBMasterReqErrCode mb_error = MB_MRE_NO_REG; in mbc_serial_master_send_request() local
202 mb_error = eMBMasterReqReadCoils((UCHAR)mb_slave_addr, (USHORT)mb_offset, in mbc_serial_master_send_request()
206 mb_error = eMBMasterReqWriteCoil((UCHAR)mb_slave_addr, (USHORT)mb_offset, in mbc_serial_master_send_request()
210 mb_error = eMBMasterReqWriteMultipleCoils((UCHAR)mb_slave_addr, (USHORT)mb_offset, in mbc_serial_master_send_request()
[all …]
/hal_espressif-3.6.0/components/freemodbus/tcp_master/modbus_controller/
Dmbc_tcp_master.c200 eMBErrorCode mb_error = MB_ENOERR; in mbc_tcp_master_destroy() local
203 mb_error = eMBMasterDisable(); 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()
205 mb_error = eMBMasterClose(); in mbc_tcp_master_destroy()
206 MB_MASTER_CHECK((mb_error == MB_ENOERR), ESP_ERR_INVALID_STATE, in mbc_tcp_master_destroy()
207 "mb stack close failure returned (0x%x).", (uint32_t)mb_error); in mbc_tcp_master_destroy()
268 eMBMasterReqErrCode mb_error = MB_MRE_NO_REG; in mbc_tcp_master_send_request() local
284 mb_error = eMBMasterReqReadCoils((UCHAR)mb_slave_addr, (USHORT)mb_offset, in mbc_tcp_master_send_request()
288 mb_error = eMBMasterReqWriteCoil((UCHAR)mb_slave_addr, (USHORT)mb_offset, in mbc_tcp_master_send_request()
292 mb_error = eMBMasterReqWriteMultipleCoils((UCHAR)mb_slave_addr, (USHORT)mb_offset, in mbc_tcp_master_send_request()
[all …]
/hal_espressif-3.6.0/components/freemodbus/serial_slave/modbus_controller/
Dmbc_serial_slave.c162 eMBErrorCode mb_error = MB_ENOERR; in mbc_serial_slave_destroy() local
169 mb_error = eMBDisable(); 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()
174 mb_error = eMBClose(); in mbc_serial_slave_destroy()
175 MB_SLAVE_CHECK((mb_error == MB_ENOERR), ESP_ERR_INVALID_STATE, in mbc_serial_slave_destroy()
176 "mb stack close failure returned (0x%x).", (uint32_t)mb_error); in mbc_serial_slave_destroy()
/hal_espressif-3.6.0/components/freemodbus/tcp_slave/modbus_controller/
Dmbc_tcp_slave.c108 eMBErrorCode mb_error = MB_ENOERR; in mbc_tcp_slave_destroy() local
115 mb_error = eMBDisable(); 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()