Hi,
I started to prog my own FM/DAB Radio app for a specifix dongle.
Right now I start a process to scan for frequencies. The results should be listed vertically in a widget, but everything I tried failed.
Output from terminal when command has finished:
5A 174928000
5B 176640000
5C 178352000
[LOCKED]
5D 180064000
6A 181936000
6B 183648000
6C 185360000
6D 187072000
7A 188928000
7B 190640000
7C 192352000
7D 194064000
8A 195936000
8B 197648000
[LOCKED]
8C 199360000
8D 201072000
9A 202928000
9B 204640000
9C 206352000
9D 208064000
10A 209936000
10B 211648000
10C 213360000
10D 215072000
11A 216928000
11B 218640000
11C 220352000
11D 222064000
12A 223936000
12B 225648000
12C 227360000
12D 229072000
13A 230748000
13B 232496000
13C 234208000
13D 235776000
13E 237448000
13F 239200000
Scan completed
5A 174928000
5B 176640000
5C 178352000
[LOCKED]
5D 180064000
6A 181936000
6B 183648000
6C 185360000
6D 187072000
7A 188928000
7B 190640000
7C 192352000
7D 194064000
8A 195936000
8B 197648000
[LOCKED]
8C 199360000
8D 201072000
9A 202928000
9B 204640000
9C 206352000
9D 208064000
10A 209936000
10B 211648000
10C 213360000
10D 215072000
11A 216928000
11B 218640000
11C 220352000
11D 222064000
12A 223936000
12B 225648000
12C 227360000
12D 229072000
13A 230748000
13B 232496000
13C 234208000
13D 235776000
13E 237448000
13F 239200000
Scan completed
To copy to clipboard, switch view to plain text mode
The way i start the command when scan button is pushed:
QProcess::execute("/opt/bin/mediaclient --scandabfrequencies /dev/dab0");
QProcess::execute("/opt/bin/mediaclient --scandabfrequencies /dev/dab0");
To copy to clipboard, switch view to plain text mode
I'd like to have these results except the empty line and "Scan completed" in an editable list.
Regards
Bookmarks