clorenz / tefbandscan Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
Currently, the requirements, which qualify a log, are too strict
Extract them into an own, testable, class, so that they can be re-used on automatic scanning, too
For automatic logging, it would be nice to play a short melody or a different acoustic indicator, when the scanning restarts on the band begin
Get it running on a Chromebook (in Linux subsystem)
If possible, write a manual, how to setup a Hotspot on the Chromebook, to which the TEF can connect to, so that you don't to hassle with hotel WLANs, or when on a WLAN-free scanning area, you can still use the software.
If possible, configure the TEF Wifi connection parameters via serial cable
Users might not flash your patched firmware, so the idea is to integrate your changes into the main repository (Sjef), so that we will not have 2 parallel firmware repositories.
Don't update a full log entry (and possibly degrade the logged data), but only update the "improved" fields on existing logs:
Every time, the timestamp must be updated, too.
Idea is to replace current FMLIST scanner, so prepare the csv for (automatic) upload to FMLIST.
to do:
If S/N is not shown (no idea why), don't mark it in red, but in grey or leave it.
18:37:32.380 INFO 92,800 d.c.t.service.ManualScannerService : Logged (BandscanEntry{frequencyKHz=92800, rdsPi='A201', rdsPs=' OE 1 ', psErrors=0, rdsErrors=0, signalStrength=45, cci=2, snr=0, timestamp=2024-06-05T18:37:32.293773594},false)
18:37:32.383 INFO 92,800 d.c.t.service.AutoScannerService : Detected signal increase (45->46). Can log silently.
18:37:32.383 INFO 92,800 d.c.tefbandscan.model.Bandscan : Updated bandscanEntry for primaryKey=92800|A201: BandscanEntry{frequencyKHz=92800, rdsPi='A201', rdsPs=' OE 1 ', psErrors=0, rdsErrors=0, signalStrength=46, cci=2, snr=0, timestamp=2024-06-05T18:37:32.383486769}
18:37:32.429 INFO 92,800 d.c.t.repository.CSVBandscanRepository : Wrote 22 bandscan entries
18:37:32.430 INFO 92,800 d.c.t.service.ManualScannerService : Logged 92800=BandscanEntry{frequencyKHz=92800, rdsPi='A201', rdsPs=' OE 1 ', psErrors=0, rdsErrors=0, signalStrength=46, cci=2, snr=0, timestamp=2024-06-05T18:37:32.383486769}
18:37:32.430 INFO 92,800 d.c.t.service.ManualScannerService : Logged (BandscanEntry{frequencyKHz=92800, rdsPi='A201', rdsPs=' OE 1 ', psErrors=0, rdsErrors=0, signalStrength=46, cci=2, snr=0, timestamp=2024-06-05T18:37:32.383486769},false)
18:38:31.305 INFO 92,800 d.c.t.service.AutoScannerService : Detected signal increase (46->47). Can log silently.
18:38:31.306 INFO 92,800 d.c.tefbandscan.model.Bandscan : Updated bandscanEntry for primaryKey=92800|A201: BandscanEntry{frequencyKHz=92800, rdsPi='A201', rdsPs=' OE 1 ', psErrors=0, rdsErrors=0, signalStrength=47, cci=2, snr=0, timestamp=2024-06-05T18:38:31.305749578}
18:38:31.328 INFO 92,800 d.c.t.repository.CSVBandscanRepository : Wrote 22 bandscan entries
18:38:31.329 INFO 92,800 d.c.t.service.ManualScannerService : Logged 92800=BandscanEntry{frequencyKHz=92800, rdsPi='A201', rdsPs=' OE 1 ', psErrors=0, rdsErrors=0, signalStrength=47, cci=2, snr=0, timestamp=2024-06-05T18:38:31.305749578}
18:38:31.329 INFO 92,800 d.c.t.service.ManualScannerService : Logged (BandscanEntry{frequencyKHz=92800, rdsPi='A201', rdsPs=' OE 1 ', psErrors=0, rdsErrors=0, signalStrength=47, cci=2, snr=0, timestamp=2024-06-05T18:38:31.305749578},false)
It looks strange as the other values are ok.
everything else leads to wrong logging entries
If the wifi connect is broken, but the script has started, you cannot stop it with Ctrl+C
Cannot yet initialize TCP communication: Cannot initialize socket connection to 192.168.43.32:7373: java.net.NoRouteToHostException: Keine Route zum Zielrechner
Cannot yet initialize TCP communication: Cannot initialize socket connection to 192.168.43.32:7373: java.net.NoRouteToHostException: Keine Route zum Zielrechner
^C^CCannot yet initialize TCP communication: Cannot initialize socket connection to 192.168.43.32:7373: java.net.NoRouteToHostException: Keine Route zum Zielrechner
^CCannot yet initialize TCP communication: Cannot initialize socket connection to 192.168.43.32:7373: java.net.NoRouteToHostException: Keine Route zum Zielrechner
dec_error
[ 15:0 ] error code (determined by decoder)
[15:14] = A block error code
[13:12] = B block error code
[11:10] = C block error code
[9:8] = D block error code
0 : no error; block data was received with matching data and syndrome
1 : small error; possible 1 bit reception error detected; data is corrected
2 : large error; theoretical correctable error detected; data is corrected
3 : uncorrectable error; no data correction possible
[7:0] = reserved
Seems, like only the bits 15-8 (the first byte) is returned and must be evaluated properly (for PS, use only the relevant error code, not the whole number!)
When RDS errors == 0 and PS errors == 0, we can take the risk that CCI, S/N or signal might change a tiny little bit, which we won't log, because in these cases, we can jump over to the next frequency
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.