-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpayload-examples.json
More file actions
42 lines (41 loc) · 898 Bytes
/
payload-examples.json
File metadata and controls
42 lines (41 loc) · 898 Bytes
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
40
41
42
# allow notification {
"command": "allow_notifications",
"keep": 10.0,
"action_set": [
{
"characteristic": "6e400003-b5a3-f393-e0a9-e50e24dcca9e",
"type": 3
},
{
"characteristic": "6e400002-b5a3-f393-e0a9-e50e24dcca9e",
"type": 3,
"value": "LED_OFF"
}
]
} # scan payload {
"command": "time_scan",
"timeout": 20,
"advertisement": "full",
"period": 30,
"sub_topics": false
} # {
"command": "discover",
"keep": 10.0,
"properties": true,
"transac_id": 123456,
"service": "6e400001-b5a3-f393-e0a9-e50e24dcca9e"
} # # ELA Read log
{
"command": "allow_notifications",
"keep": 10.0,
"action_set": [
{
"characteristic": "6e400003-b5a3-f393-e0a9-e50e24dcca9e",
"type": 3
},
{
"characteristic": "6e400002-b5a3-f393-e0a9-e50e24dcca9e",
"type": 3,
"value": "READ_DATA 123456789A"
}
}