Added printout of rawdata to doAnalysis to help with debugging BLE connection
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
package="uk.org.openseizuredetector"
|
||||
android:versionCode="110"
|
||||
android:versionName="4.1.0g">
|
||||
android:versionCode="111"
|
||||
android:versionName="4.1.0h">
|
||||
<!-- android:allowBackup="false" -->
|
||||
<uses-permission android:name="android.permission.BLUETOOTH" />
|
||||
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
|
||||
|
||||
@@ -403,6 +403,7 @@ public abstract class SdDataSource {
|
||||
mSampleFreq = 25;
|
||||
double freqRes = 1.0 * mSampleFreq / mSdData.mNsamp;
|
||||
Log.v(TAG, "doAnalysis(): mSampleFreq=" + mSampleFreq + " mNSamp=" + mSdData.mNsamp + ": freqRes=" + freqRes);
|
||||
Log.v(TAG,"doAnalysis(): rawData=" + Arrays.toString(mSdData.rawData));
|
||||
// Set the frequency bounds for the analysis in fft output bin numbers.
|
||||
nMin = (int) (mAlarmFreqMin / freqRes);
|
||||
nMax = (int) (mAlarmFreqMax / freqRes);
|
||||
|
||||
Reference in New Issue
Block a user