OK, it is ugly as hell, but it is working. Basically it scans GSM900 band and picks up the strongest channel. Then it computes average ppm for this channel and prints it.
P. S. It is good to know, that a RTL-SDR device needs re-kalibration after it warms up (after several minutes).
The idea is to add automatic kalibration of RTL-SDR devices to _airprobe_rtlsdrscanner (-p parameter).
Right now this could be done with this script (first you need to install Kalibrate (i. e. kal):
OK, it is ugly as hell, but it is working. Basically it scans GSM900 band and picks up the strongest channel. Then it computes average ppm for this channel and prints it.
P. S. It is good to know, that a RTL-SDR device needs re-kalibration after it warms up (after several minutes).