Skip to content

Instantly share code, notes, and snippets.

@h4
Last active November 4, 2019 20:43
Show Gist options
  • Save h4/602b3e0380122051c121fd39fcd98573 to your computer and use it in GitHub Desktop.
Save h4/602b3e0380122051c121fd39fcd98573 to your computer and use it in GitHub Desktop.
Xiaomi BLE Temperature/Humidity Sensors
00001800-0000-1000-8000-00805f9b34fb Generic Access
00002a00-0000-1000-8000-00805f9b34fb READ WRITE
b'ClearGrass Temp & RH'
Device Name
00002a01-0000-1000-8000-00805f9b34fb READ
b'\x00\x00'
Appearance
00002a04-0000-1000-8000-00805f9b34fb READ
b'\x10\x00<\x00\x00\x00\x90\x01'
Peripheral Preferred Connection Parameters
00002aa6-0000-1000-8000-00805f9b34fb READ
b'\x01'
Central Address Resolution
00001801-0000-1000-8000-00805f9b34fb Generic Attribute
00002a05-0000-1000-8000-00805f9b34fb INDICATE
0000fe59-0000-1000-8000-00805f9b34fb fe59
8ec90003-f315-4f60-9fb8-838830daea50 WRITE NOTIFY
22210000-554a-4546-5542-46534450464d 22210000-554a-4546-5542-46534450464d
00000001-0000-1000-8000-00805f9b34fb WRITE NO RESPONSE WRITE
00000002-0000-1000-8000-00805f9b34fb NOTIFY
00000003-0000-1000-8000-00805f9b34fb WRITE NO RESPONSE WRITE
00000004-0000-1000-8000-00805f9b34fb NOTIFY
00000100-0000-1000-8000-00805f9b34fb NOTIFY
0000180a-0000-1000-8000-00805f9b34fb Device Information
00002a29-0000-1000-8000-00805f9b34fb READ
b'Qingping Technology (Beijing) Co., Ltd.'
Manufacturer Name String
00002a24-0000-1000-8000-00805f9b34fb READ
b'CGG1'
Model Number String
00002a25-0000-1000-8000-00805f9b34fb READ
b'864E10342D58'
Serial Number String
00002a27-0000-1000-8000-00805f9b34fb READ
b'0001'
Hardware Revision String
00002a26-0000-1000-8000-00805f9b34fb READ
b'1.1.2_0020'
Firmware Revision String
0000fe95-0000-1000-8000-00805f9b34fb fe95
00000001-0000-1000-8000-00805f9b34fb WRITE NOTIFY
00000002-0000-1000-8000-00805f9b34fb READ
b'G\x03'
0002
00000004-0000-1000-8000-00805f9b34fb READ
b'\x08\x10\x94\x02\xffs\x03\xa9Jc'
0004
00000005-0000-1000-8000-00805f9b34fb WRITE NOTIFY
00000010-0000-1000-8000-00805f9b34fb WRITE
00000013-0000-1000-8000-00805f9b34fb READ WRITE
b'L\x02ru\xdem\xd3:\xc1\xab\x8f[\xff\x1d<\xc12p\xf5\x89'
0013
00000014-0000-1000-8000-00805f9b34fb READ
b'\x8b\t\xe4f\xe6\xc1e*\xdc\xc2n\xd3'
0014
00001800-0000-1000-8000-00805f9b34fb Generic Access
00002a00-0000-1000-8000-00805f9b34fb READ
b'LYWSD02'
Device Name
00002a01-0000-1000-8000-00805f9b34fb READ
b'\x00\x00'
Appearance
00001801-0000-1000-8000-00805f9b34fb Generic Attribute
00002a05-0000-1000-8000-00805f9b34fb READ INDICATE
b'\x01\x00\xff\xff'
Service Changed
0000180a-0000-1000-8000-00805f9b34fb Device Information
00002a29-0000-1000-8000-00805f9b34fb READ
b'miaomiaoce.com'
Manufacturer Name String
00002a24-0000-1000-8000-00805f9b34fb READ
b'LYWSD02'
Model Number String
00002a25-0000-1000-8000-00805f9b34fb READ
b'F200FFFF024356905C'
Serial Number String
00002a27-0000-1000-8000-00805f9b34fb READ
b'F2_WF'
Hardware Revision String
00002a26-0000-1000-8000-00805f9b34fb READ
b'1.1.2_0042'
Firmware Revision String
00002a28-0000-1000-8000-00805f9b34fb READ
b'0042'
Software Revision String
00002a23-0000-1000-8000-00805f9b34fb READ
b'\xbep\x80\xc8Y?'
System ID
0000fef5-0000-1000-8000-00805f9b34fb fef5
8082caa8-41a6-4021-91c6-56f9b954cc34 READ WRITE
b''
8082caa8-41a6-4021-91c6-56f9b954cc34
724249f0-5ec3-4b5f-8804-42345af08651 READ WRITE
b''
724249f0-5ec3-4b5f-8804-42345af08651
6c53db25-47a1-45fe-a022-7c92fb334fd4 READ
b''
6c53db25-47a1-45fe-a022-7c92fb334fd4
9d84b9a3-000c-49d8-9183-855b673fda31 READ WRITE
b''
9d84b9a3-000c-49d8-9183-855b673fda31
457871e8-d516-4ca1-9116-57d0b17b9cb2 READ WRITE NO RESPONSE WRITE
b''
457871e8-d516-4ca1-9116-57d0b17b9cb2
5f78df94-798c-46f5-990a-b3eb6a065c88 READ NOTIFY
b'\x00'
5f78df94-798c-46f5-990a-b3eb6a065c88
64b4e8b5-0de5-401b-a21d-acc8db3b913a READ
b'\r'
64b4e8b5-0de5-401b-a21d-acc8db3b913a
42c3dfdd-77be-4d9c-8454-8f875267fb3b READ
b'\xf4\x00'
42c3dfdd-77be-4d9c-8454-8f875267fb3b
b7de1eea-823d-43bb-a3af-c4903dfce23c READ
b'\x17\x00'
b7de1eea-823d-43bb-a3af-c4903dfce23c
2b43ccc0-2506-415c-a16c-e4cc5f52ef78 2b43ccc0-2506-415c-a16c-e4cc5f52ef78
2b43ccc1-2506-415c-a16c-e4cc5f52ef78 READ
b'\xfe\xfe\xfe\xfe\xfe\xfe'
2b43ccc1-2506-415c-a16c-e4cc5f52ef78
2b43ccc2-2506-415c-a16c-e4cc5f52ef78 WRITE NO RESPONSE WRITE NOTIFY
2b43ccc3-2506-415c-a16c-e4cc5f52ef78 WRITE NO RESPONSE WRITE
2b43ccc4-2506-415c-a16c-e4cc5f52ef78 WRITE NO RESPONSE WRITE
2b43ccc5-2506-415c-a16c-e4cc5f52ef78 NOTIFY
2b43ccc6-2506-415c-a16c-e4cc5f52ef78 WRITE NO RESPONSE WRITE
ebe0ccb0-7a0a-4b0c-8a1a-6ff2997da3a6 ebe0ccb0-7a0a-4b0c-8a1a-6ff2997da3a6
ebe0ccb7-7a0a-4b0c-8a1a-6ff2997da3a6 READ WRITE NO RESPONSE WRITE
b'16\xc0]\x03'
ebe0ccb7-7a0a-4b0c-8a1a-6ff2997da3a6
ebe0ccb9-7a0a-4b0c-8a1a-6ff2997da3a6 READ
b'\xf5\x10\x00\x00\xf6\x10\x00\x00'
ebe0ccb9-7a0a-4b0c-8a1a-6ff2997da3a6
ebe0ccba-7a0a-4b0c-8a1a-6ff2997da3a6 READ WRITE NO RESPONSE WRITE
b'\x92\x0c\x00\x00'
ebe0ccba-7a0a-4b0c-8a1a-6ff2997da3a6
ebe0ccbb-7a0a-4b0c-8a1a-6ff2997da3a6 READ
b'\x00\x00\x00\x00\x10\x01\x92\\\xdd\n$V\n$\x00\x00'
ebe0ccbb-7a0a-4b0c-8a1a-6ff2997da3a6
ebe0ccbc-7a0a-4b0c-8a1a-6ff2997da3a6 READ NOTIFY
b''
ebe0ccbc-7a0a-4b0c-8a1a-6ff2997da3a6
ebe0ccbe-7a0a-4b0c-8a1a-6ff2997da3a6 READ WRITE NO RESPONSE WRITE
b'\xff'
ebe0ccbe-7a0a-4b0c-8a1a-6ff2997da3a6
ebe0ccc1-7a0a-4b0c-8a1a-6ff2997da3a6 READ NOTIFY
b''
ebe0ccc1-7a0a-4b0c-8a1a-6ff2997da3a6
ebe0ccc2-7a0a-4b0c-8a1a-6ff2997da3a6 READ WRITE NO RESPONSE WRITE
b'\x9b'
ebe0ccc2-7a0a-4b0c-8a1a-6ff2997da3a6
ebe0ccc3-7a0a-4b0c-8a1a-6ff2997da3a6 READ WRITE NO RESPONSE WRITE
b'\x00\xff\x00\xff\x00\xff'
ebe0ccc3-7a0a-4b0c-8a1a-6ff2997da3a6
ebe0ccc4-7a0a-4b0c-8a1a-6ff2997da3a6 READ
b'\x03'
ebe0ccc4-7a0a-4b0c-8a1a-6ff2997da3a6
ebe0ccc8-7a0a-4b0c-8a1a-6ff2997da3a6 WRITE NO RESPONSE WRITE
ebe0ccd2-7a0a-4b0c-8a1a-6ff2997da3a6 READ WRITE NO RESPONSE WRITE
b'\n1540366271'
ebe0ccd2-7a0a-4b0c-8a1a-6ff2997da3a6
ebe0ccd3-7a0a-4b0c-8a1a-6ff2997da3a6 READ WRITE NO RESPONSE WRITE
b'\x00'
ebe0ccd3-7a0a-4b0c-8a1a-6ff2997da3a6
ebe0ccd4-7a0a-4b0c-8a1a-6ff2997da3a6 WRITE NO RESPONSE WRITE
aaaaaaa0-aaaa-aaaa-aaaa-aaaaaaaaaaaa aaaaaaa0-aaaa-aaaa-aaaa-aaaaaaaaaaaa
aaaaaaa1-aaaa-aaaa-aaaa-aaaaaaaaaaaa READ WRITE NO RESPONSE WRITE
b''
aaaaaaa1-aaaa-aaaa-aaaa-aaaaaaaaaaaa
fafafa00-fafa-fafa-fafa-fafafafafafa fafafa00-fafa-fafa-fafa-fafafafafafa
fafafa01-fafa-fafa-fafa-fafafafafafa READ WRITE NO RESPONSE WRITE
b''
fafafa01-fafa-fafa-fafa-fafafafafafa
0000fe95-0000-1000-8000-00805f9b34fb fe95
00000001-0000-1000-8000-00805f9b34fb WRITE NOTIFY
00000002-0000-1000-8000-00805f9b34fb READ
b'[\x04'
0002
00000004-0000-1000-8000-00805f9b34fb READ
b' *\xc1\xf4\x1f}\xaea\xb4\xb7'
0004
00000005-0000-1000-8000-00805f9b34fb WRITE NOTIFY
00000010-0000-1000-8000-00805f9b34fb WRITE
00000013-0000-1000-8000-00805f9b34fb READ WRITE
b'\x11\x04\x92\xb6Y\x0c\xad\x7f\xf7\xbc\x0fs\xba-\xfc\x86\xd5\xa60\\'
0013
00000014-0000-1000-8000-00805f9b34fb READ
b'\x113K\xbe\x0fj\xdfk\xbe\xdeJ\xc7'
0014
00001800-0000-1000-8000-00805f9b34fb Generic Access
00002a00-0000-1000-8000-00805f9b34fb READ WRITE
b'MJ_HT_V1'
Device Name
00002a01-0000-1000-8000-00805f9b34fb READ
b'\x00\x03'
Appearance
00002a04-0000-1000-8000-00805f9b34fb READ
b'\x10\x00<\x00\x00\x00\x90\x01'
Peripheral Preferred Connection Parameters
00001801-0000-1000-8000-00805f9b34fb Generic Attribute
00002a05-0000-1000-8000-00805f9b34fb INDICATE
226c0000-6476-4566-7562-66734470666d 226c0000-6476-4566-7562-66734470666d
226caa55-6476-4566-7562-66734470666d NOTIFY
226cbb55-6476-4566-7562-66734470666d WRITE NOTIFY
0000180f-0000-1000-8000-00805f9b34fb Battery Service
00002a19-0000-1000-8000-00805f9b34fb READ NOTIFY
b'>'
Battery Level
0000180a-0000-1000-8000-00805f9b34fb Device Information
00002a29-0000-1000-8000-00805f9b34fb READ
b'Cleargrass Inc'
Manufacturer Name String
00002a24-0000-1000-8000-00805f9b34fb READ
b'Duck_Release'
Model Number String
00002a25-0000-1000-8000-00805f9b34fb READ
b'Le\xa8\xdc\r\xafY\xac\x11\xca\x03\xc6\xe6\xc0'
Serial Number String
00002a27-0000-1000-8000-00805f9b34fb READ
b'2.00'
Hardware Revision String
00002a26-0000-1000-8000-00805f9b34fb READ
b'00.00.66'
Firmware Revision String
00001530-1212-efde-1523-785feabcd123 00001530-1212-efde-1523-785feabcd123
00001532-1212-efde-1523-785feabcd123 WRITE NO RESPONSE
00001531-1212-efde-1523-785feabcd123 WRITE NOTIFY
00001534-1212-efde-1523-785feabcd123 READ
b'\x01\x00'
00001534-1212-efde-1523-785feabcd123
0000fe95-0000-1000-8000-00805f9b34fb fe95
00000001-0000-1000-8000-00805f9b34fb WRITE NOTIFY
00000002-0000-1000-8000-00805f9b34fb READ
b'\xaa\x01'
0002
00000004-0000-1000-8000-00805f9b34fb READ
b'\x01\xf0Zd&:i\xce\x91W'
0004
00000010-0000-1000-8000-00805f9b34fb WRITE
00000013-0000-1000-8000-00805f9b34fb READ WRITE
b'0\xde\x08&cKj\xd0\xd2\nm\xcc.k\xc0i\xedbb\xee'
0013
00000014-0000-1000-8000-00805f9b34fb READ WRITE
b'\xba\x97dv\x9e([\x93p\xe5\xbf\x9f'
0014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment