Simon Hunt | 902c992 | 2014-11-11 11:59:31 -0800 | [diff] [blame] | 1 | { |
2 | "event": "addDevice", | ||||
3 | "payload": { | ||||
4 | "id": "of:0000000000000003", | ||||
5 | "type": "switch", | ||||
6 | "online": true, | ||||
7 | "labels": [ | ||||
8 | "of:0000000000000003", | ||||
9 | "3", | ||||
10 | "", | ||||
11 | null | ||||
12 | ], | ||||
13 | "props": { | ||||
14 | "location": { | ||||
15 | "type": "latlng", | ||||
16 | "lat": 123.5, | ||||
17 | "lng": 67.8 | ||||
18 | }, | ||||
19 | "anotherProp": "foobar" | ||||
20 | }, | ||||
21 | "metaUi": { | ||||
22 | "xpc": 57.3, | ||||
23 | "ypc": 24.86, | ||||
24 | "and": "other properties the UI wishes to remember..." | ||||
25 | } | ||||
26 | } | ||||
27 | } |