Git Product home page Git Product logo

mesh_node_sensor's Introduction

Bluetooth Mesh Node - Sensor

Overview

This sensor sample demonstrates Bluetooth Mesh Sensor Model.

It's powered by Zephyr with version > 2.0.0

Features

Sensor Properties List

Name Type ID Mesh Characteristics
Present Ambient Temperature org.bluetooth.property.present_ambient_temperature 0x004F Temperature 8

org.bluetooth.property.present_ambient_temperature.xml

<!--
Copyright 2017 Bluetooth SIG, Inc. All rights reserved.
-->
<Property name="Present Ambient Temperature" type="org.bluetooth.property.present_ambient_temperature" group="org.bluetooth.property_group.ambient_temperature" property-id="0x004F" last-modified="2017-07-11" approved="Yes">
  <Description>
This property represents an ambient air temperature as measured by a temperature sensor. This property does not distinguish between indoor or outdoor temperature. This context is derived from the location of the element when this property is used, for example by using the device location properties. This property can be used if a temperature sensor can be used both indoors and outdoors.
  </Description>
  <ReferencedCharacteristic name="Temperature 8" type="org.bluetooth.characteristic.temperature_8"/>
</Property>

org.bluetooth.characteristic.temperature_8.xml

<!--
Copyright 2017 Bluetooth SIG, Inc. All rights reserved.
-->
<Characteristic xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://schemas.bluetooth.org/Documents/characteristic.xsd" name="Temperature 8" type="org.bluetooth.characteristic.temperature_8" uuid="2B0D" last-modified="2017-07-11" approved="Yes">
  <InformativeText>
    <Abstract>
The Temperature 8 characteristic is used to represent a measure of temperature with a unit of 0.5 degree Celsius.
    </Abstract>
  </InformativeText>
  <Value>
    <Field name="Temperature 8">
      <InformativeText>Unit is degree Celsius with a resolution of 0.5.</InformativeText>
      <Format>sint8</Format>
      <Unit>
org.bluetooth.unit.thermodynamic_temperature.degree_celsius
      </Unit>
      <Minimum>-64.0</Minimum>
      <Maximum>63.5</Maximum>
      <DecimalExponent>0</DecimalExponent>
      <BinaryExponent>-1</BinaryExponent>
      <Multipler>1</Multipler>
      <Description>A value of 0xFF represents 'value is not known'.</Description>
    </Field>
  </Value>
</Characteristic>

mesh_node_sensor's People

Contributors

ahnniu avatar david-foo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.