deviceName and smartConfigKey are now passed in as parameters. Added timeout in HostFlowControlConsumeBuff.