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

Fix typos #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public class AnalyzerSurface extends SurfaceView implements SurfaceHolder.Callba
private boolean doAutoscaleInNextDraw = false; // will cause draw() to adjust minDB and maxDB according to the samples
private boolean verticalZoomEnabled = true; // Enables vertical zooming (dB scale)
private boolean verticalScrollEnabled = true; // Enables vertical scrolling (dB scale)
private boolean decoupledAxis = true; // Will seperate the scrolling/zooming sensitive areas for vertical and
private boolean decoupledAxis = true; // Will separate the scrolling/zooming sensitive areas for vertical and
// horizontal axis.

private static final String LOGTAG = "AnalyzerSurface";
Expand Down Expand Up @@ -879,7 +879,7 @@ public boolean onTouchEvent(MotionEvent event) {
/**
* Returns the height of the fft plot in px (y coordinate of the bottom line of the fft spectrum)
*
* @return heigth (in px) of the fft
* @return height (in px) of the fft
*/
private int getFftHeight() {
return (int) (height * fftRatio);
Expand All @@ -888,7 +888,7 @@ private int getFftHeight() {
/**
* Returns the height of the waterfall plot in px
*
* @return heigth (in px) of the waterfall
* @return height (in px) of the waterfall
*/
private int getWaterfallHeight() {
return (int) (height * (1-fftRatio));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1039,7 +1039,7 @@ public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
sp_bandwidthUnit.setEnabled(isChecked);
}
});
cb_bandwidth.toggle(); // to trigger the onCheckedChangeListener at least once to set inital state
cb_bandwidth.toggle(); // to trigger the onCheckedChangeListener at least once to set initial state
cb_bandwidth.setChecked(preferences.getBoolean(getString(R.string.pref_tune_to_frequency_setBandwidth), false));
et_bandwidth.setText(preferences.getString(getString(R.string.pref_tune_to_frequency_bandwidth), "1"));
sp_unit.setSelection(preferences.getInt(getString(R.string.pref_tune_to_frequency_unit), 0));
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/com/mantz_it/rfanalyzer/RtlsdrSource.java
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public boolean isOpen() {

@Override
public boolean close() {
// Stop receving:
// Stop receiving:
if(receiverThread != null)
stopSampling();

Expand Down Expand Up @@ -765,7 +765,7 @@ public void run() {
threadName = this.getName();
byte[] nextCommand = null;

// Perfom "device open". This means connect to the rtl_tcp instance; get the information
// Perform "device open". This means connect to the rtl_tcp instance; get the information
if(connect(10000)) { // 10 seconds for the user to accept permission request
// report that the device is ready:
callback.onIQSourceReady(RtlsdrSource.this);
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/mantz_it/rfanalyzer/Scheduler.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* Sample packets are passed to other blocks by using blocking queues. The samples passed
* to the Demodulator will be shifted to base band first.
* If the Demodulator or the Processing Loop are to slow, the scheduler will automatically
* drop incoming samples to keep the buffer of the hackrf_android library from beeing filled up.
* drop incoming samples to keep the buffer of the hackrf_android library from being filled up.
*
*
* @author Dennis Mantz
Expand Down
2 changes: 1 addition & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ version 1.10

version 1.09
- RTL-SDR support (EXPERIMENTAL)
- Updating hackrf_android libary to version 1.08
- Updating hackrf_android library to version 1.08

version 1.08
- Enable/disable HackRF amplifier and antenna power in settings
Expand Down
34 changes: 17 additions & 17 deletions doc/rf_analyzer_manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ following components are needed:

* SDR hardware: Supported SDR devices are:
* HackRF
* RTL-SDR (with extern RTL2832U driver - see 'Installation')
* RTL-SDR (with external RTL2832U driver - see 'Installation')
* IQFile: RF Analyzer also supports replaying of captured sample files.
You don't need SDR hardware just to test the app with precaptured
samples!
Expand All @@ -76,9 +76,9 @@ It will automatically be updated once a new version is released.
Link: https://play.google.com/store/apps/details?id=com.mantz_it.rfanalyzer
Beta-Program: https://play.google.com/apps/testing/com.mantz_it.rfanalyzer

Alternativeley the app can be downloaded from GitHub and be installed manually
Alternatively the app can be downloaded from GitHub and be installed manually
on the device. Just download the APK file on your device and open it. This
only works if 'Apps from unkown sources' is enabled in the Android security
only works if 'Apps from unknown sources' is enabled in the Android security
settings. Keep in mind that with this method updates have to be installed
manually too!
Link: https://github.com/demantz/RFAnalyzer/blob/master/RFAnalyzer.apk?raw=true
Expand All @@ -96,7 +96,7 @@ Google Play.
Exploring the electro-magnetic spectrum with RF Analyzer is easy. Figure 1
shows the main screen of the app after the first start. The default device
type is set to HackRF. If you are using a RTL stick or if you want to use
a precaptured IQ file as source you have to change the source type in the
a pre-captured IQ file as source you have to change the source type in the
settings (see DSP settings).

![Figure 1](https://raw.githubusercontent.com/demantz/RFAnalyzer/master/doc/screenshots/rf_analyzer_not_running.png)
Expand Down Expand Up @@ -194,11 +194,11 @@ behaviour of the app:
* FFT size: Set the size of the FFT (256,..,65536). Higher values will increase
the precision of the results but also the load on the CPU.
* Averaging: Averaging the FFT results with previous results will make it
easy to spot a very noisy but continous signal. Default is off. Can be set
easy to spot a very noisy but continuous signal. Default is off. Can be set
to values between 1 and 20.
* Peak hold: If enabled, this option will show small dots to indicate the
maximum magnitude for each frequency component. This helps to spot very
short and spontanious signals. (see figure 6)
short and spontaneous signals. (see figure 6)
* Auto start: If enabled, RF Analyzer will start the FFT on each app start.

More signal processing settings are available for each specific hardware type.
Expand Down Expand Up @@ -255,12 +255,12 @@ More signal processing settings are available for each specific hardware type.

* File Source Frequency: The baseband frequency at which the replayed IQ
file was recorded. This setting is automatically adjusted when selecting
an IQ file with XXXHz (or similiar) in its file name. Therefore it is
an IQ file with XXXHz (or similar) in its file name. Therefore it is
not necessary to manually edit this setting if using recorded files from
RF Analyzer that have the default naming scheme.
* File Source Sample Rate: The sample rate at which the replayed IQ file
was recorded. This setting is automatically adjusted when selecting
an IQ file with XXXSps (or similiar) in its file name. Therefore it is
an IQ file with XXXSps (or similar) in its file name. Therefore it is
not necessary to manually edit this setting if using recorded files from
RF Analyzer that have the default naming scheme.
* Source File: Path to the IQ file that should be replayed.
Expand Down Expand Up @@ -310,7 +310,7 @@ be selected:
/storage/emulated/0/RFAnalyzer/. However, the actual directory can be
different on some devices.
* Stop after: If this option is enabled, the recording will automatically
stop after the defined time intervall has passed or the file reached
stop after the defined time interval has passed or the file reached
the defined file size.
Once the recording is running, it is indicated on the screen and can be
stopped by pressing the recording button again. Files that were recorded
Expand All @@ -323,7 +323,7 @@ can be replayed using the File Source option of RF Analyzer.
------------

The bookmarks dialog allows to save frequencies in order to easily tune
to them later again. The dialog can be opend through the bookmark buttion
to them later again. The dialog can be opened through the bookmark button
(white star) in the action bar. Bookmarks are organised in categories
(see figure 10).
It is possible to add, edit and delete bookmarks as well as categories.
Expand All @@ -349,12 +349,12 @@ according to the bookmark attributes.
![Figure 11](https://raw.githubusercontent.com/demantz/RFAnalyzer/master/doc/screenshots/bookmark_list.png)


7. Trouble Shooting
7. Troubleshooting
-------------------

This section is intended to help those who can't get the app to work. Please
note that RF Analyzer is currently developed by only one person and this
project was born out of a hobby. I depent on helpful people who tell me
project was born out of a hobby. I depend on helpful people who tell me
their problems with the app and provide the necessary information so that
I can fix bugs in the software.

Expand All @@ -378,7 +378,7 @@ the following:
The Google Play version is signed with my developer key while the GitHub
version is signed with a debug key. This makes the versions incompatible!
* Installing the Google Play version on top of the GitHub version or vice
verca is not possible. You have to uninstall the old version first!
versa is not possible. You have to uninstall the old version first!
* The GitHub version does not get updated automatically. You have to check
for updates yourself and install them manually!
* The app is open source and everyone can build their own version of the
Expand All @@ -397,7 +397,7 @@ rid of them as good as I can, but nobody is perfect. If the app crashes
please send the bug report through the Android system. This report will
appear on my Google developer console and provides me with all information
that is needed to locate the bug in the code. If you found out that the
crash is reproducable please add a note to the bug report and tell me how
crash is reproducible please add a note to the bug report and tell me how
to reproduce the crash!


Expand All @@ -419,7 +419,7 @@ you somehow can't get the FFT to work.
* 'RTL-SDR: root required':
This is an error from the RTL2832U driver. Please use the RTL2832U driver
with the same settings as with the SDR Touch app (if you use this app too).
For most Android devices and versions you don't need root priviledges to
For most Android devices and versions you don't need root privileges to
access the RTL dongle. But wrong settings in the RTL2832U app might cause
this issue. Also make sure you are using the latest version of this driver.
Uninstalling and reinstalling it might also help with strange issues.
Expand All @@ -441,8 +441,8 @@ The issue: Demodulation is running (is not OFF) but you can't hear anything.
The issue: The demodulated audio is stuttering.

* Device processor to slow:
In order to demodulate audio a recent multicore processer is recomended
* Background activiy:
In order to demodulate audio a recent multicore processor is recommended
* Background activity:
Is another app running expensive tasks in the background. Is RF Analyzer
recording to a file?