How to change RTSA PRO Parameters with API?
Quote from joedalton on 07/03/2024, 13:23I want to change some parameters, for example sweep zoom start frequency, stop frequency or spectran referance level with API request or any way. Is it possible? If the answer is yes, how can I do ?
I want to change some parameters, for example sweep zoom start frequency, stop frequency or spectran referance level with API request or any way. Is it possible? If the answer is yes, how can I do ?
Quote from joedalton on 07/03/2024, 14:05I found in that document.
I can change start, end, span, center, referance level. I want to change rbw frequency and snn value
I found in that document.
I can change start, end, span, center, referance level. I want to change rbw frequency and snn value
Quote from mm_dev on 07/03/2024, 17:40Quote from joedalton on 07/03/2024, 14:05I want to change rbw frequency and snn value
These settings are block-specific and therefore can't be changed as easily via /control. You'll have to send a PUT request to the /remoteconfig endpoint with the proper JSON structure.
Quote from joedalton on 07/03/2024, 14:05I want to change rbw frequency and snn value
These settings are block-specific and therefore can't be changed as easily via /control. You'll have to send a PUT request to the /remoteconfig endpoint with the proper JSON structure.
Quote from mm_dev on 08/03/2024, 10:12Something like this (with attached mission):
{
"request": 1,
"receiverName": "Block_Spectran V6 Sweep Zoom_0",
"config":
{
"type": "group",
"name": "main",
"items": [
{"name": "rbwFrequency", "value": 100000, "type": "integer"},
{"name": "smoothNoiseFloor", "value": 0.1, "type": "float"}
]
}
}
Something like this (with attached mission):
Uploaded files:{
"request": 1,
"receiverName": "Block_Spectran V6 Sweep Zoom_0",
"config":
{
"type": "group",
"name": "main",
"items": [
{"name": "rbwFrequency", "value": 100000, "type": "integer"},
{"name": "smoothNoiseFloor", "value": 0.1, "type": "float"}
]
}
}
Quote from joedalton on 08/03/2024, 13:08
That is my mission template.
I send put request by "Postman" application. ( http://localhost:54664/remoteconfig )
My request body :
{"request": 1,"receiverName": "Block_Spectran V6 Sweep Zoom_0","config":{"type": "group","name": "main","items": [{"name": "rbwFrequency","value": 10e3,"type": "integer"},{"name": "smoothNoiseFloor","value": 0.2,"type": "float"}]}}
It does not work. Could "receiverName" be wrong? How can I find out?
I receive that response :
{"request": 1,"config": {"type": "group","name": "remoteconfig","label": "RemoteConfig","flags": "","items": []}}
That is my mission template.
I send put request by "Postman" application. ( http://localhost:54664/remoteconfig )
My request body :
It does not work. Could "receiverName" be wrong? How can I find out?
I receive that response :
Quote from mm_dev on 08/03/2024, 14:15What do you get when sending a GET request to the /remoteconfig endpoint? If that is also mostly empty, try dis- and reconnecting the HTTP server block
What do you get when sending a GET request to the /remoteconfig endpoint? If that is also mostly empty, try dis- and reconnecting the HTTP server block
Quote from joedalton on 08/03/2024, 14:41It's working now, I do not know why it did not work.
I send put request and receive a long json response but anything did not change.
It's working now, I do not know why it did not work.
I send put request and receive a long json response but anything did not change.