Jon Beniston
17f51d3ace
Implement the new Web API endpoints and reports
...
Server side for the spectrum paths added to the spec: GET spectrum/report
returns whichever measurement is switched on, POST spectrum/actions
carries autoscale, clearSpectrum, resetMeasurements, freeze and
gotoMarker, and GET spectrum/data returns the power values reduced to a
number of bins. The display actions reach the spectrum through new
GLSpectrumInterface methods that default to doing nothing, so an instance
without a GUI ignores them rather than every caller having to know.
The measurement results are kept as plain values behind a lock and
published once per displayed frame, so a report costs nothing until one is
asked for, and the figures match what is on screen.
Also completes the main spectrum settings, which were only partly carried
over the API, and adds reports that had no way to be read at all: vessels
for AIS, stations for APRS, sondes for Radiosonde, the programme list for
DAB, the RDS programme service name for BFM, and validity flags for the
ADS-B aircraft report so a caller can tell a missing position from one at
zero. Map settings are exposed through their generated setters.
Two fixes found while testing: the frequency scanner dropped the frequency
list because the API calls it "frequencies" and everything downstream
keys it as "frequencySettings", and the spectrum adapters bound a
reference to the error message before init() had allocated one, so every
error path returned no response at all.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
3 months ago
Daniele Forsi
e56908b0c6
Fix typos in include files
2 years ago
f4exb
439b5d094c
Rewriting of copyright notices for sdrbase. Part of #1893
3 years ago
f4exb
bd4c633e9d
AMBE feature: cleanup of AMBE API support in Instance
5 years ago
f4exb
c057c86ef9
Removed instance LimeRFE API
5 years ago
f4exb
7a8cab7879
Fixed missing bits in API. Fixes #1247
5 years ago
f4exb
9e5c629473
v7: API: added workspace handling for device, spectrum, feature and channel. Implements #1242
5 years ago
f4exb
f545eea5ed
v7: created API to manage workspaces. Implements #1240
5 years ago
f4exb
1bcecec103
v7: added API for configurations and updated presets API. Implements #1234
5 years ago
f4exb
4eba3bb871
v7: removed feature set index from API. Implements #1231
5 years ago
f4exb
233c3f961d
v7 API: removed instance feature set end points and some swagger generated code cleanup
5 years ago
f4exb
b0c35d22b8
API: added PUT, PATCH, POST /sdrangel/featureset/{featureSetIndex}/preset
5 years ago
f4exb
e1c3726a27
API: added GET /sdrangel/featurepresets and DELETE /sdrangel/featurepreset
5 years ago
f4exb
8d68fa5231
API: added /sdrangel/features (GET) to get the list of available feature plugins
5 years ago
f4exb
a36867af66
API: /sdrangel/featuresets (GET) implemented and /sdrangel/featureset (POST, DELETE) implemented returning 501
5 years ago
f4exb
4d86d7e510
REST API: implemented GUI code for /sdrangel/deviceset/{deviceSetIndex}/spectrum/settings (GET) and /sdrangel/deviceset/{deviceSetIndex}/spectrum/server (GET)
6 years ago
f4exb
79b087e93c
Feature plugins: REST API fixes
6 years ago
f4exb
cd5a4db876
Feature plugins framework: presets
6 years ago
f4exb
153429cc7f
Feature plugins framework: REST API and server implementationo
6 years ago
f4exb
b317c0a59d
REST API: device and channel actions: fixes to implementation
7 years ago
f4exb
07c11edb87
REST API device and channel actions: general implementation and RTLSDR and FileSource implementations
7 years ago
f4exb
b5761c8b1d
LimeRFE USB support: REST API: implemented power API
7 years ago
f4exb
17d109b78b
LimeRFE USB support: REST API fixes
7 years ago
f4exb
518e480e99
LimeRFE USB support: REST API: interface and mapper
7 years ago
f4exb
d11f56adb9
REST API: updates for MIMO (4)
7 years ago
f4exb
c777ec881d
REST API: config: PUT (5): mapper work and rework. ChannelAnalyzer complements
7 years ago
f4exb
3ecb73e36e
REST API: Channel Analyzer settings (1)
7 years ago
f4exb
4157f64297
REST API: config: PUT (3): mapper work and rework
7 years ago
f4exb
659f94b4c6
REST API: config: PUT (2): interface
7 years ago
f4exb
62ef01c21c
REST API: config: GET (1) preferences and partial presets
7 years ago
f4exb
0d26936e61
AMBE support: removed code of former /sdrangel/dvserial endpoint. Fixed typo in DVSerial
7 years ago
f4exb
4ef1f011cb
New AMBE engine REST API support
7 years ago
f4exb
029e559824
Single DeviceAPI: REST API fixes
8 years ago
f4exb
fc49bd2855
ixed incomplete copyright headers (3): sdrbase
8 years ago
f4exb
70a4db39c0
Windows: MSVC2017: changes in sdrbase (2)
8 years ago
f4exb
eef1ce9a64
Web API: implemented instanceDVSerialGet
8 years ago
f4exb
f8f976fd50
Web API: implemented device report interface. Applied to Airspy
9 years ago
f4exb
b7065c8c83
Multiple audio support: Web API: implemented all interfaces to AudioDeviceManager
9 years ago
f4exb
249ea735c8
Multiple audio support: Web API: new GET and PATCHes to set input and output parameters
9 years ago
f4exb
72e29fd3f8
Moved export.h file to root of exports directory and removed util
9 years ago
f4exb
6fbbd14fd1
Web API: entry point to get all channel reports at once
9 years ago
f4exb
d4e1521c90
Web API: new entry point to get a channel report. Applied to NFM mod and demod
9 years ago
f4exb
c22d146376
Adapt to MSVC linker
9 years ago
f4exb
8f3ef9e76d
Main Window: fixed memory leak with remove last device
9 years ago
f4exb
a1f69ebc2b
Web API: new generator with lazy instantiation and some memory leak fixes. Implemented in webapi classes (part 1)
9 years ago
f4exb
5f062a24bf
Revert "Web API: removed call to init() in adapter interface"
...
This reverts commit 780e58ba48 .
9 years ago
f4exb
780e58ba48
Web API: removed call to init() in adapter interface
9 years ago
f4exb
8a032d0532
Web API: implemented /sdrangel/deviceset/{deviceSetIndex}/focus PATCH
9 years ago
f4exb
ccffb5101d
Web API: /sdrangel/deviceset/{deviceSetIndex}/device/settings PUT, PATCH with all settings parameters optional
9 years ago
f4exb
bf6607044a
Server: Web API: /sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings PUT, PATCH with all settings parameters optional
9 years ago