HpeWiFi.xid.xml 2.39 KB
<?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="HpeWiFi.xid.xml">
    <title>HPE Wi-Fi Data Definition</title>
    <comment>File contains data definitions 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.1.1/HpeCore.xid.xml" local="HpeCore.xid.xml" />
    
    <namespace name="HPE.WiFi">
        <using namespace="Tensor"/>
        <using namespace="HPE"/>

        <array name="MacAddress48" type="uint8" size="6">
            <comment>Traditional 6 byte (EU48) mac address.</comment>
        </array>

        <array name="SSID" type="int8" size="33">
          <comment>ssid string of wifi access point</comment>
        </array>
        
        <struct name="WiFiRssi" type="ObservationEpoch" pack="true" rttkey="HPE.ObservationType.WIFI_RSS">
            <comment>Wi-Fi RSSI observation</comment>
            <elem name ="rssi" type="uint8" multiplicity="1">
                <tag name="unit" value="-dBm"/>
                <comment>RSS signal measured value(used as negative). </comment>
            </elem>
            <elem name ="macaddr" type="MacAddress48" multiplicity="1">
                <comment>Access point mac address</comment>
            </elem>
        </struct>

      <struct name="WiFiRssiExt" type="WiFiRssi" rttkey="HPE.ObservationType.WIFI_RSS_EXT">
        <comment>Extension of the WifiRssi data structure</comment>
        <elem name="ssid" type="SSID" multiplicity="1">
          <comment>ssid of the wifi access point</comment>
        </elem>
        <elem name="freq" type="float32" multiplicity="1">
          <comment>Radio frequency of the Wifi Access point</comment>
        </elem>
        <elem name="uncert" type="float32" multiplicity="1">
          <comment> uncertainty of the rssi measurements</comment>
        </elem>
      </struct>
      
    </namespace>
</specification>