-
Notifications
You must be signed in to change notification settings - Fork 3
/
poSymNames.go
517 lines (454 loc) · 20.5 KB
/
poSymNames.go
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
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
package bw2bind
//This file is autogenerated from https://github.com/immesys/bw2_pid/blob/master/allocations.yaml
//Binary (0.0.0.0/4): Binary protocols
//This is a superclass for classes that are generally unreadable in their plain
//form and require translation.
const PONumBinary = 0
const PODFMaskBinary = `0.0.0.0/4`
const PODFBinary = `0.0.0.0`
const POMaskBinary = 4
//Text (64.0.0.0/4): Human readable text
//This is a superclass for classes that are moderately understandable if they
//are read directly in their binary form. Generally these are protocols that
//were designed specifically to be human readable.
const PONumText = 1073741824
const PODFMaskText = `64.0.0.0/4`
const PODFText = `64.0.0.0`
const POMaskText = 4
//Blob (1.0.0.0/8): Blob
//This is a class for schemas that do not use a public encoding format. In
//general it should be avoided. Schemas below this should include the key
//"readme" with a url to a description of the schema that is sufficiently
//detailed to allow for a developer to reverse engineer the protocol if
//required.
const PONumBlob = 16777216
const PODFMaskBlob = `1.0.0.0/8`
const PODFBlob = `1.0.0.0`
const POMaskBlob = 8
//MsgPack (2.0.0.0/8): MsgPack
//This class is for schemas that are represented in MsgPack
const PONumMsgPack = 33554432
const PODFMaskMsgPack = `2.0.0.0/8`
const PODFMsgPack = `2.0.0.0`
const POMaskMsgPack = 8
//CapnP (3.0.0.0/8): Captain Proto
//This class is for captain proto interfaces. Schemas below this should include
//the key "schema" with a url to their .capnp file
const PONumCapnP = 50331648
const PODFMaskCapnP = `3.0.0.0/8`
const PODFCapnP = `3.0.0.0`
const POMaskCapnP = 8
//JSON (65.0.0.0/8): JSON
//This class is for schemas that are represented in JSON
const PONumJSON = 1090519040
const PODFMaskJSON = `65.0.0.0/8`
const PODFJSON = `65.0.0.0`
const POMaskJSON = 8
//XML (66.0.0.0/8): XML
//This class is for schemas that are represented in XML
const PONumXML = 1107296256
const PODFMaskXML = `66.0.0.0/8`
const PODFXML = `66.0.0.0`
const POMaskXML = 8
//YAML (67.0.0.0/8): YAML
//This class is for schemas that are represented in YAML
const PONumYAML = 1124073472
const PODFMaskYAML = `67.0.0.0/8`
const PODFYAML = `67.0.0.0`
const POMaskYAML = 8
//BWRoutingObject (0.0.0.0/24): Bosswave Routing Object
//This class and schema block is reserved for bosswave routing objects
//represented using the full PID.
const PONumBWRoutingObject = 0
const PODFMaskBWRoutingObject = `0.0.0.0/24`
const PODFBWRoutingObject = `0.0.0.0`
const POMaskBWRoutingObject = 24
//LogDict (2.0.1.0/24): LogDict
//This class is for log messages encoded in msgpack
const PONumLogDict = 33554688
const PODFMaskLogDict = `2.0.1.0/24`
const PODFLogDict = `2.0.1.0`
const POMaskLogDict = 24
//TSTaggedMP (2.0.3.0/24): TSTaggedMP
//This superclass describes "ts"->int64 tagged msgpack objects. The timestamp
//is used for merging entries and determining which is later and should be the
//final value.
const PONumTSTaggedMP = 33555200
const PODFMaskTSTaggedMP = `2.0.3.0/24`
const PODFTSTaggedMP = `2.0.3.0`
const POMaskTSTaggedMP = 24
//HamiltonBase (2.0.4.0/24): Hamilton Messages
//This is the base class for messages used with the Hamilton motes. The only
//key guaranteed is "#" that contains a uint16 representation of the serial of
//the mote the message is destined for or originated from.
const PONumHamiltonBase = 33555456
const PODFMaskHamiltonBase = `2.0.4.0/24`
const PODFHamiltonBase = `2.0.4.0`
const POMaskHamiltonBase = 24
//BW2ChatMessages (2.0.7.0/24): BW2ChatMessages
//These are MsgPack dictionaries sent for the BW2Chat program
//(https://github.com/gtfierro/bw2chat)
const PONumBW2ChatMessages = 33556224
const PODFMaskBW2ChatMessages = `2.0.7.0/24`
const PODFBW2ChatMessages = `2.0.7.0`
const POMaskBW2ChatMessages = 24
//Giles_Messages (2.0.8.0/24): Giles Messages
//Messages for communicating with a Giles archiver
const PONumGiles_Messages = 33556480
const PODFMaskGiles_Messages = `2.0.8.0/24`
const PODFGiles_Messages = `2.0.8.0`
const POMaskGiles_Messages = 24
//UniqueObjectStream (2.0.9.0/24): Unique Object Stream
//An object that is part of a (possibly ordered) stream, identified by UUID. It
//must contain at least a UUID key uniquely identifying the collection
const PONumUniqueObjectStream = 33556736
const PODFMaskUniqueObjectStream = `2.0.9.0/24`
const PODFUniqueObjectStream = `2.0.9.0`
const POMaskUniqueObjectStream = 24
//HamiltonTelemetry (2.0.4.64/26): Hamilton Telemetry
//This object contains a "#" field for the serial number, as well as possibly
//containing an "A" field with a list of X, Y, and Z accelerometer values. A
//"T" field containing the temperature as an integer in degrees C multiplied by
//10000, and an "L" field containing the illumination in Lux.
const PONumHamiltonTelemetry = 33555520
const PODFMaskHamiltonTelemetry = `2.0.4.64/26`
const PODFHamiltonTelemetry = `2.0.4.64`
const POMaskHamiltonTelemetry = 26
//TimeseriesReading (2.0.9.16/28): Timeseries Reading
//Map with at least these keys: - UUID: string UUID uniquely identifying this
//timeseries - Time: int64 timestamp, UTC nanoseconds - Value: float64 value
const PONumTimeseriesReading = 33556752
const PODFMaskTimeseriesReading = `2.0.9.16/28`
const PODFTimeseriesReading = `2.0.9.16`
const POMaskTimeseriesReading = 28
//ROAccessDChainHash (0.0.0.1/32): Access DChain hash
//An access dchain hash
const PONumROAccessDChainHash = 1
const PODFMaskROAccessDChainHash = `0.0.0.1/32`
const PODFROAccessDChainHash = `0.0.0.1`
const POMaskROAccessDChainHash = 32
//ROAccessDChain (0.0.0.2/32): Access DChain
//An access dchain
const PONumROAccessDChain = 2
const PODFMaskROAccessDChain = `0.0.0.2/32`
const PODFROAccessDChain = `0.0.0.2`
const POMaskROAccessDChain = 32
//ROPermissionDChainHash (0.0.0.17/32): Permission DChain hash
//A permission dchain hash
const PONumROPermissionDChainHash = 17
const PODFMaskROPermissionDChainHash = `0.0.0.17/32`
const PODFROPermissionDChainHash = `0.0.0.17`
const POMaskROPermissionDChainHash = 32
//ROPermissionDChain (0.0.0.18/32): Permission DChain
//A permission dchain
const PONumROPermissionDChain = 18
const PODFMaskROPermissionDChain = `0.0.0.18/32`
const PODFROPermissionDChain = `0.0.0.18`
const POMaskROPermissionDChain = 32
//ROAccessDOT (0.0.0.32/32): Access DOT
//An access DOT
const PONumROAccessDOT = 32
const PODFMaskROAccessDOT = `0.0.0.32/32`
const PODFROAccessDOT = `0.0.0.32`
const POMaskROAccessDOT = 32
//ROPermissionDOT (0.0.0.33/32): Permission DOT
//A permission DOT
const PONumROPermissionDOT = 33
const PODFMaskROPermissionDOT = `0.0.0.33/32`
const PODFROPermissionDOT = `0.0.0.33`
const POMaskROPermissionDOT = 32
//ROEntity (0.0.0.48/32): Entity
//An entity
const PONumROEntity = 48
const PODFMaskROEntity = `0.0.0.48/32`
const PODFROEntity = `0.0.0.48`
const POMaskROEntity = 32
//ROOriginVK (0.0.0.49/32): Origin verifying key
//The origin VK of a message that does not contain a PAC
const PONumROOriginVK = 49
const PODFMaskROOriginVK = `0.0.0.49/32`
const PODFROOriginVK = `0.0.0.49`
const POMaskROOriginVK = 32
//ROEntityWKey (0.0.0.50/32): Entity with signing key
//An entity with signing key
const PONumROEntityWKey = 50
const PODFMaskROEntityWKey = `0.0.0.50/32`
const PODFROEntityWKey = `0.0.0.50`
const POMaskROEntityWKey = 32
//RODRVK (0.0.0.51/32): Designated router verifying key
//a 32 byte designated router verifying key
const PONumRODRVK = 51
const PODFMaskRODRVK = `0.0.0.51/32`
const PODFRODRVK = `0.0.0.51`
const POMaskRODRVK = 32
//ROExpiry (0.0.0.64/32): Expiry
//Sets an expiry for the message
const PONumROExpiry = 64
const PODFMaskROExpiry = `0.0.0.64/32`
const PODFROExpiry = `0.0.0.64`
const POMaskROExpiry = 32
//RORevocation (0.0.0.80/32): Revocation
//A revocation for an Entity or a DOT
const PONumRORevocation = 80
const PODFMaskRORevocation = `0.0.0.80/32`
const PODFRORevocation = `0.0.0.80`
const POMaskRORevocation = 32
//BinaryActuation (1.0.1.0/32): Binary actuation
//This payload object is one byte long, 0x00 for off, 0x01 for on.
const PONumBinaryActuation = 16777472
const PODFMaskBinaryActuation = `1.0.1.0/32`
const PODFBinaryActuation = `1.0.1.0`
const POMaskBinaryActuation = 32
//BWMessage (1.0.1.1/32): Packed Bosswave Message
//This object contains an entire signed and encoded bosswave message
const PONumBWMessage = 16777473
const PODFMaskBWMessage = `1.0.1.1/32`
const PODFBWMessage = `1.0.1.1`
const POMaskBWMessage = 32
//Double (1.0.2.0/32): Double
//This payload is an 8 byte long IEEE 754 double floating point value encoded
//in little endian. This should only be used if the semantic meaning is obvious
//in the context, otherwise a PID with a more specific semantic meaning should
//be used.
const PONumDouble = 16777728
const PODFMaskDouble = `1.0.2.0/32`
const PODFDouble = `1.0.2.0`
const POMaskDouble = 32
//Wavelet (1.0.6.1/32): Wavelet binary
//This object contains a BOSSWAVE Wavelet
const PONumWavelet = 16778753
const PODFMaskWavelet = `1.0.6.1/32`
const PODFWavelet = `1.0.6.1`
const POMaskWavelet = 32
//SpawnpointLog (2.0.2.0/32): Spawnpoint stdout
//This contains stdout data from a spawnpoint container. It is a msgpacked
//dictionary that contains a "service" key, a "time" key (unix nano timestamp)
//and a "contents" key and a "spalias" key.
const PONumSpawnpointLog = 33554944
const PODFMaskSpawnpointLog = `2.0.2.0/32`
const PODFSpawnpointLog = `2.0.2.0`
const POMaskSpawnpointLog = 32
//SpawnpointHeartbeat (2.0.2.1/32): SpawnPoint heartbeat
//A heartbeat message from spawnpoint. It is a msgpack dictionary that contains
//the keys "Alias", "Time", "TotalMem", "TotalCpuShares", "AvailableMem", and
//"AvailableCpuShares".
const PONumSpawnpointHeartbeat = 33554945
const PODFMaskSpawnpointHeartbeat = `2.0.2.1/32`
const PODFSpawnpointHeartbeat = `2.0.2.1`
const POMaskSpawnpointHeartbeat = 32
//SpawnpointSvcHb (2.0.2.2/32): SpawnPoint Service Heartbeat
//A heartbeat from spawnpoint about a currently running service. It is a
//msgpack dictionary that contains the keys "SpawnpointURI", "Name", "Time",
//"MemAlloc", and "CpuShares".
const PONumSpawnpointSvcHb = 33554946
const PODFMaskSpawnpointSvcHb = `2.0.2.2/32`
const PODFSpawnpointSvcHb = `2.0.2.2`
const POMaskSpawnpointSvcHb = 32
//SMetadata (2.0.3.1/32): Simple Metadata entry
//This contains a simple "val" string and "ts" int64 metadata entry. The key is
//determined by the URI. Other information MAY be present in the msgpacked
//object. The timestamp is used for merging metadata entries.
const PONumSMetadata = 33555201
const PODFMaskSMetadata = `2.0.3.1/32`
const PODFSMetadata = `2.0.3.1`
const POMaskSMetadata = 32
//HSBLightMessage (2.0.5.1/32): HSBLight Message
//This object may contain "hue", "saturation", "brightness" fields with a float
//from 0 to 1. It may also contain an "state" key with a boolean. Omitting
//fields leaves them at their previous state.
const PONumHSBLightMessage = 33555713
const PODFMaskHSBLightMessage = `2.0.5.1/32`
const PODFHSBLightMessage = `2.0.5.1`
const POMaskHSBLightMessage = 32
//InterfaceDescriptor (2.0.6.1/32): InterfaceDescriptor
//This object is used to describe an interface. It contains "uri",
//"iface","svc","namespace" "prefix" and "metadata" keys.
const PONumInterfaceDescriptor = 33555969
const PODFMaskInterfaceDescriptor = `2.0.6.1/32`
const PODFInterfaceDescriptor = `2.0.6.1`
const POMaskInterfaceDescriptor = 32
//BW2Chat_CreateRoomMessage (2.0.7.1/32): BW2Chat_CreateRoomMessage
//A dictionary with a single key "Name" indicating the room to be created. This
//will likely be deprecated.
const PONumBW2Chat_CreateRoomMessage = 33556225
const PODFMaskBW2Chat_CreateRoomMessage = `2.0.7.1/32`
const PODFBW2Chat_CreateRoomMessage = `2.0.7.1`
const POMaskBW2Chat_CreateRoomMessage = 32
//BW2Chat_ChatMessage (2.0.7.2/32): BW2Chat_ChatMessage
//A textual message to be sent to all members of a chatroom. This is a
//dictionary with three keys: 'Room', the name of the room to publish to (this
//is actually implicit in the publishing), 'From', the alias you are using for
//the chatroom, and 'Message', the actual string to be displayed to all users
//in the room.
const PONumBW2Chat_ChatMessage = 33556226
const PODFMaskBW2Chat_ChatMessage = `2.0.7.2/32`
const PODFBW2Chat_ChatMessage = `2.0.7.2`
const POMaskBW2Chat_ChatMessage = 32
//BW2Chat_JoinRoom (2.0.7.3/32): BW2Chat_JoinRoom
//Notify users in the chatroom that you have joined. Dictionary with a single
//key "Alias" that has a value of your nickname
const PONumBW2Chat_JoinRoom = 33556227
const PODFMaskBW2Chat_JoinRoom = `2.0.7.3/32`
const PODFBW2Chat_JoinRoom = `2.0.7.3`
const POMaskBW2Chat_JoinRoom = 32
//BW2Chat_LeaveRoom (2.0.7.4/32): BW2Chat_LeaveRoom
//Notify users in the chatroom that you have left. Dictionary with a single key
//"Alias" that has a value of your nickname
const PONumBW2Chat_LeaveRoom = 33556228
const PODFMaskBW2Chat_LeaveRoom = `2.0.7.4/32`
const PODFBW2Chat_LeaveRoom = `2.0.7.4`
const POMaskBW2Chat_LeaveRoom = 32
//GilesArchiveRequest (2.0.8.0/32): Giles Archive Request
//A MsgPack dictionary with the following keys: - URI (optional): the URI to
//subscribe to for data - PO (required): which PO object type to extract from
//messages on the URI - UUID (optional): the UUID to use, else it is
//consistently autogenerated. - Value (required): ObjectBuilder expression for
//how to extract the value - Time (optional): ObjectBuilder expression for how
//to extract any timestamp - TimeParse (optional): How to parse that timestamp
//- MetadataURI (optional): a base URI to scan for metadata (expands to
//uri/!meta/+) - MetadataBlock (optional): URI containing a key-value structure
//of metadata - MetadataExpr (optional): ObjectBuilder expression to search for
//a key-value structure in the current message for metadata ObjectBuilder
//expressions are documented at:
//https://github.com/gtfierro/giles2/tree/master/objectbuilder
const PONumGilesArchiveRequest = 33556480
const PODFMaskGilesArchiveRequest = `2.0.8.0/32`
const PODFGilesArchiveRequest = `2.0.8.0`
const POMaskGilesArchiveRequest = 32
//GilesKeyValueQuery (2.0.8.1/32): Giles Key Value Query
//Expresses a query to a Giles instance. Expects 2 keys: - Query: A Giles query
//string following syntax at
//https://gtfierro.github.io/giles2/interface/#querylang - Nonce: a unique
//uint32 number for identifying the results of this query
const PONumGilesKeyValueQuery = 33556481
const PODFMaskGilesKeyValueQuery = `2.0.8.1/32`
const PODFGilesKeyValueQuery = `2.0.8.1`
const POMaskGilesKeyValueQuery = 32
//GilesMetadataResponse (2.0.8.2/32): Giles Metadata Response
//Dictionary containing metadata results for a query. Has 2 keys: - Nonce: the
//uint32 number corresponding to the query nonce that generated this metadata
//response - Data: list of GilesKeyValueMetadata (2.0.8.3) objects
const PONumGilesMetadataResponse = 33556482
const PODFMaskGilesMetadataResponse = `2.0.8.2/32`
const PODFGilesMetadataResponse = `2.0.8.2`
const POMaskGilesMetadataResponse = 32
//GilesKeyValueMetadata (2.0.8.3/32): Giles Key Value Metadata
//A dictionary containing metadata results for a single stream. Has 2 keys: -
//UUID: string identifying the stream - Metadata: a map of keys->values of
//metadata
const PONumGilesKeyValueMetadata = 33556483
const PODFMaskGilesKeyValueMetadata = `2.0.8.3/32`
const PODFGilesKeyValueMetadata = `2.0.8.3`
const POMaskGilesKeyValueMetadata = 32
//GilesTimeseriesResponse (2.0.8.4/32): Giles Timeseries Response
//A dictionary containing timeseries results for a query. Has 2 keys: - Nonce:
//the uint32 number corresponding to the query nonce that generated this
//timeseries response - Data: list of GilesTimeseries (2.0.8.5) objects -
//Stats: list of GilesStatistics (2.0.8.6) objects
const PONumGilesTimeseriesResponse = 33556484
const PODFMaskGilesTimeseriesResponse = `2.0.8.4/32`
const PODFGilesTimeseriesResponse = `2.0.8.4`
const POMaskGilesTimeseriesResponse = 32
//GilesTimeseries (2.0.8.5/32): Giles Timeseries
//A dictionary containing timeseries results for a single stream. has 3 keys: -
//UUID: string identifying the stream - Times: list of uint64 timestamps -
//Values: list of float64 values Times and Values will line up, e.g. index i of
//Times corresponds to index i of values
const PONumGilesTimeseries = 33556485
const PODFMaskGilesTimeseries = `2.0.8.5/32`
const PODFGilesTimeseries = `2.0.8.5`
const POMaskGilesTimeseries = 32
//GilesStatistics (2.0.8.6/32): Giles Statistics
//A dictionary containing timeseries results for a single stream. has 3 keys: -
//UUID: string identifying the stream - Times: list of uint64 timestamps -
//Count: list of uint64 values - Min: list of float64 values - Mean: list of
//float64 values - Max: list of float64 values All fields will line up, e.g.
//index i of Times corresponds to index i of Count
const PONumGilesStatistics = 33556486
const PODFMaskGilesStatistics = `2.0.8.6/32`
const PODFGilesStatistics = `2.0.8.6`
const POMaskGilesStatistics = 32
//GilesQueryError (2.0.8.9/32): Giles Query Error
//A dictionary containing an error returned by a query. Has 3 keys: - Query:
//the string query that was sent - Nonce: the nonce in the query request -
//Error: string of the returned error
const PONumGilesQueryError = 33556489
const PODFMaskGilesQueryError = `2.0.8.9/32`
const PODFGilesQueryError = `2.0.8.9`
const POMaskGilesQueryError = 32
//L7G1Raw (2.0.10.1/32): L7G v1 Raw message
//A map containing - srcmac: the MAC address of the sensor - srcip: the IP
//address of the sensor, if available - type: the 16 bit L7G type field -
//popid: the ID of the point of presence that received the packet - poptime:
//the boot time (in us) of the pop when the message was received - brtime: the
//real time (in ns) at the border router when the message was relayed to
//bosswave - rssi: the RSSI of the message at the pop, if available - lqi: the
//LQI of the message at the pop, if available - payload: the raw message
const PONumL7G1Raw = 33556993
const PODFMaskL7G1Raw = `2.0.10.1/32`
const PODFL7G1Raw = `2.0.10.1`
const POMaskL7G1Raw = 32
//L7G1Stats (2.0.10.2/32): L7G v1 stats message
//tbd
const PONumL7G1Stats = 33556994
const PODFMaskL7G1Stats = `2.0.10.2/32`
const PODFL7G1Stats = `2.0.10.2`
const POMaskL7G1Stats = 32
//ChirpFeed (2.0.11.1/32): Chirp Anemometer Feed
//A map containing - vendor: the vendor implementing the algorithm - sensor:
//the anemometer this data is for - algorithm: symbol name of the algorithm
//type/version - tofs: a list of src,dst,val time of flight measurements in
//microseconds - extradata: a list of string extra from the algorithm
const PONumChirpFeed = 33557249
const PODFMaskChirpFeed = `2.0.11.1/32`
const PODFChirpFeed = `2.0.11.1`
const POMaskChirpFeed = 32
//HamiltonOT (2.0.11.2/32): Hamilton OT
//A map containing - time: nanoseconds since the epoch - other stuff TODO
const PONumHamiltonOT = 33557250
const PODFMaskHamiltonOT = `2.0.11.2/32`
const PODFHamiltonOT = `2.0.11.2`
const POMaskHamiltonOT = 32
//HamiltonOR (2.0.11.3/32): Hamilton Orientation
//A map containing - time: nanoseconds since the epoch - other stuff TODO
const PONumHamiltonOR = 33557251
const PODFMaskHamiltonOR = `2.0.11.3/32`
const PODFHamiltonOR = `2.0.11.3`
const POMaskHamiltonOR = 32
//VenstarInfo (2.0.12.1/32): VenstarInfo
//Consult the venstar API documentation at
//http://developer.venstar.com/restcalls.html
const PONumVenstarInfo = 33557505
const PODFMaskVenstarInfo = `2.0.12.1/32`
const PODFVenstarInfo = `2.0.12.1`
const POMaskVenstarInfo = 32
//String (64.0.1.0/32): String
//A plain string with no rigid semantic meaning. This can be thought of as a
//print statement. Anything that has semantic meaning like a process log should
//use a different schema.
const PONumString = 1073742080
const PODFMaskString = `64.0.1.0/32`
const PODFString = `64.0.1.0`
const POMaskString = 32
//FMDIntentString (64.0.1.1/32): FMD Intent String
//A plain string used as an intent for the follow-me display service.
const PONumFMDIntentString = 1073742081
const PODFMaskFMDIntentString = `64.0.1.1/32`
const PODFFMDIntentString = `64.0.1.1`
const POMaskFMDIntentString = 32
//AccountBalance (64.0.1.2/32): Account balance
//A comma seperated representation of an account and its balance as
//addr,decimal,human_readable. For example
//0x49b1d037c33fdaad75d2532cd373fb5db87cc94c,57203431159181996982272,57203.4311
//Ether . Be careful in that the decimal representation will frequently be
//bigger than an int64.
const PONumAccountBalance = 1073742082
const PODFMaskAccountBalance = `64.0.1.2/32`
const PODFAccountBalance = `64.0.1.2`
const POMaskAccountBalance = 32
//SpawnpointConfig (67.0.2.0/32): SpawnPoint config
//A configuration file for SpawnPoint (github.com/immesys/spawnpoint)
const PONumSpawnpointConfig = 1124073984
const PODFMaskSpawnpointConfig = `67.0.2.0/32`
const PODFSpawnpointConfig = `67.0.2.0`
const POMaskSpawnpointConfig = 32