Open eldstal opened 7 years ago
I have an SD-Card in mine. If you tell me how you created the log I can try here.
Connect using ADB, build the app and select "run" in android studio, open the "Android Monitor" tab at the bottom of the window and add the search filter "ConfigTree" (there's a lot of debugging output).
This capture was made by opening the menu, connecting to the meter and then disconnecting as soon as it was finished.
How do you build the app? (I'm under linux btw)
Sorry, should have gone into more detail.
You will need Android studio (probably available in your package manager) as well as the Android SDK and build tools, etc (should all come in as dependencies of android-studio, no worries).
Check the app out from github and load it as a project in android-studio.
First time around, it will fail to rebuild (it tries automatically as far as I can remember), and you will get messages saying stuff like "Gradle update failed" and a little link with a proposed solution (stuff like "Update build tools to 2.3.2" or "install newer Android SDK"). Keep clicking the links to get your environment set up and eventually the build will complete without errors.
When it has built successfully, enable ADB debugging on your android device and connect it to the computer via USB (it can be done over wifi too, if you google around a little). Hit the "run" button in the tool bar of android studio to push the newly built application to the phone and run it. You will get a warning about signing and invalid app version, saying the currently installed Mooshimeter app needs to be uninstalled. Let it do that.
Once it's up and running, you can see the log in the bottom of the android studio window, under "Android Monitor" (I think it's tab number 6) and it has a "Logcat" tab.
You can filter the log by the string "ConfigTree" to cut down on the noise.
OK, I've tried it with an ill-formatted SD-card (same problem), a properly formatted but empty card (same problem) and finally, a card with some log data on it.
here is what happens with log data present on the card:
08-18 21:53:53.834 21656-21940/com.mooshim.mooshimeter D/ConfigTree: CMD: ADMIN:CRC32
08-18 21:53:53.932 21656-21960/com.mooshim.mooshimeter D/ConfigTree: ADMIN:CRC32:343497802
08-18 21:53:53.932 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 211 6 bytes
08-18 21:53:53.932 21656-21940/com.mooshim.mooshimeter D/ConfigTree: ADMIN:TREE:[B@330d250
08-18 21:53:53.933 21656-21940/com.mooshim.mooshimeter D/ConfigTree: java.nio.ByteArrayBuffer[position=0,limit=790,capacity=790]
08-18 21:53:53.940 21656-21940/com.mooshim.mooshimeter D/ConfigTree: ADMIN
08-18 21:53:53.941 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 0:CRC32
08-18 21:53:53.941 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 1:TREE
08-18 21:53:53.941 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 2:DIAGNOSTIC
08-18 21:53:53.941 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 3:PCB_VERSION
08-18 21:53:53.941 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 4:NAME
08-18 21:53:53.941 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 5:TIME_UTC
08-18 21:53:53.941 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 6:TIME_UTC_MS
08-18 21:53:53.941 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 7:BAT_V
08-18 21:53:53.941 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 8:REBOOT
08-18 21:53:53.941 21656-21940/com.mooshim.mooshimeter D/ConfigTree: NORMAL
08-18 21:53:53.941 21656-21940/com.mooshim.mooshimeter D/ConfigTree: SHIPMODE
08-18 21:53:53.941 21656-21940/com.mooshim.mooshimeter D/ConfigTree: SAMPLING
08-18 21:53:53.941 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 9:RATE
08-18 21:53:53.941 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 125
08-18 21:53:53.942 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 250
08-18 21:53:53.942 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 500
08-18 21:53:53.942 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 1000
08-18 21:53:53.942 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 2000
08-18 21:53:53.942 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 4000
08-18 21:53:53.942 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 8000
08-18 21:53:53.942 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 10:DEPTH
08-18 21:53:53.942 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 32
08-18 21:53:53.942 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 64
08-18 21:53:53.942 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 128
08-18 21:53:53.942 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 256
08-18 21:53:53.942 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 11:TRIGGER
08-18 21:53:53.942 21656-21940/com.mooshim.mooshimeter D/ConfigTree: OFF
08-18 21:53:53.942 21656-21940/com.mooshim.mooshimeter D/ConfigTree: SINGLE
08-18 21:53:53.942 21656-21940/com.mooshim.mooshimeter D/ConfigTree: CONTINUOUS
08-18 21:53:53.943 21656-21940/com.mooshim.mooshimeter D/ConfigTree: LOG
08-18 21:53:53.943 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 12:ON
08-18 21:53:53.943 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 13:INTERVAL
08-18 21:53:53.943 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 14:STATUS
08-18 21:53:53.943 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 15:POLLDIR
08-18 21:53:53.943 21656-21940/com.mooshim.mooshimeter D/ConfigTree: INFO
08-18 21:53:53.943 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 16:INDEX
08-18 21:53:53.943 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 17:END_TIME
08-18 21:53:53.943 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 18:N_BYTES
08-18 21:53:53.943 21656-21940/com.mooshim.mooshimeter D/ConfigTree: STREAM
08-18 21:53:53.943 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 19:INDEX
08-18 21:53:53.943 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 20:OFFSET
08-18 21:53:53.943 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 21:DATA
08-18 21:53:53.944 21656-21940/com.mooshim.mooshimeter D/ConfigTree: CH1
08-18 21:53:53.944 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 22:MAPPING
08-18 21:53:53.944 21656-21940/com.mooshim.mooshimeter D/ConfigTree: CURRENT
08-18 21:53:53.944 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 10
08-18 21:53:53.944 21656-21940/com.mooshim.mooshimeter D/ConfigTree: TEMP
08-18 21:53:53.944 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 350
08-18 21:53:53.944 21656-21940/com.mooshim.mooshimeter D/ConfigTree: SHARED
08-18 21:53:53.944 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 23:RANGE_I
08-18 21:53:53.944 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 24:ANALYSIS
08-18 21:53:53.944 21656-21940/com.mooshim.mooshimeter D/ConfigTree: MEAN
08-18 21:53:53.944 21656-21940/com.mooshim.mooshimeter D/ConfigTree: RMS
08-18 21:53:53.944 21656-21940/com.mooshim.mooshimeter D/ConfigTree: BUFFER
08-18 21:53:53.944 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 25:VALUE
08-18 21:53:53.944 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 26:OFFSET
08-18 21:53:53.945 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 27:BUF
08-18 21:53:53.945 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 28:BUF_BPS
08-18 21:53:53.945 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 29:BUF_LSB2NATIVE
08-18 21:53:53.945 21656-21940/com.mooshim.mooshimeter D/ConfigTree: CH2
08-18 21:53:53.945 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 30:MAPPING
08-18 21:53:53.945 21656-21940/com.mooshim.mooshimeter D/ConfigTree: VOLTAGE
08-18 21:53:53.945 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 60
08-18 21:53:53.945 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 600
08-18 21:53:53.945 21656-21940/com.mooshim.mooshimeter D/ConfigTree: TEMP
08-18 21:53:53.945 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 350
08-18 21:53:53.945 21656-21940/com.mooshim.mooshimeter D/ConfigTree: SHARED
08-18 21:53:53.945 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 31:RANGE_I
08-18 21:53:53.945 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 32:ANALYSIS
08-18 21:53:53.945 21656-21940/com.mooshim.mooshimeter D/ConfigTree: MEAN
08-18 21:53:53.945 21656-21940/com.mooshim.mooshimeter D/ConfigTree: RMS
08-18 21:53:53.946 21656-21940/com.mooshim.mooshimeter D/ConfigTree: BUFFER
08-18 21:53:53.946 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 33:VALUE
08-18 21:53:53.946 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 34:OFFSET
08-18 21:53:53.946 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 35:BUF
08-18 21:53:53.946 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 36:BUF_BPS
08-18 21:53:53.946 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 37:BUF_LSB2NATIVE
08-18 21:53:53.946 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 38:SHARED
08-18 21:53:53.946 21656-21940/com.mooshim.mooshimeter D/ConfigTree: AUX_V
08-18 21:53:53.946 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 0.1
08-18 21:53:53.946 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 0.3
08-18 21:53:53.946 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 1.2
08-18 21:53:53.946 21656-21940/com.mooshim.mooshimeter D/ConfigTree: RESISTANCE
08-18 21:53:53.946 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 1000.0
08-18 21:53:53.946 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 10000.0
08-18 21:53:53.947 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 100000.0
08-18 21:53:53.947 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 1000000.0
08-18 21:53:53.947 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 10000000.0
08-18 21:53:53.949 21656-21940/com.mooshim.mooshimeter D/ConfigTree: DIODE
08-18 21:53:53.949 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 1.2
08-18 21:53:53.949 21656-21940/com.mooshim.mooshimeter D/ConfigTree: 39:REAL_PWR
08-18 21:53:53.949 21656-21940/com.mooshim.mooshimeter D/ConfigTree: CALC CRC: 14795c4a
08-18 21:53:53.949 21656-21940/com.mooshim.mooshimeter D/ConfigTree: CMD: ADMIN:CRC32 343497802
08-18 21:53:54.030 21656-21960/com.mooshim.mooshimeter D/ConfigTree: ADMIN:CRC32:343497802
08-18 21:53:54.031 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 212 6 bytes
08-18 21:53:54.031 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 3
08-18 21:53:54.133 21656-21960/com.mooshim.mooshimeter D/ConfigTree: PCB_VERSION:8
08-18 21:53:54.134 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 213 3 bytes
08-18 21:53:54.134 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 4
08-18 21:53:54.224 21656-21960/com.mooshim.mooshimeter D/ConfigTree: NAME:Muschi�������"�
08-18 21:53:54.224 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 214 20 bytes
08-18 21:53:54.225 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 5
08-18 21:53:54.324 21656-21960/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC:1503086033
08-18 21:53:54.324 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 215 6 bytes
08-18 21:53:54.325 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 6
08-18 21:53:54.425 21656-21960/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC_MS:457
08-18 21:53:54.427 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 216 4 bytes
08-18 21:53:54.428 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 7
08-18 21:53:54.517 21656-21960/com.mooshim.mooshimeter D/ConfigTree: BAT_V:2.6428711
08-18 21:53:54.517 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 217 6 bytes
08-18 21:53:54.517 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 8
08-18 21:53:54.614 21656-21960/com.mooshim.mooshimeter D/ConfigTree: REBOOT:0
08-18 21:53:54.614 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 218 3 bytes
08-18 21:53:54.614 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 9
08-18 21:53:54.719 21656-21960/com.mooshim.mooshimeter D/ConfigTree: SAMPLING:RATE:0
08-18 21:53:54.720 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 219 3 bytes
08-18 21:53:54.720 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 10
08-18 21:53:54.810 21656-21960/com.mooshim.mooshimeter D/ConfigTree: SAMPLING:DEPTH:1
08-18 21:53:54.811 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 220 3 bytes
08-18 21:53:54.811 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 11
08-18 21:53:54.907 21656-21960/com.mooshim.mooshimeter D/ConfigTree: SAMPLING:TRIGGER:1
08-18 21:53:54.907 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 221 3 bytes
08-18 21:53:54.907 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 12
08-18 21:53:55.007 21656-21960/com.mooshim.mooshimeter D/ConfigTree: LOG:ON:1
08-18 21:53:55.007 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 222 3 bytes
08-18 21:53:55.008 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 13
08-18 21:53:55.108 21656-21960/com.mooshim.mooshimeter D/ConfigTree: LOG:INTERVAL:1
08-18 21:53:55.108 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 223 4 bytes
08-18 21:53:55.116 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 14
08-18 21:53:55.199 21656-21960/com.mooshim.mooshimeter D/ConfigTree: LOG:STATUS:0
08-18 21:53:55.199 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 224 3 bytes
08-18 21:53:55.199 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 15
08-18 21:53:55.297 21656-21960/com.mooshim.mooshimeter D/ConfigTree: LOG:POLLDIR:0
08-18 21:53:55.297 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 225 3 bytes
08-18 21:53:55.297 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 16
08-18 21:53:55.395 21656-21960/com.mooshim.mooshimeter D/ConfigTree: ADMIN:DIAGNOSTIC:BADREAD
08-18 21:53:55.395 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 226 11 bytes
08-18 21:53:55.993 21656-21960/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC:1503086034
08-18 21:53:55.994 21656-21960/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC_MS:433
08-18 21:53:55.995 21656-21960/com.mooshim.mooshimeter D/ConfigTree: CH1:VALUE:300.3003
08-18 21:53:55.996 21656-21960/com.mooshim.mooshimeter D/ConfigTree: CH2:VALUE:1.7758368
08-18 21:53:55.997 21656-21960/com.mooshim.mooshimeter D/ConfigTree: Underflow caught
08-18 21:53:55.997 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 227 20 bytes
08-18 21:53:56.001 21656-21960/com.mooshim.mooshimeter D/ConfigTree: REAL_PWR:533.2848
08-18 21:53:56.002 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 228 5 bytes
08-18 21:53:56.669 21656-21960/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC:1503086035
08-18 21:53:56.670 21656-21960/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC_MS:140
08-18 21:53:56.671 21656-21960/com.mooshim.mooshimeter D/ConfigTree: CH1:VALUE:300.30206
08-18 21:53:56.671 21656-21960/com.mooshim.mooshimeter D/ConfigTree: CH2:VALUE:1.7758337
08-18 21:53:56.672 21656-21960/com.mooshim.mooshimeter D/ConfigTree: Underflow caught
08-18 21:53:56.673 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 229 20 bytes
08-18 21:53:56.675 21656-21960/com.mooshim.mooshimeter D/ConfigTree: REAL_PWR:533.2868
08-18 21:53:56.676 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 230 5 bytes
08-18 21:53:56.714 21656-21960/com.mooshim.mooshimeter D/ConfigTree: BAT_V:2.6492286
08-18 21:53:56.714 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 231 6 bytes
08-18 21:53:57.398 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 17
08-18 21:53:57.491 21656-21960/com.mooshim.mooshimeter D/ConfigTree: ADMIN:DIAGNOSTIC:BADREAD
08-18 21:53:57.491 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 232 11 bytes
08-18 21:53:58.085 21656-21960/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC:1503086036
08-18 21:53:58.086 21656-21960/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC_MS:530
08-18 21:53:58.086 21656-21960/com.mooshim.mooshimeter D/ConfigTree: CH1:VALUE:300.30206
08-18 21:53:58.087 21656-21960/com.mooshim.mooshimeter D/ConfigTree: CH2:VALUE:1.7757939
08-18 21:53:58.088 21656-21960/com.mooshim.mooshimeter D/ConfigTree: Underflow caught
08-18 21:53:58.088 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 233 20 bytes
08-18 21:53:58.088 21656-21960/com.mooshim.mooshimeter D/ConfigTree: REAL_PWR:533.27484
08-18 21:53:58.089 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 234 5 bytes
08-18 21:53:58.765 21656-21960/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC:1503086037
08-18 21:53:58.766 21656-21960/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC_MS:213
08-18 21:53:58.766 21656-21960/com.mooshim.mooshimeter D/ConfigTree: CH1:VALUE:300.3003
08-18 21:53:58.767 21656-21960/com.mooshim.mooshimeter D/ConfigTree: CH2:VALUE:1.7758114
08-18 21:53:58.768 21656-21960/com.mooshim.mooshimeter D/ConfigTree: Underflow caught
08-18 21:53:58.768 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 235 20 bytes
08-18 21:53:58.768 21656-21960/com.mooshim.mooshimeter D/ConfigTree: REAL_PWR:533.2769
08-18 21:53:58.769 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 236 5 bytes
08-18 21:53:59.491 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 18
08-18 21:53:59.587 21656-21960/com.mooshim.mooshimeter D/ConfigTree: ADMIN:DIAGNOSTIC:BADREAD
08-18 21:53:59.587 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 237 11 bytes
08-18 21:54:00.172 21656-21960/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC:1503086038
08-18 21:54:00.172 21656-21960/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC_MS:626
08-18 21:54:00.172 21656-21960/com.mooshim.mooshimeter D/ConfigTree: CH1:VALUE:300.30676
08-18 21:54:00.172 21656-21960/com.mooshim.mooshimeter D/ConfigTree: CH2:VALUE:1.7758262
08-18 21:54:00.172 21656-21960/com.mooshim.mooshimeter D/ConfigTree: Underflow caught
08-18 21:54:00.172 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 238 20 bytes
08-18 21:54:00.173 21656-21960/com.mooshim.mooshimeter D/ConfigTree: REAL_PWR:533.29285
08-18 21:54:00.173 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 239 5 bytes
08-18 21:54:00.808 21656-21960/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC:1503086039
08-18 21:54:00.809 21656-21960/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC_MS:282
08-18 21:54:00.809 21656-21960/com.mooshim.mooshimeter D/ConfigTree: CH1:VALUE:300.30618
08-18 21:54:00.810 21656-21960/com.mooshim.mooshimeter D/ConfigTree: CH2:VALUE:1.775827
08-18 21:54:00.810 21656-21960/com.mooshim.mooshimeter D/ConfigTree: Underflow caught
08-18 21:54:00.810 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 240 20 bytes
08-18 21:54:00.814 21656-21960/com.mooshim.mooshimeter D/ConfigTree: REAL_PWR:533.29205
08-18 21:54:00.815 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 241 5 bytes
08-18 21:54:01.587 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 19
08-18 21:54:01.684 21656-21960/com.mooshim.mooshimeter D/ConfigTree: LOG:STREAM:INDEX:0
08-18 21:54:01.684 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 242 4 bytes
08-18 21:54:01.684 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 20
08-18 21:54:01.781 21656-21960/com.mooshim.mooshimeter D/ConfigTree: LOG:STREAM:OFFSET:0
08-18 21:54:01.781 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 243 6 bytes
08-18 21:54:01.781 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 21
08-18 21:54:01.781 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 22
08-18 21:54:01.882 21656-21960/com.mooshim.mooshimeter D/ConfigTree: CH1:MAPPING:1
08-18 21:54:01.882 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 244 3 bytes
08-18 21:54:01.885 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 23
08-18 21:54:01.982 21656-21960/com.mooshim.mooshimeter D/ConfigTree: CH1:RANGE_I:0
08-18 21:54:01.982 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 245 3 bytes
08-18 21:54:01.985 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 24
08-18 21:54:02.079 21656-21960/com.mooshim.mooshimeter D/ConfigTree: CH1:ANALYSIS:0
08-18 21:54:02.081 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 246 3 bytes
08-18 21:54:02.081 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 25
08-18 21:54:02.177 21656-21960/com.mooshim.mooshimeter D/ConfigTree: CH1:VALUE:300.30618
08-18 21:54:02.178 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 247 6 bytes
08-18 21:54:02.178 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 26
08-18 21:54:02.275 21656-21960/com.mooshim.mooshimeter D/ConfigTree: CH1:OFFSET:0.0
08-18 21:54:02.275 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 248 6 bytes
08-18 21:54:02.276 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 27
08-18 21:54:02.276 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 28
08-18 21:54:02.366 21656-21960/com.mooshim.mooshimeter D/ConfigTree: CH1:BUF_BPS:8
08-18 21:54:02.366 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 249 3 bytes
08-18 21:54:02.366 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 29
08-18 21:54:02.467 21656-21960/com.mooshim.mooshimeter D/ConfigTree: CH1:BUF_LSB2NATIVE:0.0
08-18 21:54:02.467 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 250 6 bytes
08-18 21:54:02.467 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 30
08-18 21:54:02.563 21656-21960/com.mooshim.mooshimeter D/ConfigTree: CH2:MAPPING:2
08-18 21:54:02.564 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 251 3 bytes
08-18 21:54:02.565 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 31
08-18 21:54:02.663 21656-21960/com.mooshim.mooshimeter D/ConfigTree: CH2:RANGE_I:0
08-18 21:54:02.667 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 252 3 bytes
08-18 21:54:02.667 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 32
08-18 21:54:02.760 21656-21960/com.mooshim.mooshimeter D/ConfigTree: CH2:ANALYSIS:0
08-18 21:54:02.762 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 253 3 bytes
08-18 21:54:02.763 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 33
08-18 21:54:02.853 21656-21960/com.mooshim.mooshimeter D/ConfigTree: CH2:VALUE:1.775827
08-18 21:54:02.854 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 254 6 bytes
08-18 21:54:02.854 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 34
08-18 21:54:02.951 21656-21960/com.mooshim.mooshimeter D/ConfigTree: CH2:OFFSET:0.0
08-18 21:54:02.951 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 255 6 bytes
08-18 21:54:02.951 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 35
08-18 21:54:02.951 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 36
08-18 21:54:03.051 21656-21960/com.mooshim.mooshimeter D/ConfigTree: CH2:BUF_BPS:8
08-18 21:54:03.052 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 0 3 bytes
08-18 21:54:03.052 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 37
08-18 21:54:03.152 21656-21960/com.mooshim.mooshimeter D/ConfigTree: CH2:BUF_LSB2NATIVE:3.6637783E-5
08-18 21:54:03.152 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 1 6 bytes
08-18 21:54:03.153 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 38
08-18 21:54:03.249 21656-21960/com.mooshim.mooshimeter D/ConfigTree: SHARED:2
08-18 21:54:03.251 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 2 3 bytes
08-18 21:54:03.251 21656-21940/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 39
08-18 21:54:03.347 21656-21960/com.mooshim.mooshimeter D/ConfigTree: REAL_PWR:533.29205
08-18 21:54:03.347 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 3 6 bytes
08-18 21:54:03.348 21656-21940/com.mooshim.mooshimeter D/ConfigTree: CMD: TIME_UTC 1503086043
08-18 21:54:03.444 21656-21960/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC:1503086043
08-18 21:54:03.445 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 4 6 bytes
08-18 21:54:03.557 21656-21940/com.mooshim.mooshimeter D/ConfigTree: CMD: SAMPLING:TRIGGER 2
08-18 21:54:03.635 21656-21960/com.mooshim.mooshimeter D/ConfigTree: SAMPLING:TRIGGER:2
08-18 21:54:03.636 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 5 3 bytes
08-18 21:54:04.219 21656-21960/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC:1503086043
08-18 21:54:04.219 21656-21960/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC_MS:196
08-18 21:54:04.219 21656-21960/com.mooshim.mooshimeter D/ConfigTree: CH1:VALUE:300.30087
08-18 21:54:04.221 21656-21960/com.mooshim.mooshimeter D/ConfigTree: CH2:VALUE:1.7758354
08-18 21:54:04.226 21656-21960/com.mooshim.mooshimeter D/ConfigTree: Underflow caught
08-18 21:54:04.227 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 6 20 bytes
08-18 21:54:04.227 21656-21960/com.mooshim.mooshimeter D/ConfigTree: REAL_PWR:533.28564
08-18 21:54:04.228 21656-21960/com.mooshim.mooshimeter D/ConfigTree: RECV: 7 5 bytes
08-18 21:54:04.495 21656-21656/com.mooshim.mooshimeter D/ConfigTree: CMD: PCB_VERSION
08-18 21:54:04.608 21656-21960/com.mooshim.mooshimeter D/ConfigTree: PCB_VERSION:8
It appears that the timing behavior is the same, although more communication takes place during the BADREADs.
Connecting to my Mooshimeter rev1 takes about 12 seconds, and the profiler indicates that most of this is during configuration. I was curious if it could be sped up somehow (it makes the app feel unresponsive and discourages "impulsive" use of the meter).
Three of the many calls to ConfigNode.reqValue() take the full two seconds (the awaitMilli() call is never aborted by a finished read, but rather time out), which accounts for half of this time.
This happens for the three codes 16, 17 and 18 (see attached LogCat), which as far as I can tell are for LOG.INFO.[INDEX, END_TIME, N_BYTES].
I don't have an SD card to test with, in case this issue only appears for users with no log data.
LogCat output: