Searched refs:excep_code (Results  1 – 6 of 6) sorted by relevance
| /Zephyr-latest/include/zephyr/modbus/ | 
| D | modbus.h | 436 				uint8_t *const excep_code, 448 	uint8_t excep_code;  member 460 		.excep_code = MODBUS_EXC_NONE,				\
  | 
| /Zephyr-latest/subsys/modbus/ | 
| D | modbus_server.c | 81 static void mbs_exception_rsp(struct modbus_context *ctx, uint8_t excep_code)  in mbs_exception_rsp()  argument 85 	LOG_INF("FC 0x%02x Error 0x%02x", ctx->rx_adu.fc, excep_code);  in mbs_exception_rsp() 90 	ctx->tx_adu.data[0] = excep_code;  in mbs_exception_rsp() 941 			p->excep_code = MODBUS_EXC_NONE;  in mbs_try_user_fc() 942 			rval = p->cb(iface, &ctx->rx_adu, &ctx->tx_adu, &p->excep_code,  in mbs_try_user_fc() 945 			if (p->excep_code != MODBUS_EXC_NONE) {  in mbs_try_user_fc() 946 				LOG_INF("Custom handler failed with code %d", p->excep_code);  in mbs_try_user_fc() 947 				mbs_exception_rsp(ctx, p->excep_code);  in mbs_try_user_fc()
  | 
| D | modbus_raw.c | 104 				 const uint8_t excep_code)  in modbus_set_exception()  argument 109 	adu->data[0] = excep_code;  in modbus_set_exception()
  | 
| D | modbus_client.c | 34 	uint8_t excep_code = ctx->rx_adu.data[0];  in mbc_validate_response_fc()  local 47 		if (excep_code > MODBUS_EXC_NONE) {  in mbc_validate_response_fc() 48 			return excep_code;  in mbc_validate_response_fc()
  | 
| D | modbus_core.c | 311 	custom_fc->excep_code = MODBUS_EXC_NONE;  in modbus_register_user_fc()
  | 
| /Zephyr-latest/samples/subsys/modbus/tcp_server/src/ | 
| D | main.c | 34 			   uint8_t *const excep_code,  in custom_handler()  argument 47 		*excep_code = MODBUS_EXC_ILLEGAL_DATA_VAL;  in custom_handler()
  |