Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDRAngel crashes on PATCH /sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings with FreqScannerSettings. #1951

Closed
zuker opened this issue Jan 13, 2024 · 1 comment
Labels

Comments

@zuker
Copy link

zuker commented Jan 13, 2024

STR:

  1. Create deviceset with any device, add Frequency Scanner with UI
  2. Run
curl -X PATCH "http://localhost:8091/sdrangel/deviceset/0/channel/0/settings" -H  "accept: application/json" -H  "Content-Type: application/json" -d "{  \"FreqScannerSettings\": {    \"channelBandwidth\": 25000,    \"channelFrequencyOffset\": 25000,    \"channelMarker\": {      \"centerFrequency\": 0,      \"color\": -16724536,      \"frequencyScaleDisplayType\": 0,      \"title\": \"Frequency Scanner\"    },    \"frequencies\": [      {        \"enabled\": 1,        \"frequency\": 100000000      }    ],    \"reverseAPIAddress\": \"127.0.0.1\",    \"reverseAPIChannelIndex\": 0,    \"reverseAPIDeviceIndex\": 0,    \"reverseAPIPort\": 8888,    \"rgbColor\": -16724536,    \"rollupState\": {      \"childrenStates\": [        {          \"isHidden\": 0,          \"objectName\": \"settingsContainer\"        }      ],      \"version\": 0    },    \"streamIndex\": 0,    \"threshold\": -60,    \"title\": \"Frequency Scanner\",    \"useReverseAPI\": 0  },  \"channelType\": \"FreqScanner\",  \"direction\": 0}"

ER: Frequemcy Scanner configured
AR: app crashes

@f4exb
Copy link
Owner

f4exb commented Mar 4, 2024

PR actually fixes the bug

@f4exb f4exb closed this as completed Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants