/hal_espressif-3.4.0/components/freemodbus/port/ |
D | porttimer_m.c | 76 MB_PORT_CHECK((usTimeOut50us > 0), FALSE, in xMBMasterPortTimersInit() 91 MB_PORT_CHECK((xErr == ESP_OK), FALSE, in xMBMasterPortTimersInit() 95 MB_PORT_CHECK((xErr == ESP_OK), FALSE, in xMBMasterPortTimersInit() 99 MB_PORT_CHECK((xErr == ESP_OK), FALSE, in xMBMasterPortTimersInit() 105 MB_PORT_CHECK((xErr == ESP_OK), FALSE, in xMBMasterPortTimersInit() 111 MB_PORT_CHECK((xErr == ESP_OK), FALSE, in xMBMasterPortTimersInit() 120 MB_PORT_CHECK((usTimerTics50us > 0), FALSE, in xMBMasterPortTimersEnable() 125 MB_PORT_CHECK((xErr == ESP_OK), FALSE, in xMBMasterPortTimersEnable() 129 MB_PORT_CHECK((xErr == ESP_OK), FALSE, in xMBMasterPortTimersEnable() 135 MB_PORT_CHECK((xErr == ESP_OK), FALSE, in xMBMasterPortTimersEnable() [all …]
|
D | porttimer.c | 84 MB_PORT_CHECK((usTim1Timerout50us > 0), FALSE, in xMBPortTimersInit() 97 MB_PORT_CHECK((xErr == ESP_OK), FALSE, in xMBPortTimersInit() 101 MB_PORT_CHECK((xErr == ESP_OK), FALSE, in xMBPortTimersInit() 105 MB_PORT_CHECK((xErr == ESP_OK), FALSE, in xMBPortTimersInit() 110 MB_PORT_CHECK((xErr == ESP_OK), FALSE, in xMBPortTimersInit() 116 MB_PORT_CHECK((xErr == ESP_OK), FALSE, in xMBPortTimersInit()
|
D | portevent_m.c | 80 MB_PORT_CHECK((xEventGroupMasterHdl != NULL) && (xEventGroupMasterConfirmHdl != NULL), in xMBMasterPortEventInit() 164 MB_PORT_CHECK((xResourceMasterHdl != NULL), ; , "Resource create error."); in vMBMasterOsResInit() 183 MB_PORT_CHECK((uxBits == MB_EVENT_RESOURCE), FALSE , "Take resource failure."); in xMBMasterRunResTake() 195 MB_PORT_CHECK((uxBits == MB_EVENT_RESOURCE), ; , "Resource release failure."); in vMBMasterRunResRelease() 211 …MB_PORT_CHECK((ret == TRUE), ; , "%s: Post event 'EV_MASTER_ERROR_RESPOND_TIMEOUT' failed!", __fun… in vMBMasterErrorCBRespondTimeout() 226 …MB_PORT_CHECK((ret == TRUE), ; , "%s: Post event 'EV_MASTER_ERROR_RECEIVE_DATA' failed!", __func__… in vMBMasterErrorCBReceiveData() 244 …MB_PORT_CHECK((ret == TRUE), ; , "%s: Post event 'EV_MASTER_ERROR_EXECUTE_FUNCTION' failed!", __fu… in vMBMasterErrorCBExecuteFunction() 260 … MB_PORT_CHECK((ret == TRUE), ; , "%s: Post event 'EV_MASTER_PROCESS_SUCCESS' failed!", __func__); in vMBMasterCBRequestSuccess()
|
D | portserial.c | 125 MB_PORT_CHECK((xTxStatus == ESP_OK), FALSE, "mb serial sent buffer failure."); in xMBPortSerialTxPoll() 233 MB_PORT_CHECK((xErr == ESP_OK), in xMBPortSerialInit() 238 MB_PORT_CHECK((xErr == ESP_OK), FALSE, in xMBPortSerialInit() 243 MB_PORT_CHECK((xErr == ESP_OK), FALSE, in xMBPortSerialInit() 258 MB_PORT_CHECK(FALSE, FALSE, in xMBPortSerialInit()
|
D | portserial_m.c | 120 MB_PORT_CHECK((xTxStatus == ESP_OK), FALSE, "mb serial sent buffer failure."); in xMBMasterPortSerialTxPoll() 231 MB_PORT_CHECK((xErr == ESP_OK), in xMBMasterPortSerialInit() 236 MB_PORT_CHECK((xErr == ESP_OK), FALSE, in xMBMasterPortSerialInit() 240 MB_PORT_CHECK((xErr == ESP_OK), FALSE, in xMBMasterPortSerialInit() 254 MB_PORT_CHECK(FALSE, FALSE, in xMBMasterPortSerialInit()
|
D | portevent.c | 106 MB_PORT_CHECK((xStatus == pdTRUE), FALSE, "%s: Post message failure.", __func__); in xMBPortEventPost()
|
D | port.h | 94 #define MB_PORT_CHECK(a, ret_val, str, ...) \ macro
|
/hal_espressif-3.4.0/components/freemodbus/tcp_slave/port/ |
D | port_tcp_slave.c | 92 MB_PORT_CHECK((xRespQueueHandle != NULL), NULL, "TCP respond queue creation failure."); in xMBTCPPortRespQueueCreate() 104 MB_PORT_CHECK(xRespQueueHandle != NULL, NULL, "Response queue is not initialized."); in vxMBTCPPortRespQueueRecv() 108 MB_PORT_CHECK((xStatus == pdTRUE), NULL, "Could not get respond confirmation."); in vxMBTCPPortRespQueueRecv() 109 MB_PORT_CHECK((pvResp), NULL, "Incorrect response processing."); in vxMBTCPPortRespQueueRecv() 115 MB_PORT_CHECK(xRespQueueHandle != NULL, FALSE, "Response queue is not initialized."); in vxMBTCPPortRespQueueSend() 119 MB_PORT_CHECK((xStatus == pdTRUE), FALSE, "FAIL to send to response queue."); in vxMBTCPPortRespQueueSend() 181 MB_PORT_CHECK(pcIPAddr, -1, "Wrong IP address pointer."); in xMBTCPPortAcceptConnection() 182 MB_PORT_CHECK((xListenSockId > 0), -1, "Incorrect listen socket ID."); in xMBTCPPortAcceptConnection() 219 MB_PORT_CHECK(pxInfo, FALSE, "Client info is NULL."); in xMBTCPPortCloseConnection() 270 … MB_PORT_CHECK((pxClientInfo->usTCPBufPos + pxClientInfo->usTCPFrameBytesLeft < MB_TCP_BUF_SIZE), in xMBTCPPortRxPoll()
|
/hal_espressif-3.4.0/components/freemodbus/tcp_master/port/ |
D | port_tcp_master.c | 289 …MB_PORT_CHECK((pxInfo && pxInfo->xSockId > -1), -1, "Try to read incorrect socket = #%d.", pxInfo-… in xMBTCPPortMasterGetBuf() 331 … MB_PORT_CHECK((pxInfo->xSockId > 0), -1, "Try to read incorrect socket = #%d.", pxInfo->xSockId); in vMBTCPPortMasterReadPacket() 449 MB_PORT_CHECK((pcHostStr), FALSE, "Wrong host name or IP."); in xMBTCPPortMasterCheckHost() 493 MB_PORT_CHECK(xMbPortConfig.xConnectQueue != NULL, FALSE, "Wrong slave IP address to add."); in xMBTCPPortMasterAddSlaveIp() 502 MB_PORT_CHECK((xStatus == pdTRUE), FALSE, "FAIL to add slave IP address: [%s].", pcIpStr); in xMBTCPPortMasterAddSlaveIp()
|