|
|
@ -17,30 +17,27 @@
|
|
|
|
~ specific language governing permissions and limitations
|
|
|
|
~ specific language governing permissions and limitations
|
|
|
|
~ under the License.
|
|
|
|
~ under the License.
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<DeviceManagementConfiguration>
|
|
|
|
<DeviceTypeConfiguration name="virtual_firealarm">
|
|
|
|
<DeviceType>virtual_firealarm</DeviceType>
|
|
|
|
<Features>
|
|
|
|
|
|
|
|
<Feature code="buzz">
|
|
|
|
|
|
|
|
<Name>Control buzzer</Name>
|
|
|
|
|
|
|
|
<Description>Control buzzer on Virtual Firealarm</Description>
|
|
|
|
|
|
|
|
<Operation context="device/{deviceId}/buzz" method="POST">
|
|
|
|
|
|
|
|
<FormParameters>
|
|
|
|
|
|
|
|
<Parameter>state</Parameter>
|
|
|
|
|
|
|
|
</FormParameters>
|
|
|
|
|
|
|
|
</Operation>
|
|
|
|
|
|
|
|
</Feature>
|
|
|
|
|
|
|
|
</Features>
|
|
|
|
|
|
|
|
|
|
|
|
<ManagementRepository>
|
|
|
|
<ProvisioningConfig>
|
|
|
|
<DeviceDefinition>
|
|
|
|
<SharedWithAllTenants>false</SharedWithAllTenants>
|
|
|
|
<License>
|
|
|
|
</ProvisioningConfig>
|
|
|
|
<Language>en_US</Language>
|
|
|
|
|
|
|
|
<Version>1.0.0</Version>
|
|
|
|
|
|
|
|
<Text>This is license text</Text>
|
|
|
|
|
|
|
|
</License>
|
|
|
|
|
|
|
|
<!--if generate is set to true then the feature information will be picked up from the annotation in the api-->
|
|
|
|
|
|
|
|
<Features generate="true"/>
|
|
|
|
|
|
|
|
</DeviceDefinition>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ProvisioningConfig>
|
|
|
|
<PushNotificationProvider type="MQTT">
|
|
|
|
<SharedWithAllTenants>false</SharedWithAllTenants>
|
|
|
|
<FileBasedProperties>true</FileBasedProperties>
|
|
|
|
</ProvisioningConfig>
|
|
|
|
<!--if file based properties is set to false then the configuration will be picked from platform configuration-->
|
|
|
|
</ManagementRepository>
|
|
|
|
<ConfigProperties>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<PushNotificationConfiguration>
|
|
|
|
|
|
|
|
<!--MQTT Config-->
|
|
|
|
|
|
|
|
<PushNotificationProvider>MQTT</PushNotificationProvider>
|
|
|
|
|
|
|
|
<Properties>
|
|
|
|
|
|
|
|
<Property Name="mqtt.adapter.name">virtualfirealarm.mqtt.adapter</Property>
|
|
|
|
<Property Name="mqtt.adapter.name">virtualfirealarm.mqtt.adapter</Property>
|
|
|
|
<Property Name="url">tcp://localhost:1883</Property>
|
|
|
|
<Property Name="url">tcp://localhost:1883</Property>
|
|
|
|
<Property Name="username">admin</Property>
|
|
|
|
<Property Name="username">admin</Property>
|
|
|
@ -48,17 +45,27 @@
|
|
|
|
<Property Name="qos">0</Property>
|
|
|
|
<Property Name="qos">0</Property>
|
|
|
|
<Property Name="scopes"/>
|
|
|
|
<Property Name="scopes"/>
|
|
|
|
<Property Name="clearSession">true</Property>
|
|
|
|
<Property Name="clearSession">true</Property>
|
|
|
|
</Properties>
|
|
|
|
</ConfigProperties>
|
|
|
|
<!--XMPP Config-->
|
|
|
|
</PushNotificationProvider>
|
|
|
|
<!--PushNotificationProvider>XMPP</PushNotificationProvider>
|
|
|
|
|
|
|
|
<Properties>
|
|
|
|
<!--<PushNotificationProvider type="XMPP">-->
|
|
|
|
<Property Name="xmpp.adapter.name">virtualfirealarm.xmpp.adapter</Property>
|
|
|
|
<!--<FileBasedProperties>true</FileBasedProperties>-->
|
|
|
|
<Property Name="host">localhost</Property>
|
|
|
|
<!--<!–if file based properties is set to false then the configuration will be picked from platform configuration–>-->
|
|
|
|
<Property Name="port">5222</Property>
|
|
|
|
<!--<ConfigProperties>-->
|
|
|
|
<Property Name="username">admin</Property>
|
|
|
|
<!--<Property Name="xmpp.adapter.name">virtualfirealarm.xmpp.adapter</Property>-->
|
|
|
|
<Property Name="password">admin</Property>
|
|
|
|
<!--<Property Name="host">localhost</Property>-->
|
|
|
|
<Property Name="jid">admin@localhost</Property>
|
|
|
|
<!--<Property Name="port">5222</Property>-->
|
|
|
|
<Property Name="server.name">localhost</Property>
|
|
|
|
<!--<Property Name="username">admin</Property>-->
|
|
|
|
</Properties-->
|
|
|
|
<!--<Property Name="password">admin</Property>-->
|
|
|
|
</PushNotificationConfiguration>
|
|
|
|
<!--<Property Name="jid">admin@localhost</Property>-->
|
|
|
|
</DeviceManagementConfiguration>
|
|
|
|
<!--<Property Name="server.name">localhost</Property>-->
|
|
|
|
|
|
|
|
<!--</ConfigProperties>-->
|
|
|
|
|
|
|
|
<!--</PushNotificationProvider>-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<License>
|
|
|
|
|
|
|
|
<Language>en_US</Language>
|
|
|
|
|
|
|
|
<Version>1.0.0</Version>
|
|
|
|
|
|
|
|
<Text>This is license text</Text>
|
|
|
|
|
|
|
|
</License>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</DeviceTypeConfiguration>
|