Hello Uyalc,
all these checks (pretuning, autotuning, output power, receive gain management, ...) are quite easy to handle and modify with the Windows GUI.
Unfortunately there is no equivalent of such GUI on Linux, you will have set all parameters manually.
pretuning:
The current demoEvalAPI.c does not contains such feature demo code.
Please find attached STUHFL_demoInteractive.c (based on v2.1.0) updated with pre-tuning function (menu 't').
Nota: depending on the selected pre-tuning algo you will have to play on resetFreqsTuning() value as a seed.
autotuning:
STUHFL_T_ST25RU3993_Gen2Inventory_Cfg invGen2Cfg;
invGen2Cfg.autoTuningAlgo = TUNING_ALGO_FAST; // FAST is OK, for the time being MEDIUM is a bit too long for autotuning (will be significantly improved in next release)
invGen2Cfg.autoTuningInterval = 7;
invGen2Cfg.autoTuningLevel = 20;
SetGen2InventoryCfg(&invGen2Cfg);
parameters:
your parameters seem to be relatively ok,
with session S2, better to targetDepletionmode to invGen2Cfg.targetDepletionMode = true;
I can see you are using custom frequency, better would be you use full profile frequencies range
receive gain monitoring:
you have to set the sensitivity value (TxRxCfg.rxSensitivity) such as the tags are seen (increase sensitivity) but noise is not polluting (decrease sensitivity).
Nota: all the tuning related features will be significantly improved in releases above 2.1.0.
hoping all of this helps.
regards,
Cedric.