<?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 can I implement a custom characteristic which displays the value in range of -100 ... 0 ... 100 %?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30472/how-can-i-implement-a-custom-characteristic-which-displays-the-value-in-range-of--100-0-100</link><description>Hello, 
 I&amp;#39;ve tried to implement a custom service with a custom chacteristic, that shows the values per notification in the MCP (Master Control Panel) in percentage. 
 I played around with the ble_gatts_char_pf_t structure, provide the unit with the value</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Feb 2018 14:08:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30472/how-can-i-implement-a-custom-characteristic-which-displays-the-value-in-range-of--100-0-100" /><item><title>RE: How can I implement a custom characteristic which displays the value in range of -100 ... 0 ... 100 %?</title><link>https://devzone.nordicsemi.com/thread/120848?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2018 14:08:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b23d1aa-c18b-4d02-903a-17597d6fa31d</guid><dc:creator>Thomas Lehwald</dc:creator><description>&lt;p&gt;Hello Martin,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks for your assistence.&lt;/p&gt;
&lt;p&gt;So, it seems, I must live with this circumstance until a custom app can handle the format representation correct.&lt;/p&gt;
&lt;p&gt;Best Regards&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thomas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I implement a custom characteristic which displays the value in range of -100 ... 0 ... 100 %?</title><link>https://devzone.nordicsemi.com/thread/120732?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2018 15:45:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80b2ecee-78bd-4655-bb79-e5cabc2a0eee</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;It is up to the application to read the presentation format and parse the data accordingly. I don&amp;#39;t know about LightBlue, but at least MCP does not. Neither does nRF Connect for mobile.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I implement a custom characteristic which displays the value in range of -100 ... 0 ... 100 %?</title><link>https://devzone.nordicsemi.com/thread/120722?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2018 14:16:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31405d13-eb7d-4ce8-9063-ef3c7fe1c93d</guid><dc:creator>Thomas Lehwald</dc:creator><description>&lt;p&gt;Hello Martin,&lt;/p&gt;
&lt;p&gt;yes, the tool I used is the MCP for Windows.&lt;/p&gt;
&lt;p&gt;But I also tried out another tool on the iPhone called &amp;quot;LightBlue&amp;quot;, with the same results. Only hex values are shown.&lt;/p&gt;
&lt;p&gt;I guess, that this &amp;quot;tools from the stock&amp;quot; doesn&amp;#39;t take care about the format representation, is this right?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Thomas&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I implement a custom characteristic which displays the value in range of -100 ... 0 ... 100 %?</title><link>https://devzone.nordicsemi.com/thread/120720?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2018 14:11:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfb13cc2-4c04-4975-9ef4-70ffc27b11b8</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Is this Master Control Panel&amp;nbsp;for Windows? It has been a while since I used it, but as far as I remember it doesn&amp;#39;t show anything other than hex values.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>