Hello,
when using the device mode the FW must be compiled with the STUHFL_DEVICE_MODE define set to 1. Either in the project settings or direct in the code.
Optional the STUHFL_HOST_COMMUNICATION=1 settings must be removed if no host communication is needed.
Code stubs for the usage of the define mode can then found in main.c as starting point for the development.
The code is surrounded with the preprocessor statement #if STUHFL_DEVICE_MODE .. #endif in main.c
Independent of the mode (device or host) the implementation gets notified when TAGs are available with the same callback
static STUHFL_T_RET_CODE cbInventoryCycle(STUHFL_T_InventoryData *cycleData)
The cycleData pointer has some statistic information and provides a list of recent found TAGs.
Howto access this information can be found in the host mode demo code STUHFL_demo.
In general the usage of the STUHFL API is independent of the mode, but a simple print TAGs info to screen is not possible in device mode, only the callback stub is implemented.
BR
Nick