Hi Bernard,
On 14/10/2023 03.27, Bernard Nicoll wrote:
> I'm trying to use a 'FILE' as the input source (instead of hardware), but
> nothing seems to happen either with livemon or scanner, it just stays idle.
Neither grgsm_livemon nor grgsm_scanner are designed to work with files. Why do you want to use them with files? Use grgsm_decode if you want to work with files.
> I created a 30secs I/Q sample file using a sample rate of 4000 Khz.w
>
> I am puzzled with this message: file_source :warning: file size is not a
> multiple of item size
How did you capture this file? The file size must be exact multiple of 8 because each complex sample is 64 bit long - 32bit float for real and 32bit float for imaginary.
> hermite@uBuntu:~$ grgsm_scanner
> --args=file=/media/sf_Downloads/grgsm_869_ddc.ddc,rate=4000 -d -v
> Args= file=/media/sf_Downloads/grgsm_869_ddc.ddc,rate=4000
Here rate=4000 is not 4000 Khz but 4Khz
> WARNING: Overriding original sample rate of 4000 with 2e+06
See the above warning.
Regards,
Vasil