mooshim / Mooshimeter-AndroidApp

50 stars 28 forks source link

Connection is delayed 6 seconds by ADMIN:DIAGNOSTIC:BADREAD #64

Open eldstal opened 7 years ago

eldstal commented 7 years ago

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:

08-13 00:45:21.866 16399-16958/com.mooshim.mooshimeter D/ConfigTree: CMD: ADMIN:CRC32
08-13 00:45:22.000 16399-16983/com.mooshim.mooshimeter D/ConfigTree: ADMIN:CRC32:343497802
08-13 00:45:22.002 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 6 6 bytes
08-13 00:45:22.010 16399-16958/com.mooshim.mooshimeter D/ConfigTree: ADMIN:TREE:[B@7dd0aff
08-13 00:45:22.012 16399-16958/com.mooshim.mooshimeter D/ConfigTree: java.nio.ByteArrayBuffer[position=0,limit=790,capacity=790]
08-13 00:45:22.043 16399-16958/com.mooshim.mooshimeter D/ConfigTree:   ADMIN
08-13 00:45:22.044 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     0:CRC32
08-13 00:45:22.044 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     1:TREE
08-13 00:45:22.044 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     2:DIAGNOSTIC
08-13 00:45:22.044 16399-16958/com.mooshim.mooshimeter D/ConfigTree:   3:PCB_VERSION
08-13 00:45:22.044 16399-16958/com.mooshim.mooshimeter D/ConfigTree:   4:NAME
08-13 00:45:22.044 16399-16958/com.mooshim.mooshimeter D/ConfigTree:   5:TIME_UTC
08-13 00:45:22.044 16399-16958/com.mooshim.mooshimeter D/ConfigTree:   6:TIME_UTC_MS
08-13 00:45:22.044 16399-16958/com.mooshim.mooshimeter D/ConfigTree:   7:BAT_V
08-13 00:45:22.044 16399-16958/com.mooshim.mooshimeter D/ConfigTree:   8:REBOOT
08-13 00:45:22.044 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     NORMAL
08-13 00:45:22.044 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     SHIPMODE
08-13 00:45:22.044 16399-16958/com.mooshim.mooshimeter D/ConfigTree:   SAMPLING
08-13 00:45:22.044 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     9:RATE
08-13 00:45:22.044 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       125
08-13 00:45:22.045 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       250
08-13 00:45:22.045 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       500
08-13 00:45:22.045 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       1000
08-13 00:45:22.045 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       2000
08-13 00:45:22.045 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       4000
08-13 00:45:22.045 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       8000
08-13 00:45:22.045 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     10:DEPTH
08-13 00:45:22.045 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       32
08-13 00:45:22.045 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       64
08-13 00:45:22.045 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       128
08-13 00:45:22.046 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       256
08-13 00:45:22.046 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     11:TRIGGER
08-13 00:45:22.047 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       OFF
08-13 00:45:22.047 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       SINGLE
08-13 00:45:22.047 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       CONTINUOUS
08-13 00:45:22.047 16399-16958/com.mooshim.mooshimeter D/ConfigTree:   LOG
08-13 00:45:22.047 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     12:ON
08-13 00:45:22.047 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     13:INTERVAL
08-13 00:45:22.047 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     14:STATUS
08-13 00:45:22.047 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     15:POLLDIR
08-13 00:45:22.047 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     INFO
08-13 00:45:22.048 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       16:INDEX
08-13 00:45:22.048 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       17:END_TIME
08-13 00:45:22.048 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       18:N_BYTES
08-13 00:45:22.048 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     STREAM
08-13 00:45:22.048 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       19:INDEX
08-13 00:45:22.048 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       20:OFFSET
08-13 00:45:22.048 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       21:DATA
08-13 00:45:22.049 16399-16958/com.mooshim.mooshimeter D/ConfigTree:   CH1
08-13 00:45:22.049 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     22:MAPPING
08-13 00:45:22.049 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       CURRENT
08-13 00:45:22.049 16399-16958/com.mooshim.mooshimeter D/ConfigTree:         10
08-13 00:45:22.049 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       TEMP
08-13 00:45:22.049 16399-16958/com.mooshim.mooshimeter D/ConfigTree:         350
08-13 00:45:22.049 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       SHARED
08-13 00:45:22.049 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     23:RANGE_I
08-13 00:45:22.049 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     24:ANALYSIS
08-13 00:45:22.049 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       MEAN
08-13 00:45:22.049 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       RMS
08-13 00:45:22.049 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       BUFFER
08-13 00:45:22.050 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     25:VALUE
08-13 00:45:22.050 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     26:OFFSET
08-13 00:45:22.050 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     27:BUF
08-13 00:45:22.050 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     28:BUF_BPS
08-13 00:45:22.050 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     29:BUF_LSB2NATIVE
08-13 00:45:22.050 16399-16958/com.mooshim.mooshimeter D/ConfigTree:   CH2
08-13 00:45:22.050 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     30:MAPPING
08-13 00:45:22.050 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       VOLTAGE
08-13 00:45:22.050 16399-16958/com.mooshim.mooshimeter D/ConfigTree:         60
08-13 00:45:22.050 16399-16958/com.mooshim.mooshimeter D/ConfigTree:         600
08-13 00:45:22.050 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       TEMP
08-13 00:45:22.050 16399-16958/com.mooshim.mooshimeter D/ConfigTree:         350
08-13 00:45:22.050 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       SHARED
08-13 00:45:22.050 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     31:RANGE_I
08-13 00:45:22.051 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     32:ANALYSIS
08-13 00:45:22.051 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       MEAN
08-13 00:45:22.051 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       RMS
08-13 00:45:22.052 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       BUFFER
08-13 00:45:22.052 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     33:VALUE
08-13 00:45:22.052 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     34:OFFSET
08-13 00:45:22.052 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     35:BUF
08-13 00:45:22.052 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     36:BUF_BPS
08-13 00:45:22.052 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     37:BUF_LSB2NATIVE
08-13 00:45:22.052 16399-16958/com.mooshim.mooshimeter D/ConfigTree:   38:SHARED
08-13 00:45:22.052 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     AUX_V
08-13 00:45:22.052 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       0.1
08-13 00:45:22.052 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       0.3
08-13 00:45:22.052 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       1.2
08-13 00:45:22.052 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     RESISTANCE
08-13 00:45:22.052 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       1000.0
08-13 00:45:22.053 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       10000.0
08-13 00:45:22.053 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       100000.0
08-13 00:45:22.053 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       1000000.0
08-13 00:45:22.053 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       10000000.0
08-13 00:45:22.053 16399-16958/com.mooshim.mooshimeter D/ConfigTree:     DIODE
08-13 00:45:22.053 16399-16958/com.mooshim.mooshimeter D/ConfigTree:       1.2
08-13 00:45:22.053 16399-16958/com.mooshim.mooshimeter D/ConfigTree:   39:REAL_PWR
08-13 00:45:22.053 16399-16958/com.mooshim.mooshimeter D/ConfigTree: CALC CRC: 14795c4a
08-13 00:45:22.063 16399-16958/com.mooshim.mooshimeter D/ConfigTree: CMD: ADMIN:CRC32 343497802
08-13 00:45:22.159 16399-16983/com.mooshim.mooshimeter D/ConfigTree: ADMIN:CRC32:343497802
08-13 00:45:22.159 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 7 6 bytes
08-13 00:45:22.160 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 3
08-13 00:45:22.257 16399-16983/com.mooshim.mooshimeter D/ConfigTree: PCB_VERSION:8
08-13 00:45:22.257 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 8 3 bytes
08-13 00:45:22.257 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 4
08-13 00:45:22.356 16399-16983/com.mooshim.mooshimeter D/ConfigTree: NAME:Muschi�������"�
08-13 00:45:22.357 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 5
08-13 00:45:22.357 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 9 20 bytes
08-13 00:45:22.453 16399-16983/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC:1502577921
08-13 00:45:22.454 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 6
08-13 00:45:22.455 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 10 6 bytes
08-13 00:45:22.557 16399-16983/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC_MS:220
08-13 00:45:22.558 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 11 4 bytes
08-13 00:45:22.560 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 7
08-13 00:45:22.681 16399-16983/com.mooshim.mooshimeter D/ConfigTree: BAT_V:2.6574023
08-13 00:45:22.681 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 12 6 bytes
08-13 00:45:22.682 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 8
08-13 00:45:22.746 16399-16983/com.mooshim.mooshimeter D/ConfigTree: REBOOT:0
08-13 00:45:22.746 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 13 3 bytes
08-13 00:45:22.747 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 9
08-13 00:45:22.847 16399-16983/com.mooshim.mooshimeter D/ConfigTree: SAMPLING:RATE:0
08-13 00:45:22.847 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 14 3 bytes
08-13 00:45:22.847 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 10
08-13 00:45:22.948 16399-16983/com.mooshim.mooshimeter D/ConfigTree: SAMPLING:DEPTH:1
08-13 00:45:22.949 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 15 3 bytes
08-13 00:45:22.950 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 11
08-13 00:45:23.037 16399-16983/com.mooshim.mooshimeter D/ConfigTree: SAMPLING:TRIGGER:0
08-13 00:45:23.037 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 16 3 bytes
08-13 00:45:23.037 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 12
08-13 00:45:23.135 16399-16983/com.mooshim.mooshimeter D/ConfigTree: LOG:ON:0
08-13 00:45:23.135 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 17 3 bytes
08-13 00:45:23.135 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 13
08-13 00:45:23.247 16399-16983/com.mooshim.mooshimeter D/ConfigTree: LOG:INTERVAL:10
08-13 00:45:23.248 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 18 4 bytes
08-13 00:45:23.250 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 14
08-13 00:45:23.329 16399-16983/com.mooshim.mooshimeter D/ConfigTree: LOG:STATUS:1
08-13 00:45:23.329 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 19 3 bytes
08-13 00:45:23.330 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 15
08-13 00:45:23.477 16399-16983/com.mooshim.mooshimeter D/ConfigTree: LOG:POLLDIR:0
08-13 00:45:23.478 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 20 3 bytes
08-13 00:45:23.478 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 16
08-13 00:45:23.582 16399-16983/com.mooshim.mooshimeter D/ConfigTree: ADMIN:DIAGNOSTIC:BADREAD
08-13 00:45:23.583 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 21 11 bytes
08-13 00:45:25.583 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 17
08-13 00:45:25.673 16399-16983/com.mooshim.mooshimeter D/ConfigTree: ADMIN:DIAGNOSTIC:BADREAD
08-13 00:45:25.674 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 22 11 bytes
08-13 00:45:25.869 16399-16983/com.mooshim.mooshimeter D/ConfigTree: BAT_V:2.6592188
08-13 00:45:25.870 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 23 6 bytes
08-13 00:45:25.875 16399-16983/com.mooshim.mooshimeter D/ConfigTree: LOG:STATUS:1
08-13 00:45:25.876 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 24 3 bytes
08-13 00:45:27.670 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 18
08-13 00:45:27.766 16399-16983/com.mooshim.mooshimeter D/ConfigTree: ADMIN:DIAGNOSTIC:BADREAD
08-13 00:45:27.766 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 25 11 bytes
08-13 00:45:29.765 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 19
08-13 00:45:29.872 16399-16983/com.mooshim.mooshimeter D/ConfigTree: LOG:STREAM:INDEX:0
08-13 00:45:29.873 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 26 4 bytes
08-13 00:45:29.876 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 20
08-13 00:45:29.959 16399-16983/com.mooshim.mooshimeter D/ConfigTree: LOG:STREAM:OFFSET:0
08-13 00:45:29.960 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 27 6 bytes
08-13 00:45:29.960 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 21
08-13 00:45:29.960 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 22
08-13 00:45:30.057 16399-16983/com.mooshim.mooshimeter D/ConfigTree: CH1:MAPPING:2
08-13 00:45:30.057 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 28 3 bytes
08-13 00:45:30.057 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 23
08-13 00:45:30.162 16399-16983/com.mooshim.mooshimeter D/ConfigTree: CH1:RANGE_I:4
08-13 00:45:30.162 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 29 3 bytes
08-13 00:45:30.163 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 24
08-13 00:45:30.259 16399-16983/com.mooshim.mooshimeter D/ConfigTree: CH1:ANALYSIS:0
08-13 00:45:30.259 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 30 3 bytes
08-13 00:45:30.260 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 25
08-13 00:45:30.354 16399-16983/com.mooshim.mooshimeter D/ConfigTree: CH1:VALUE:-1.6312618E10
08-13 00:45:30.355 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 31 6 bytes
08-13 00:45:30.355 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 26
08-13 00:45:30.457 16399-16983/com.mooshim.mooshimeter D/ConfigTree: CH1:OFFSET:6.1646715E-33
08-13 00:45:30.458 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 32 6 bytes
08-13 00:45:30.459 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 27
08-13 00:45:30.459 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 28
08-13 00:45:30.553 16399-16983/com.mooshim.mooshimeter D/ConfigTree: CH1:BUF_BPS:8
08-13 00:45:30.554 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 33 3 bytes
08-13 00:45:30.556 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 29
08-13 00:45:30.691 16399-16983/com.mooshim.mooshimeter D/ConfigTree: CH1:BUF_LSB2NATIVE:0.0
08-13 00:45:30.691 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 34 6 bytes
08-13 00:45:30.691 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 30
08-13 00:45:30.788 16399-16983/com.mooshim.mooshimeter D/ConfigTree: CH2:MAPPING:0
08-13 00:45:30.789 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 35 3 bytes
08-13 00:45:30.789 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 31
08-13 00:45:30.890 16399-16983/com.mooshim.mooshimeter D/ConfigTree: CH2:RANGE_I:0
08-13 00:45:30.890 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 36 3 bytes
08-13 00:45:30.892 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 32
08-13 00:45:30.984 16399-16983/com.mooshim.mooshimeter D/ConfigTree: CH2:ANALYSIS:0
08-13 00:45:30.984 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 37 3 bytes
08-13 00:45:30.985 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 33
08-13 00:45:31.084 16399-16983/com.mooshim.mooshimeter D/ConfigTree: CH2:VALUE:1.4655113E-4
08-13 00:45:31.084 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 38 6 bytes
08-13 00:45:31.085 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 34
08-13 00:45:31.187 16399-16983/com.mooshim.mooshimeter D/ConfigTree: CH2:OFFSET:0.0
08-13 00:45:31.188 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 39 6 bytes
08-13 00:45:31.189 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 35
08-13 00:45:31.189 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 36
08-13 00:45:31.276 16399-16983/com.mooshim.mooshimeter D/ConfigTree: CH2:BUF_BPS:8
08-13 00:45:31.276 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 40 3 bytes
08-13 00:45:31.277 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 37
08-13 00:45:31.374 16399-16983/com.mooshim.mooshimeter D/ConfigTree: CH2:BUF_LSB2NATIVE:0.0
08-13 00:45:31.374 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 41 6 bytes
08-13 00:45:31.374 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 38
08-13 00:45:31.475 16399-16983/com.mooshim.mooshimeter D/ConfigTree: SHARED:1
08-13 00:45:31.479 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 42 3 bytes
08-13 00:45:31.480 16399-16958/com.mooshim.mooshimeter D/ConfigTree: Requesting config code 39
08-13 00:45:31.569 16399-16983/com.mooshim.mooshimeter D/ConfigTree: REAL_PWR:-207.55301
08-13 00:45:31.569 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 43 6 bytes
08-13 00:45:31.569 16399-16958/com.mooshim.mooshimeter D/ConfigTree: CMD: TIME_UTC 1502577931
08-13 00:45:31.666 16399-16983/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC:1502577931
08-13 00:45:31.666 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 44 6 bytes
08-13 00:45:31.823 16399-16958/com.mooshim.mooshimeter D/ConfigTree: CMD: SAMPLING:TRIGGER 2
08-13 00:45:31.910 16399-16983/com.mooshim.mooshimeter D/ConfigTree: SAMPLING:TRIGGER:2
08-13 00:45:31.910 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 45 3 bytes
08-13 00:45:32.699 16399-16399/com.mooshim.mooshimeter D/ConfigTree: CMD: PCB_VERSION
08-13 00:45:32.787 16399-16983/com.mooshim.mooshimeter D/ConfigTree: PCB_VERSION:8
08-13 00:45:32.787 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 46 3 bytes
08-13 00:45:35.371 16399-16983/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC:1502577934
08-13 00:45:35.372 16399-16983/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC_MS:123
08-13 00:45:35.372 16399-16983/com.mooshim.mooshimeter D/ConfigTree: CH1:VALUE:-1.3435257E10
08-13 00:45:35.378 16399-16983/com.mooshim.mooshimeter D/ConfigTree: CH2:VALUE:1.8318891E-4
08-13 00:45:35.381 16399-16983/com.mooshim.mooshimeter D/ConfigTree: Underflow caught
08-13 00:45:35.381 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 47 20 bytes
08-13 00:45:35.382 16399-16983/com.mooshim.mooshimeter D/ConfigTree: REAL_PWR:-203.65964
08-13 00:45:35.383 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 48 5 bytes
08-13 00:45:35.859 16399-16983/com.mooshim.mooshimeter D/ConfigTree: BAT_V:2.6583107
08-13 00:45:35.862 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 49 6 bytes
08-13 00:45:35.907 16399-16983/com.mooshim.mooshimeter D/ConfigTree: LOG:STATUS:1
08-13 00:45:35.909 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 50 3 bytes
08-13 00:45:36.005 16399-16983/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC:1502577934
08-13 00:45:36.005 16399-16983/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC_MS:766
08-13 00:45:36.006 16399-16983/com.mooshim.mooshimeter D/ConfigTree: CH1:VALUE:-1.3948619E10
08-13 00:45:36.008 16399-16983/com.mooshim.mooshimeter D/ConfigTree: CH2:VALUE:1.6487003E-4
08-13 00:45:36.011 16399-16983/com.mooshim.mooshimeter D/ConfigTree: Underflow caught
08-13 00:45:36.011 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 51 20 bytes
08-13 00:45:36.012 16399-16983/com.mooshim.mooshimeter D/ConfigTree: REAL_PWR:-204.27502
08-13 00:45:36.012 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 52 5 bytes
08-13 00:45:36.639 16399-16983/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC:1502577935
08-13 00:45:36.639 16399-16983/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC_MS:410
08-13 00:45:36.640 16399-16983/com.mooshim.mooshimeter D/ConfigTree: CH1:VALUE:-1.4374339E10
08-13 00:45:36.644 16399-16983/com.mooshim.mooshimeter D/ConfigTree: CH2:VALUE:1.6487003E-4
08-13 00:45:36.664 16399-16983/com.mooshim.mooshimeter D/ConfigTree: Underflow caught
08-13 00:45:36.664 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 53 20 bytes
08-13 00:45:36.664 16399-16983/com.mooshim.mooshimeter D/ConfigTree: REAL_PWR:-205.66626
08-13 00:45:36.666 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 54 5 bytes
08-13 00:45:37.273 16399-16983/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC:1502577936
08-13 00:45:37.273 16399-16983/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC_MS:55
08-13 00:45:37.273 16399-16983/com.mooshim.mooshimeter D/ConfigTree: CH1:VALUE:-1.4887503E10
08-13 00:45:37.283 16399-16983/com.mooshim.mooshimeter D/ConfigTree: CH2:VALUE:1.6487003E-4
08-13 00:45:37.295 16399-16983/com.mooshim.mooshimeter D/ConfigTree: Underflow caught
08-13 00:45:37.295 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 55 20 bytes
08-13 00:45:37.313 16399-16983/com.mooshim.mooshimeter D/ConfigTree: REAL_PWR:-203.946
08-13 00:45:37.315 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 56 5 bytes
08-13 00:45:37.955 16399-16983/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC:1502577936
08-13 00:45:37.956 16399-16983/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC_MS:697
08-13 00:45:37.956 16399-16983/com.mooshim.mooshimeter D/ConfigTree: CH1:VALUE:-1.5051107E10
08-13 00:45:37.962 16399-16983/com.mooshim.mooshimeter D/ConfigTree: CH2:VALUE:1.8318891E-4
08-13 00:45:37.967 16399-16983/com.mooshim.mooshimeter D/ConfigTree: Underflow caught
08-13 00:45:37.967 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 57 20 bytes
08-13 00:45:37.968 16399-16983/com.mooshim.mooshimeter D/ConfigTree: REAL_PWR:-203.52199
08-13 00:45:37.968 16399-16983/com.mooshim.mooshimeter D/ConfigTree: RECV: 58 5 bytes
08-13 00:45:38.589 16399-16983/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC:1502577937
08-13 00:45:38.589 16399-16983/com.mooshim.mooshimeter D/ConfigTree: TIME_UTC_MS:340
08-13 00:45:38.589 16399-16983/com.mooshim.mooshimeter D/ConfigTree: CH1:VALUE:-1.5341907E10
08-13 00:45:38.592 16399-16983/com.mooshim.mooshimeter D/ConfigTree: CH2:VALUE:1.8318891E-4
famo commented 7 years ago

I have an SD-Card in mine. If you tell me how you created the log I can try here.

eldstal commented 7 years ago

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.

famo commented 7 years ago

How do you build the app? (I'm under linux btw)

eldstal commented 7 years ago

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.

eldstal commented 7 years ago

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.