Re: sdrangelsrv - how to measure received signal power


Edouard Griffiths
 
Edited

Hello Keith,

You can query a report from the channel plugin. Assuming the channel you are using is the only one (index 0) in the only device used (index 0) you send a GET at:
http://127.0.0.1:8091/sdrangel/deviceset/0/channel/0/report
Then the reply should be: 
{
  "SSBDemodReport": {
    "audioSampleRate": 48000,
    "channelPowerDB": -83.94326782226562,
    "channelSampleRate": 12000,
    "squelch": 1
  },
  "channelType": "SSBDemod",
  "direction": 0
}
The data you are looking for is in "channelPowerDB". This example is for SSB but nearly all channel plugins use the same syntax.

Best regards,
Edouard.

Join sdrangel@groups.io to automatically receive all group messages.