<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How to create Environmental Sensing service (UUID 0x181A) display Temperature and Humidity</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32537/how-to-create-environmental-sensing-service-uuid-0x181a-display-temperature-and-humidity</link><description>Hi all , 
 I have SHT31 and I can read Temperature and Humidity value by NRF52 . But I want to create 1 service for display it on smart phone with the RH (name: Humidity, UUID: 0x2A6F) and temperature (name: Temperature Measurement, UUID: 0x2A1C) characteristics</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 05 Apr 2018 12:53:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32537/how-to-create-environmental-sensing-service-uuid-0x181a-display-temperature-and-humidity" /><item><title>RE: How to create Environmental Sensing service (UUID 0x181A) display Temperature and Humidity</title><link>https://devzone.nordicsemi.com/thread/127053?ContentTypeID=1</link><pubDate>Thu, 05 Apr 2018 12:53:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edf3f9e2-ccd9-4542-80d3-043463dcaf76</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Giang,&lt;/p&gt;
&lt;p&gt;Sorry for the delay. Have you found a solution or do you have any updates to this case you could share?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create Environmental Sensing service (UUID 0x181A) display Temperature and Humidity</title><link>https://devzone.nordicsemi.com/thread/125668?ContentTypeID=1</link><pubDate>Fri, 23 Mar 2018 08:46:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:929ad10a-ff6c-4340-a4ab-018f08fbeef6</guid><dc:creator>Giang</dc:creator><description>&lt;p&gt;hi i use android with nrf connect . It is &amp;nbsp;requirement of me . I created custom service and can display humidity value corect. It is uint16 type , but temperature is sint16 type . And you can help me display correct&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create Environmental Sensing service (UUID 0x181A) display Temperature and Humidity</title><link>https://devzone.nordicsemi.com/thread/125664?ContentTypeID=1</link><pubDate>Fri, 23 Mar 2018 08:36:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce4042dd-78df-422c-9711-d84f28ad9868</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;What app do you use to read out the data sent from the peripheral?&lt;/p&gt;
&lt;p&gt;I assume you have checked out the &amp;quot;custom_ble_service&amp;quot; tutorial and understand how BLE work described in the&lt;a href="https://devzone.nordicsemi.com/tutorials/b/bluetooth-low-energy" target="_blank" rel="noopener noreferrer"&gt; BLE tutorials&lt;/a&gt;? (specifically the &lt;a href="https://devzone.nordicsemi.com/tutorials/b/bluetooth-low-energy/posts/ble-characteristics-a-beginners-tutorial" target="_blank" rel="noopener noreferrer"&gt;Characteristics tutorial&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;If you want to display the numbers another way, I think the best way to do it on the Central side.&lt;/p&gt;
&lt;p&gt;(&lt;a href="https://www.allaboutcircuits.com/projects/nrf51-series-ble-temperature-sensor/" target="_blank" rel="noopener noreferrer"&gt;&lt;em&gt;similar project&lt;/em&gt;&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create Environmental Sensing service (UUID 0x181A) display Temperature and Humidity</title><link>https://devzone.nordicsemi.com/thread/125447?ContentTypeID=1</link><pubDate>Thu, 22 Mar 2018 07:03:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80348622-85c2-43b0-b48f-c018c73248fd</guid><dc:creator>Giang</dc:creator><description>&lt;p&gt;Hi , can you help me?&lt;/p&gt;
&lt;p&gt;I have Temperature Characteristic , but , I don&amp;#39;t display temperature value correct on smart phone . It here :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.characteristic.temperature.xml"&gt;https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.characteristic.temperature.xml&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;. It show me temperature is sint16 type . And I dont know display this type in C . If I want to display 40*C . Can you show me have to what is send to smart phone ? Thank&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create Environmental Sensing service (UUID 0x181A) display Temperature and Humidity</title><link>https://devzone.nordicsemi.com/thread/125172?ContentTypeID=1</link><pubDate>Tue, 20 Mar 2018 13:22:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4a104ec-43be-4ab4-9f6f-d481d76a4bb9</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hello Giang,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please check out this &lt;a href="https://github.com/bjornspockeli/nRF52_ppi_timper_gpiote_example" target="_blank" rel="noopener noreferrer"&gt;Tutorial &lt;/a&gt;made by &lt;a href="https://devzone.nordicsemi.com/members/bjorn_2d00_spockeli" target="_blank" rel="noopener noreferrer"&gt;Bjorn&lt;/a&gt;. It shows you in step 5 how you can read out the temperature data via TWI and you could&amp;nbsp;use the &amp;quot;ble_app_uart&amp;quot; example as reference on how to send the temperature data to a central (phone etc..)&lt;/p&gt;
&lt;p&gt;You can also check out this&amp;nbsp;&lt;a href="https://github.com/bjornspockeli/custom_ble_service_example" target="_blank" rel="noopener noreferrer"&gt;&amp;quot;custom_ble_service&amp;quot; example&lt;/a&gt;&amp;nbsp;on how to make custom BLE services.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>