-
Notifications
You must be signed in to change notification settings - Fork 461
Reverse API
f4exb edited this page Dec 28, 2018
·
9 revisions
This feature has been added to be able to forward channel and device settings changes to an external application using the same REST API interface as the one used to communicate settings changes to SDRangel. These AP endpoints are used:
-
/sdrangel/deviceset/{deviceSetIndex}/device/settings
withPATCH
method to transmit device settings. ThedeviceSetIndex
variable is the targeted device set index (unsigned integer) -
/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings
withPATCH
method to transmit channel settings. ThedeviceSetIndex
variable is the targeted device set index (unsigned integer) and thechannelIndex
variable is the channel sequence number (unsigned integer). -
/sdrangel/deviceset/{deviceSetIndex}/device/run
withPOST
method to transmit start device action. ThedeviceSetIndex
variable is the targeted device set index (unsigned integer) -
/sdrangel/deviceset/{deviceSetIndex}/device/run
withDELETE
method to transmit stop device action. ThedeviceSetIndex
variable is the targeted device set index (unsigned integer)
The forwarding of settings and/or start/stop action can be activated via GUI along with the connection parameters: address, port, device and if applicable channel indexes.
This is accessed by right clicking on the start/stop button as described here: https://github.com/f4exb/sdrangel/blob/master/sdrgui/readme.md#212-right-click
This is accessed by clicking on the top left grey square as described here: https://github.com/f4exb/sdrangel/blob/master/sdrgui/readme.md#6-channels
- Home
- Quick start
- Hardware requirements
- High DPI displays
- Compile in Linux
- Compile in Windows
- Compile in MacOS
- History and major releases
- Audio related
- Plugins
- Advanced
- Server and API