ILP-121 defined HPE/V1.2/HpeBLE.xid.xml
Showing
4 changed files
with
121 additions
and
3 deletions
HPE/V1.2/HpeBLE.xid.xml
0 → 100644
| 1 | <?xml version="1.0" encoding="UTF-8" ?> | ||
| 2 | |||
| 3 | <specification xmlns="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd" | ||
| 4 | xmlns:xid="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd" | ||
| 5 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| 6 | xsi:schemaLocation="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd" | ||
| 7 | identity="HpeBLE.xid.xml"> | ||
| 8 | <title>HPE Bluetooth Low Energy Data Definition</title> | ||
| 9 | <comment>Bluetooth Low Energy data definitions and observation datatypes.</comment> | ||
| 10 | |||
| 11 | <import ref="https://xid.location.studio/Tensor/V1.0.0/Definitions.xid.xml" local="Definitions.xid.xml" /> | ||
| 12 | <import ref="https://xid.location.studio/HPE/V1.2/HpeCore.xid.xml" local="HpeCore.xid.xml" /> | ||
| 13 | |||
| 14 | <namespace name="HPE.BLE"> | ||
| 15 | <using namespace="Tensor"/> | ||
| 16 | <using namespace="HPE"/> | ||
| 17 | |||
| 18 | <struct name="BLERss" type="ObservationEpoch" pack="true" rttkey="HPE.ObservationType.BLE_RSS"> | ||
| 19 | <comment>observation</comment> | ||
| 20 | <elem name ="mac" type="mac48" multiplicity="1" ord="P"> | ||
| 21 | <comment>Every BLE advertisement's PDU has a MAC address</comment> | ||
| 22 | </elem> | ||
| 23 | <elem name ="rss" type="uint8" multiplicity="1" default="0"> | ||
| 24 | <tag name="unit" value="-dBm"/> | ||
| 25 | <comment>RSS signal measured value(used as negative).</comment> | ||
| 26 | <comment>If not available, encode 0.</comment> | ||
| 27 | </elem> | ||
| 28 | </struct> | ||
| 29 | |||
| 30 | <struct name="BLERssExt" type="BLERss" pack="true" rttkey="HPE.ObservationType.BLE_RSS_TX"> | ||
| 31 | <comment>observation</comment> | ||
| 32 | <elem name ="Tx" type="int8" multiplicity="1" ord="P"> | ||
| 33 | <tag name="unit" value="dBm"/> | ||
| 34 | <comment>Tx Power level.</comment> | ||
| 35 | </elem> | ||
| 36 | </struct> | ||
| 37 | |||
| 38 | <!-- | ||
| 39 | <struct name="iBeacon" type="BLERss" pack="true" rttkey="HPE.ObservationType.iBeacon"> | ||
| 40 | <comment>observation</comment> | ||
| 41 | <elem name ="Tx" type="int8" multiplicity="1" ord="P"> | ||
| 42 | <comment>Tx Power level calibrated RSSI @ 1m</comment> | ||
| 43 | </elem> | ||
| 44 | <elem name ="id" type="UUID" multiplicity="1" ord="P"> | ||
| 45 | <comment>iBeacon Proximity UUID</comment> | ||
| 46 | </elem> | ||
| 47 | <elem name ="major" type="uint16" multiplicity="1" ord="P"> | ||
| 48 | <comment>iBeacon Major code</comment> | ||
| 49 | </elem> | ||
| 50 | <elem name ="minor" type="uint16" multiplicity="1" ord="P"> | ||
| 51 | <comment>iBeacon Minor code</comment> | ||
| 52 | </elem> | ||
| 53 | </struct> | ||
| 54 | |||
| 55 | <struct name="Eddystone" type="BLERss" pack="true" rttkey="HPE.ObservationType.EddystoneUID"> | ||
| 56 | <comment>observation</comment> | ||
| 57 | <elem name ="Tx" type="int8" multiplicity="1" ord="P"> | ||
| 58 | <comment>Tx Power level calibrated RSSI @ 0m</comment> | ||
| 59 | </elem> | ||
| 60 | <elem name ="id" type="UUID" multiplicity="1" ord="P"> | ||
| 61 | <comment>Eddystone UID</comment> | ||
| 62 | </elem> | ||
| 63 | </struct> | ||
| 64 | |||
| 65 | <struct name="EddystoneURL" type="BLERss" pack="true" rttkey="HPE.ObservationType.EddystoneURL"> | ||
| 66 | <comment>observation</comment> | ||
| 67 | <array name="EddyURL" type="uint8" size="17"> | ||
| 68 | <comment>3 to 17 bytes, 0 pad</comment> | ||
| 69 | </array> | ||
| 70 | |||
| 71 | <elem name ="Tx" type="int8" multiplicity="1" ord="P"> | ||
| 72 | <comment>Tx Power level calibrated RSSI @ 0m</comment> | ||
| 73 | </elem> | ||
| 74 | <elem name ="url" type="EddyURL" multiplicity="1" ord="L"> | ||
| 75 | <comment>Eddystone UID</comment> | ||
| 76 | </elem> | ||
| 77 | </struct> | ||
| 78 | --> | ||
| 79 | </namespace> | ||
| 80 | </specification> | 
| ... | @@ -103,7 +103,7 @@ | ... | @@ -103,7 +103,7 @@ | 
| 103 | </literal> | 103 | </literal> | 
| 104 | 104 | ||
| 105 | <literal name="WIFI_RSS_EXT" value="22"/> | 105 | <literal name="WIFI_RSS_EXT" value="22"/> | 
| 106 | 106 | <literal name="BLE_RSS_TX" value="23"/> | |
| 107 | </enum> | 107 | </enum> | 
| 108 | 108 | ||
| 109 | <array name="ObservationTypeArray" type="ObservationType"/> | 109 | <array name="ObservationTypeArray" type="ObservationType"/> | ... | ... | 
| ... | @@ -9,18 +9,22 @@ $ java -Xnoclassgc -jar $XIDSDK/bin/xidcg.jar \ | ... | @@ -9,18 +9,22 @@ $ java -Xnoclassgc -jar $XIDSDK/bin/xidcg.jar \ | 
| 9 | -v \ | 9 | -v \ | 
| 10 | -prop https://xid.location.studio/Tensor/V1.0.0/XIDData.prop \ | 10 | -prop https://xid.location.studio/Tensor/V1.0.0/XIDData.prop \ | 
| 11 | -prop https://xid.location.studio/HPE/V1.2/XIDData.prop \ | 11 | -prop https://xid.location.studio/HPE/V1.2/XIDData.prop \ | 
| 12 | https://xid.location.studio/HPE/V1.2/HpeBLE.xid.xml \ | ||
| 12 | https://xid.location.studio/HPE/V1.2/HpeCellular.xid.xml \ | 13 | https://xid.location.studio/HPE/V1.2/HpeCellular.xid.xml \ | 
| 13 | https://xid.location.studio/HPE/V1.2/HpeCore.xid.xml \ | 14 | https://xid.location.studio/HPE/V1.2/HpeCore.xid.xml \ | 
| 14 | https://xid.location.studio/HPE/V1.2/HpeGnss.xid.xml \ | 15 | https://xid.location.studio/HPE/V1.2/HpeGnss.xid.xml \ | 
| 15 | https://xid.location.studio/HPE/V1.2/HpeUsage.xid.xml \ | 16 | https://xid.location.studio/HPE/V1.2/HpeUsage.xid.xml \ | 
| 16 | https://xid.location.studio/HPE/V1.2/HpeWiFi.xid.xml | 17 | https://xid.location.studio/HPE/V1.2/HpeWiFi.xid.xml | 
| 18 | ~~~ | ||
| 17 | 19 | ||
| 18 | OR | 20 | or | 
| 19 | 21 | ||
| 22 | ~~~sh | ||
| 20 | $ java -Xnoclassgc -jar $XIDSDK/bin/xidcg.jar \ | 23 | $ java -Xnoclassgc -jar $XIDSDK/bin/xidcg.jar \ | 
| 21 | -v \ | 24 | -v \ | 
| 22 | -prop ../../Tensor/V1.0.0/XIDData.prop \ | 25 | -prop ../../Tensor/V1.0.0/XIDData.prop \ | 
| 23 | -prop XIDData.prop \ | 26 | -prop XIDData.prop \ | 
| 27 | HpeBLE.xid.xml \ | ||
| 24 | HpeCellular.xid.xml \ | 28 | HpeCellular.xid.xml \ | 
| 25 | HpeCore.xid.xml \ | 29 | HpeCore.xid.xml \ | 
| 26 | HpeGnss.xid.xml \ | 30 | HpeGnss.xid.xml \ | 
| ... | @@ -36,4 +40,3 @@ Generating: xidout/meta/XID/XIDData.prop | ... | @@ -36,4 +40,3 @@ Generating: xidout/meta/XID/XIDData.prop | 
| 36 | ~~~ | 40 | ~~~ | 
| 37 | 41 | ||
| 38 | Then something has changed and XIDData.prop needs to get updated. | 42 | Then something has changed and XIDData.prop needs to get updated. | 
| 39 | ... | ... | 
| ... | @@ -20,6 +20,9 @@ Idx.HPE.ArcBand3D.opening=4 | ... | @@ -20,6 +20,9 @@ Idx.HPE.ArcBand3D.opening=4 | 
| 20 | Idx.HPE.ArcBand3D.radius=6 | 20 | Idx.HPE.ArcBand3D.radius=6 | 
| 21 | Idx.HPE.ArcBand3D.tilt=3 | 21 | Idx.HPE.ArcBand3D.tilt=3 | 
| 22 | Idx.HPE.ArcBand3D.vopening=5 | 22 | Idx.HPE.ArcBand3D.vopening=5 | 
| 23 | Idx.HPE.BLE.BLERss.mac=1 | ||
| 24 | Idx.HPE.BLE.BLERss.rss=2 | ||
| 25 | Idx.HPE.BLE.BLERssExt.Tx=1 | ||
| 23 | Idx.HPE.Cellular.AntennaSpec.RTTCalib=10 | 26 | Idx.HPE.Cellular.AntennaSpec.RTTCalib=10 | 
| 24 | Idx.HPE.Cellular.AntennaSpec.RTTCalibUncert=11 | 27 | Idx.HPE.Cellular.AntennaSpec.RTTCalibUncert=11 | 
| 25 | Idx.HPE.Cellular.AntennaSpec.TxPower=8 | 28 | Idx.HPE.Cellular.AntennaSpec.TxPower=8 | 
| ... | @@ -201,6 +204,9 @@ Off.HPE.ArcBand3D.opening=37 | ... | @@ -201,6 +204,9 @@ Off.HPE.ArcBand3D.opening=37 | 
| 201 | Off.HPE.ArcBand3D.radius=45 | 204 | Off.HPE.ArcBand3D.radius=45 | 
| 202 | Off.HPE.ArcBand3D.tilt=33 | 205 | Off.HPE.ArcBand3D.tilt=33 | 
| 203 | Off.HPE.ArcBand3D.vopening=41 | 206 | Off.HPE.ArcBand3D.vopening=41 | 
| 207 | Off.HPE.BLE.BLERss.mac=9 | ||
| 208 | Off.HPE.BLE.BLERss.rss=15 | ||
| 209 | Off.HPE.BLE.BLERssExt.Tx=16 | ||
| 204 | Off.HPE.Cellular.AntennaSpec.RTTCalib=42 | 210 | Off.HPE.Cellular.AntennaSpec.RTTCalib=42 | 
| 205 | Off.HPE.Cellular.AntennaSpec.RTTCalibUncert=46 | 211 | Off.HPE.Cellular.AntennaSpec.RTTCalibUncert=46 | 
| 206 | Off.HPE.Cellular.AntennaSpec.TxPower=26 | 212 | Off.HPE.Cellular.AntennaSpec.TxPower=26 | 
| ... | @@ -437,13 +443,36 @@ Ord.Logging.TransactionMsg.devid=83 | ... | @@ -437,13 +443,36 @@ Ord.Logging.TransactionMsg.devid=83 | 
| 437 | Ord.Logging.TransactionMsg.etid=81 | 443 | Ord.Logging.TransactionMsg.etid=81 | 
| 438 | Ord.Logging.TransactionMsg.tid=80 | 444 | Ord.Logging.TransactionMsg.tid=80 | 
| 439 | Ord.Logging.UsageMsg.uri=96 | 445 | Ord.Logging.UsageMsg.uri=96 | 
| 446 | Ord.Tensor.Command.argument=66 | ||
| 447 | Ord.Tensor.Command.etid=65 | ||
| 448 | Ord.Tensor.Command.name=64 | ||
| 449 | Ord.Tensor.CommandApi.Execute.Input.commands=64 | ||
| 450 | Ord.Tensor.CommandApi.Execute.Input.wantresponses=65 | ||
| 451 | Ord.Tensor.CommandApi.Execute.Output.lastcommand=64 | ||
| 452 | Ord.Tensor.CommandApi.Execute.Output.lastresult=65 | ||
| 453 | Ord.Tensor.CommandApi.Execute.Output.responses=66 | ||
| 454 | Ord.Tensor.CommandResponse.etid=65 | ||
| 455 | Ord.Tensor.CommandResponse.name=64 | ||
| 456 | Ord.Tensor.CommandResponse.output=67 | ||
| 457 | Ord.Tensor.CommandResponse.result=66 | ||
| 458 | Ord.Tensor.InputBase.devid=64 | ||
| 459 | Ord.Tensor.InputBase.directive=66 | ||
| 460 | Ord.Tensor.InputBase.etid=65 | ||
| 440 | Ord.Tensor.NameValue.name=64 | 461 | Ord.Tensor.NameValue.name=64 | 
| 441 | Ord.Tensor.NameValue.value=65 | 462 | Ord.Tensor.NameValue.value=65 | 
| 463 | Ord.Tensor.OutputBase.devid=64 | ||
| 464 | Ord.Tensor.OutputBase.errinfo=67 | ||
| 465 | Ord.Tensor.OutputBase.etid=65 | ||
| 466 | Ord.Tensor.OutputBase.resultcode=66 | ||
| 442 | Ord.Tensor.VoidType.reserved=64 | 467 | Ord.Tensor.VoidType.reserved=64 | 
| 468 | SID.Tensor.CommandApi.Execute.Input=256 | ||
| 469 | SID.Tensor.CommandApi.Execute.Output=257 | ||
| 443 | Size.HPE.Arc3D=45 | 470 | Size.HPE.Arc3D=45 | 
| 444 | Size.HPE.Arc=33 | 471 | Size.HPE.Arc=33 | 
| 445 | Size.HPE.ArcBand3D=49 | 472 | Size.HPE.ArcBand3D=49 | 
| 446 | Size.HPE.ArcBand=45 | 473 | Size.HPE.ArcBand=45 | 
| 474 | Size.HPE.BLE.BLERss=16 | ||
| 475 | Size.HPE.BLE.BLERssExt=17 | ||
| 447 | Size.HPE.Cellular.AntennaSpec=50 | 476 | Size.HPE.Cellular.AntennaSpec=50 | 
| 448 | Size.HPE.Cellular.CellAntReferenceData=95 | 477 | Size.HPE.Cellular.CellAntReferenceData=95 | 
| 449 | Size.HPE.Cellular.CellId=12 | 478 | Size.HPE.Cellular.CellId=12 | 
| ... | @@ -504,5 +533,11 @@ Size.Logging.TaskReport=-1 | ... | @@ -504,5 +533,11 @@ Size.Logging.TaskReport=-1 | 
| 504 | Size.Logging.TraceMsg=-1 | 533 | Size.Logging.TraceMsg=-1 | 
| 505 | Size.Logging.TransactionMsg=-1 | 534 | Size.Logging.TransactionMsg=-1 | 
| 506 | Size.Logging.UsageMsg=-1 | 535 | Size.Logging.UsageMsg=-1 | 
| 536 | Size.Tensor.Command=-1 | ||
| 537 | Size.Tensor.CommandApi.Execute.Input=-1 | ||
| 538 | Size.Tensor.CommandApi.Execute.Output=-1 | ||
| 539 | Size.Tensor.CommandResponse=-1 | ||
| 540 | Size.Tensor.InputBase=-1 | ||
| 507 | Size.Tensor.NameValue=-1 | 541 | Size.Tensor.NameValue=-1 | 
| 542 | Size.Tensor.OutputBase=-1 | ||
| 508 | Size.Tensor.VoidType=-1 | 543 | Size.Tensor.VoidType=-1 | ... | ... | 
- 
Please register or sign in to post a comment