Skip to content

Navigation Menu

Sign in
Sign up

Bluetooth DMM 11 Byte Data Protocol

ludwich66 edited this page Jan 18, 2023 · 20 revisions

OLD
moved to

First Decoder made from user "anszom"
THX 2 Andrzej for the Encoding Sample in PERL: Display-Segment-Coding

Description (Typ = Multimeter (1)):

The 11 bytes of the Bluetooth handle 0009 are decrypted byte by byte with an XOR Operation (only the first 11 bytes used(?)).
The binary byteorder must be changed to Big Endian (LSBMSB), after the flip it is simpler to decode.
The binary information represents individual display elements.

1. Gatttool to read the payload from the Bluetooth-Multimeter

Replace FC:58:FA:xx:yy:zz with your BT-MAC

gatttool -b FC:58:FA:xx:yy:zz --char-read --listen -a 9 
Characteristic value/descriptor: 
Notification handle = 0x0009 value: 1b 84 70 b1 49 6a 9f 3c 66 aa 3b 

2. Generate the Payload with ab Bytewyse XOR operation

<— scroll —>

Example 11 Byte from Bluetooth-DMM hex 1b 84 70 b1 49 6a 9f 3c 66 aa 3b
key for xor Operation hex 41 21 73 55 a2 c1 32 71 66 aa 3b d0 e2 a8 33 14 20 21 aa bb
Result to Decode hex 5a a5 03 e4 eb ab ad 4d 00 00 00

3. Flip Byteorder to Big Endian:

MSB (xAB) flip to
<76543210< >01234567>
10101011 11010101

4. Build the 88 Bit Datastream:

<— scroll —>

Byte 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 4 4 4 4 4 4 4 4 5 5 5 5 5 5 5 5 6 6 6 6 6 6 6 6 7 7 7 7 7 7 7 7 8 8 8 8 8 8 8 8 9 9 9 9 9 9 9 9 10 10 10 10 10 10 10 10
Bit LSBMSB 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7
Bitsnr 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
Example Value 0 1 0 1 1 0 1 0 1 0 1 0 0 1 0 1 1 1 0 0 0 0 0 0 0 0 1 0 0 1 1 1 1 1 0 1 0 1 1 1 1 1 0 1 0 1 0 1 1 0 1 1 0 1 0 1 1 0 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Display Element p p p p p p p p r r r r r r r r Typ Typ e e e e e e ? ∆ BT? BUZ Minus D1e D1b D1a D1g D1f D1d D1c DP2 D2e D2b D2a D2g D2f D2d D2c DP3 D3e D3b D3a D3g D3f D3d D3c DP4 D4e D4b D4a D4g D4f D4d D4c Hold °F °C Diode Max Min % AC F μ(F) m(F) n(F) Hz Ω k(Ω) M(Ω) V m(V) DC A Auto ? μ(A) m(A) ? ? ? ?

5. Result Example "1b 84 70 b1 49 6a 9f 3c 66 aa 3b" == 0022 °C

Typ 11=(1)Multimeter/11Byte 10=(2)Small-Multimeter/10Byte 01=(3)Clamp-Multimeter/10Byte
DPx = DecimalPoint(2,3,4)
BUZ = Buzzer
∆ = Delta / Rel
0-23 Präambel to Syncronize?
to do set:
24 "?"
81 "?",
84 "?",
85 "?",
86 "?",
87 "?"

Segmentorder Digit
(Dyx D=Digit y=1-4 x=a-g)

aaa
b c
ddd
e f
ggg


