-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgatt-cmds.hex
40 lines (39 loc) · 1.07 KB
/
gatt-cmds.hex
1
2
3
4
5
6
7
8
9
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
02b900:03b900
100100ffff0028:1106010005000018060009000118
100a00ffff0028:11140a000e00f0ffffffffffffffffffffffffffffff
100f00ffff0028:01100f000a
08060009000328:09070700200800052a
0409000900:050109000229
1209000200:13
080a000e000328:09150b00020c00f2ffffffffffffffffffffffffffffff0d000c0e00f4ffffffffffffffffffffffffffffff
0801000500002a:090b03006368727562756e7475
# Find by type value
060100ffff00280118:0706000900
060100ffff0028f0ffffffffffffffffffffffffffffff:070a000e00
# Read
0a0c00:0b64796e616d69632076616c7565
# Read blob
0c0c000300:0d616d69632076616c7565
# Read multiple
0e010006000a00:0f00180118f0ffffffffffffffffffffffffffffff
# Write command
520900deadbeef:-
# Prepare write request
1609000000dead:1709000000dead
# Execute write request (cancel)
1800:19
# Prepare write request
1609000000deadbe:1709000000deadbe
1609000300ef:1709000300ef
1801:19
# Malformed commands
0a0c00ee:010a000004
0a:010a000004
# Bad handle
0a3412:010a341201
# Write command with bad handle
522468ef:-
# Write request with bad handle
122468ef:0112246801
# Write request for readonly handle
120500deadbeef:0112050003