aboutsummaryrefslogtreecommitdiff
path: root/trygvisio_soil_moisture.xml
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-07-26 22:56:49 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2015-07-26 22:56:49 +0200
commit9b086f8c4b5e96b46a3904c3bcfe11af39347b80 (patch)
tree5a11f24f21cd75ef51453178e32854663511ac3e /trygvisio_soil_moisture.xml
parent1268da96983b522266603989cffb9a2423679c9f (diff)
downloadtrygvisio_soil_moisture-9b086f8c4b5e96b46a3904c3bcfe11af39347b80.tar.gz
trygvisio_soil_moisture-9b086f8c4b5e96b46a3904c3bcfe11af39347b80.tar.bz2
trygvisio_soil_moisture-9b086f8c4b5e96b46a3904c3bcfe11af39347b80.tar.xz
trygvisio_soil_moisture-9b086f8c4b5e96b46a3904c3bcfe11af39347b80.zip
o Adding three new characteristics:
- Model number: Set to the board id. - Hardware revision: set to the device version data from the nRF8001 device. Not very useful right now. - Firmware revision: set to the string "Arduino: " + build time if not predefined from the outside.
Diffstat (limited to 'trygvisio_soil_moisture.xml')
-rw-r--r--trygvisio_soil_moisture.xml92
1 files changed, 92 insertions, 0 deletions
diff --git a/trygvisio_soil_moisture.xml b/trygvisio_soil_moisture.xml
index 196cfb4..35dd562 100644
--- a/trygvisio_soil_moisture.xml
+++ b/trygvisio_soil_moisture.xml
@@ -77,6 +77,98 @@
<PeriodForProperties/>
</Characteristic>
</Service>
+ <Service Type="local" PrimaryService="true">
+ <Name>Device Information</Name>
+ <Uuid>180a</Uuid>
+ <Characteristic>
+ <Name>Model Number String</Name>
+ <Uuid>2a24</Uuid>
+ <DefaultValue></DefaultValue>
+ <UsePresentationFormat>0</UsePresentationFormat>
+ <MaxDataLength>20</MaxDataLength>
+ <AttributeLenType>2</AttributeLenType>
+ <ForceOpen>false</ForceOpen>
+ <ForceEncryption>false</ForceEncryption>
+ <Properties>
+ <WriteWithoutResponse>false</WriteWithoutResponse>
+ <Write>false</Write>
+ <Notify>false</Notify>
+ <Indicate>false</Indicate>
+ <Broadcast>false</Broadcast>
+ </Properties>
+ <SetPipe>true</SetPipe>
+ <AckIsAuto>false</AckIsAuto>
+ <PresentationFormatDescriptor Value="0000" Exponent="0" Format="25" NameSpace="01" Unit="0000"/>
+ <PeriodForReadingThisCharacteristic>0</PeriodForReadingThisCharacteristic>
+ <PeriodForProperties/>
+ </Characteristic>
+ <Characteristic>
+ <Name>Hardware Revision String</Name>
+ <Uuid>2a27</Uuid>
+ <DefaultValue></DefaultValue>
+ <UsePresentationFormat>0</UsePresentationFormat>
+ <MaxDataLength>9</MaxDataLength>
+ <AttributeLenType>2</AttributeLenType>
+ <ForceOpen>false</ForceOpen>
+ <ForceEncryption>false</ForceEncryption>
+ <Properties>
+ <WriteWithoutResponse>false</WriteWithoutResponse>
+ <Write>false</Write>
+ <Notify>false</Notify>
+ <Indicate>false</Indicate>
+ <Broadcast>false</Broadcast>
+ </Properties>
+ <SetPipe>true</SetPipe>
+ <AckIsAuto>false</AckIsAuto>
+ <PresentationFormatDescriptor Value="0000" Exponent="0" Format="25" NameSpace="01" Unit="0000"/>
+ <PeriodForReadingThisCharacteristic>0</PeriodForReadingThisCharacteristic>
+ <PeriodForProperties/>
+ </Characteristic>
+ <Characteristic>
+ <Name>Firmware Revision String</Name>
+ <Uuid>2a26</Uuid>
+ <DefaultValue></DefaultValue>
+ <UsePresentationFormat>1</UsePresentationFormat>
+ <MaxDataLength>20</MaxDataLength>
+ <AttributeLenType>2</AttributeLenType>
+ <ForceOpen>false</ForceOpen>
+ <ForceEncryption>false</ForceEncryption>
+ <Properties>
+ <WriteWithoutResponse>false</WriteWithoutResponse>
+ <Write>false</Write>
+ <Notify>false</Notify>
+ <Indicate>false</Indicate>
+ <Broadcast>false</Broadcast>
+ </Properties>
+ <SetPipe>true</SetPipe>
+ <AckIsAuto>false</AckIsAuto>
+ <PresentationFormatDescriptor Value="0000" Exponent="0" Format="25" NameSpace="01" Unit="0000"/>
+ <PeriodForReadingThisCharacteristic>0</PeriodForReadingThisCharacteristic>
+ <PeriodForProperties/>
+ </Characteristic>
+ <Characteristic>
+ <Name>Manufacturer Name String</Name>
+ <Uuid>2a29</Uuid>
+ <DefaultValue>Trygvis IO</DefaultValue>
+ <UsePresentationFormat>1</UsePresentationFormat>
+ <MaxDataLength>10</MaxDataLength>
+ <AttributeLenType>1</AttributeLenType>
+ <ForceOpen>false</ForceOpen>
+ <ForceEncryption>false</ForceEncryption>
+ <Properties>
+ <WriteWithoutResponse>false</WriteWithoutResponse>
+ <Write>false</Write>
+ <Notify>false</Notify>
+ <Indicate>false</Indicate>
+ <Broadcast>false</Broadcast>
+ </Properties>
+ <SetPipe>false</SetPipe>
+ <AckIsAuto>false</AckIsAuto>
+ <PresentationFormatDescriptor Value="0000" Exponent="0" Format="25" NameSpace="01" Unit="0000"/>
+ <PeriodForReadingThisCharacteristic>0</PeriodForReadingThisCharacteristic>
+ <PeriodForProperties/>
+ </Characteristic>
+ </Service>
<Gapsettings>
<Name>Woot</Name>
<DeviceNameWriteLength>10</DeviceNameWriteLength>