Old Analyse Test on Multimeter BSIDE ZT-300AB 24.04.2021
SWITCH SELECT Funk DISP B1 B2 B3 B4 B5 B6 B7 B8 B9 B10 B11
V DC 0000 90 165 3 228 235 235 235 11 0 80 0
V DC 0000 90 165 3 228 251 235 235 11 0 80 0
V DC 00.00 90 165 3 228 235 251 235 11 0 80 0
V DC 000.0 90 165 3 228 235 235 251 11 0 80 0
A DC 0000 90 165 3 228 251 235 235 11 0 192 1
V DC ohne 0000 90 165 3 228 251 235 235 11 0 80 1
V DC min 0000 90 165 3 228 251 235 235 11 2 80 0
V DC max 0000 90 165 3 228 251 235 235 11 1 80 0
V DC rel 0000 90 165 3 230 251 235 235 11 0 80 0
TEMP 19°C 0019 90 165 3 228 235 11 202 79 0 0 0
TEMP 20°C 0020 90 165 3 228 235 171 237 75 0 0 0
TEMP 21°C 0021 90 165 3 228 235 171 13 74 0 0 0
TEMP 22°C 0022 90 165 3 228 235 171 173 77 0 0 0
TEMP 23°C 0023 90 165 3 228 235 171 141 79 0 0 0
TEMP 24°C 0024 90 165 3 228 235 171 77 78 0 0 0
TEMP 25°C 0025 90 165 3 228 235 171 205 71 0 0 0
TEMP 26°C 0026 90 165 3 228 235 171 237 71 0 0 0
TEMP 27°C 0027 90 165 3 228 235 171 141 74 0 0 0
TEMP 66°F 0066 90 165 3 228 235 235 231 39 0 0 0
TEMP 67°F 0067 90 165 3 228 235 235 135 42 0 0 0
TEMP 68°F 0068 90 165 3 228 235 235 231 47 0 0 0
TEMP 69°F 0069 90 165 3 228 235 235 199 47 0 0 0
TEMP 70°F 0070 90 165 3 228 235 139 234 43 0 0 0
TEMP 71°F 0071 90 165 3 228 235 139 10 42 0 0 0
TEMP 72°F 0072 90 165 3 228 235 139 170 45 0 0 0
TEMP 73°F 0073 90 165 3 228 235 139 138 47 0 0 0
TEMP 74°F 0074 90 165 3 228 235 139 74 46 0 0 0
TEMP 75°F 0075 90 165 3 228 235 139 202 39 0 0 0
TEMP 76°F 0076 90 165 3 228 235 139 234 39 0 0 0
TEMP 77°F 0077 90 165 3 228 235 139 138 42 0 0 0
TEMP 78°F 0078 90 165 3 228 235 139 234 47 0 0 0
TEMP 79°F 0079 90 165 3 228 235 139 202 47 0 0 0
LICHT AN 24°C 0024 90 165 3 228 235 171 77 78 0 0 0
LICHT AUS 24°C 0024 90 165 3 228 235 171 141 79 0 0 0
AUTO Auto 90 165 3 228 46 99 37 7 0 0 0
V DC 90 165 3 228 251 235 235 11 0 80 1
V AV 90 165 3 228 251 235 235 11 8 16 1
Ohm Megaohm O.L 90 165 3 4 224 123 1 0 0 10 1
HZ HZ 0.000 0000 90 165 3 228 251 235 235 11 0 1 1
A A DC 90 165 3 228 251 235 235 11 0 192 1
A A AC 0000 90 165 3 228 251 235 235 11 8 128 1
mA DC 00.00 90 165 3 228 235 251 235 11 0 192 9
mA AC 00.00 90 165 3 228 235 251 235 11 8 128 9
μA DC 000.0 90 165 3 228 235 235 251 11 0 192 5
μA AC 000.0 90 165 3 228 235 235 251 11 8 128 5
mV nur bereich no 90 165 3 228 235 219 199 7 0 112 1
mV nur bereich no 90 165 3 228 235 135 26 10 8 48 1
Ohm Megaohm 0.L 90 165 3 4 224 123 1 0 0 10 1
Ohm Kiloohm 0L 90 165 3 4 240 107 1 0 0 6 0
Ohm Ohm OL. 90 165 3 4 224 107 17 0 0 2 0
Ohm Ohm OL. 90 165 3 4 224 107 17 0 1 2 0
Ohm Ohm OL. 90 165 3 4 224 107 17 0 2 2 0
Hz % 0.000 90 165 3 228 251 235 235 11 0 1 1
A DC 0.000 90 165 3 228 251 235 235 11 0 192 1
A DC und Range 0.000 90 165 3 228 251 235 235 11 0 192 0
A DC und Range 00.00 90 165 3 228 235 251 235 11 0 192 0
A AC 0.000 90 165 3 228 251 235 235 11 8 129 1
A AC und Range 0.000 90 165 3 228 251 235 235 11 8 128 0
A AC und Range 00.00 90 165 3 228 235 251 235 11 8 128 0
mA DC 00.00 90 165 3 228 235 251 235 11 0 192 9
mA DC und Range 00.00 90 165 3 228 235 251 235 11 0 192 8
mA DC und Range 000.0 90 165 3 228 235 235 251 11 0 192 8
mA AC 00.00 90 165 3 228 235 251 235 11 8 192 9
mA AC und Range 00.00 90 165 3 228 235 251 235 11 8 128 8
mA AC und Range 000.0 90 165 3 228 235 235 251 11 8 128 8
μA DC 000.0 90 165 3 228 235 235 251 11 0 192 5
μA DC und Range 000.0 90 165 3 228 235 235 251 11 0 192 4
μA DC und Range 0000 90 165 3 228 235 235 235 11 0 192 4
μA AC 000.0 90 165 3 228 235 235 251 11 8 128 5
μA AC und Range 000.0 90 165 3 228 235 235 251 11 8 128 4
μA AC und Range 0000 90 165 3 228 235 235 235 11 8 128 4
Ohm Diode .OL 90 165 3 12 240 107 1 128 0 16 0
Ohm Capa 0.000 90 165 3 228 251 235 235 11 144 0 0

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /