/* Exception callback for printing out exceptions on master side  */
ModbusError masterExceptionCallback(const ModbusMaster *master, uint8_t address, uint8_t function, ModbusExceptionCode code)
/* Exception callback for printing out exceptions on master side  */
ModbusError masterExceptionCallback(const ModbusMaster *master, uint8_t address, uint8_t function, ModbusExceptionCode code)
{
	printf("Received slave %d exception %s (function %d)\n", address, modbusExceptionCodeStr(code), function);
	return MODBUS_OK;
}