Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
xid
/
specs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
111f9398
authored
2018-03-09 04:27:06 -0800
by
Skip Hines
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ILP-121 defined HPE/V1.2/HpeBLE.xid.xml
1 parent
73347074
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
121 additions
and
3 deletions
HPE/V1.2/HpeBLE.xid.xml
HPE/V1.2/HpeCore.xid.xml
HPE/V1.2/README.md
HPE/V1.2/XIDData.prop
HPE/V1.2/HpeBLE.xid.xml
0 → 100644
View file @
111f939
<?xml version="1.0" encoding="UTF-8" ?>
<specification
xmlns=
"https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd"
xmlns:xid=
"https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd"
identity=
"HpeBLE.xid.xml"
>
<title>
HPE Bluetooth Low Energy Data Definition
</title>
<comment>
Bluetooth Low Energy data definitions and observation datatypes.
</comment>
<import
ref=
"https://xid.location.studio/Tensor/V1.0.0/Definitions.xid.xml"
local=
"Definitions.xid.xml"
/>
<import
ref=
"https://xid.location.studio/HPE/V1.2/HpeCore.xid.xml"
local=
"HpeCore.xid.xml"
/>
<namespace
name=
"HPE.BLE"
>
<using
namespace=
"Tensor"
/>
<using
namespace=
"HPE"
/>
<struct
name=
"BLERss"
type=
"ObservationEpoch"
pack=
"true"
rttkey=
"HPE.ObservationType.BLE_RSS"
>
<comment>
observation
</comment>
<elem
name =
"mac"
type=
"mac48"
multiplicity=
"1"
ord=
"P"
>
<comment>
Every BLE advertisement's PDU has a MAC address
</comment>
</elem>
<elem
name =
"rss"
type=
"uint8"
multiplicity=
"1"
default=
"0"
>
<tag
name=
"unit"
value=
"-dBm"
/>
<comment>
RSS signal measured value(used as negative).
</comment>
<comment>
If not available, encode 0.
</comment>
</elem>
</struct>
<struct
name=
"BLERssExt"
type=
"BLERss"
pack=
"true"
rttkey=
"HPE.ObservationType.BLE_RSS_TX"
>
<comment>
observation
</comment>
<elem
name =
"Tx"
type=
"int8"
multiplicity=
"1"
ord=
"P"
>
<tag
name=
"unit"
value=
"dBm"
/>
<comment>
Tx Power level.
</comment>
</elem>
</struct>
<!--
<struct name="iBeacon" type="BLERss" pack="true" rttkey="HPE.ObservationType.iBeacon">
<comment>observation</comment>
<elem name ="Tx" type="int8" multiplicity="1" ord="P">
<comment>Tx Power level calibrated RSSI @ 1m</comment>
</elem>
<elem name ="id" type="UUID" multiplicity="1" ord="P">
<comment>iBeacon Proximity UUID</comment>
</elem>
<elem name ="major" type="uint16" multiplicity="1" ord="P">
<comment>iBeacon Major code</comment>
</elem>
<elem name ="minor" type="uint16" multiplicity="1" ord="P">
<comment>iBeacon Minor code</comment>
</elem>
</struct>
<struct name="Eddystone" type="BLERss" pack="true" rttkey="HPE.ObservationType.EddystoneUID">
<comment>observation</comment>
<elem name ="Tx" type="int8" multiplicity="1" ord="P">
<comment>Tx Power level calibrated RSSI @ 0m</comment>
</elem>
<elem name ="id" type="UUID" multiplicity="1" ord="P">
<comment>Eddystone UID</comment>
</elem>
</struct>
<struct name="EddystoneURL" type="BLERss" pack="true" rttkey="HPE.ObservationType.EddystoneURL">
<comment>observation</comment>
<array name="EddyURL" type="uint8" size="17">
<comment>3 to 17 bytes, 0 pad</comment>
</array>
<elem name ="Tx" type="int8" multiplicity="1" ord="P">
<comment>Tx Power level calibrated RSSI @ 0m</comment>
</elem>
<elem name ="url" type="EddyURL" multiplicity="1" ord="L">
<comment>Eddystone UID</comment>
</elem>
</struct>
-->
</namespace>
</specification>
HPE/V1.2/HpeCore.xid.xml
View file @
111f939
...
...
@@ -103,7 +103,7 @@
</literal>
<literal
name=
"WIFI_RSS_EXT"
value=
"22"
/>
<literal
name=
"BLE_RSS_TX"
value=
"23"
/>
</enum>
<array
name=
"ObservationTypeArray"
type=
"ObservationType"
/>
...
...
HPE/V1.2/README.md
View file @
111f939
...
...
@@ -9,18 +9,22 @@ $ java -Xnoclassgc -jar $XIDSDK/bin/xidcg.jar \
-v
\
-prop https://xid.location.studio/Tensor/V1.0.0/XIDData.prop
\
-prop https://xid.location.studio/HPE/V1.2/XIDData.prop
\
https://xid.location.studio/HPE/V1.2/HpeBLE.xid.xml
\
https://xid.location.studio/HPE/V1.2/HpeCellular.xid.xml
\
https://xid.location.studio/HPE/V1.2/HpeCore.xid.xml
\
https://xid.location.studio/HPE/V1.2/HpeGnss.xid.xml
\
https://xid.location.studio/HPE/V1.2/HpeUsage.xid.xml
\
https://xid.location.studio/HPE/V1.2/HpeWiFi.xid.xml
~~~
OR
or
~~~
sh
$
java -Xnoclassgc -jar
$XIDSDK
/bin/xidcg.jar
\
-v
\
-prop ../../Tensor/V1.0.0/XIDData.prop
\
-prop XIDData.prop
\
HpeBLE.xid.xml
\
HpeCellular.xid.xml
\
HpeCore.xid.xml
\
HpeGnss.xid.xml
\
...
...
@@ -36,4 +40,3 @@ Generating: xidout/meta/XID/XIDData.prop
~~~
Then something has changed and XIDData.prop needs to get updated.
...
...
HPE/V1.2/XIDData.prop
View file @
111f939
...
...
@@ -20,6 +20,9 @@ Idx.HPE.ArcBand3D.opening=4
Idx.HPE.ArcBand3D.radius=6
Idx.HPE.ArcBand3D.tilt=3
Idx.HPE.ArcBand3D.vopening=5
Idx.HPE.BLE.BLERss.mac=1
Idx.HPE.BLE.BLERss.rss=2
Idx.HPE.BLE.BLERssExt.Tx=1
Idx.HPE.Cellular.AntennaSpec.RTTCalib=10
Idx.HPE.Cellular.AntennaSpec.RTTCalibUncert=11
Idx.HPE.Cellular.AntennaSpec.TxPower=8
...
...
@@ -201,6 +204,9 @@ Off.HPE.ArcBand3D.opening=37
Off.HPE.ArcBand3D.radius=45
Off.HPE.ArcBand3D.tilt=33
Off.HPE.ArcBand3D.vopening=41
Off.HPE.BLE.BLERss.mac=9
Off.HPE.BLE.BLERss.rss=15
Off.HPE.BLE.BLERssExt.Tx=16
Off.HPE.Cellular.AntennaSpec.RTTCalib=42
Off.HPE.Cellular.AntennaSpec.RTTCalibUncert=46
Off.HPE.Cellular.AntennaSpec.TxPower=26
...
...
@@ -437,13 +443,36 @@ Ord.Logging.TransactionMsg.devid=83
Ord.Logging.TransactionMsg.etid=81
Ord.Logging.TransactionMsg.tid=80
Ord.Logging.UsageMsg.uri=96
Ord.Tensor.Command.argument=66
Ord.Tensor.Command.etid=65
Ord.Tensor.Command.name=64
Ord.Tensor.CommandApi.Execute.Input.commands=64
Ord.Tensor.CommandApi.Execute.Input.wantresponses=65
Ord.Tensor.CommandApi.Execute.Output.lastcommand=64
Ord.Tensor.CommandApi.Execute.Output.lastresult=65
Ord.Tensor.CommandApi.Execute.Output.responses=66
Ord.Tensor.CommandResponse.etid=65
Ord.Tensor.CommandResponse.name=64
Ord.Tensor.CommandResponse.output=67
Ord.Tensor.CommandResponse.result=66
Ord.Tensor.InputBase.devid=64
Ord.Tensor.InputBase.directive=66
Ord.Tensor.InputBase.etid=65
Ord.Tensor.NameValue.name=64
Ord.Tensor.NameValue.value=65
Ord.Tensor.OutputBase.devid=64
Ord.Tensor.OutputBase.errinfo=67
Ord.Tensor.OutputBase.etid=65
Ord.Tensor.OutputBase.resultcode=66
Ord.Tensor.VoidType.reserved=64
SID.Tensor.CommandApi.Execute.Input=256
SID.Tensor.CommandApi.Execute.Output=257
Size.HPE.Arc3D=45
Size.HPE.Arc=33
Size.HPE.ArcBand3D=49
Size.HPE.ArcBand=45
Size.HPE.BLE.BLERss=16
Size.HPE.BLE.BLERssExt=17
Size.HPE.Cellular.AntennaSpec=50
Size.HPE.Cellular.CellAntReferenceData=95
Size.HPE.Cellular.CellId=12
...
...
@@ -504,5 +533,11 @@ Size.Logging.TaskReport=-1
Size.Logging.TraceMsg=-1
Size.Logging.TransactionMsg=-1
Size.Logging.UsageMsg=-1
Size.Tensor.Command=-1
Size.Tensor.CommandApi.Execute.Input=-1
Size.Tensor.CommandApi.Execute.Output=-1
Size.Tensor.CommandResponse=-1
Size.Tensor.InputBase=-1
Size.Tensor.NameValue=-1
Size.Tensor.OutputBase=-1
Size.Tensor.VoidType=-1
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment