Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
titleCreate Temperature Sensor
linenumberstrue
<Query>
  <DeleteAll format="version,current">
    <TempSensor>
      <sensorId ne=""/>
    </TempSensor>
  </DeleteAll>
  <Save format="version,current">
    <!-- This will read -->
    <TempSensor>
      <PerifParams>
        <Peripheral>
          serial
        </Peripheral>
        <Baudrate>
          9600
 115200       </Baudrate>
        <InterfacePort>
          /dev/ttycu.usbserial-DA01OX0SA1025R0Y
        </InterfacePort>
        <Interface>
          serial
        </Interface>
        <Format>
          ascii
        </Format>
        <Operation>
          receive
        </Operation>
        <UniqueId>
          76522
        </UniqueId>
        <Payload>
          $Null()
        </Payload>
      <TempValue></PerifParams>
      <SensorData>
        $Null()
      </TempValue>SensorData>
      <TempSensorInZone>
        livezone
      </TempSensorInZone>
    </TempSensor>
  </Save>
</Query>

...