<?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>nRFConnect (android) don&amp;#39;t decode the characteristic FitnessMachine Feature : (2ACC)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56389/nrfconnect-android-don-t-decode-the-characteristic-fitnessmachine-feature-2acc</link><description>Hi, 
 I don&amp;#39;t understand why the characteristic FitnessMachine Feature : (0x2ACC) is not decoded as a bit field by nRF Connect 
 I can read it and i can see the good value shown as binary. 
 it&amp;#39;s written (in nRFConnect) : Value= Invalid value : (0x) 00</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 11 Jan 2020 18:10:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56389/nrfconnect-android-don-t-decode-the-characteristic-fitnessmachine-feature-2acc" /><item><title>RE: nRFConnect (android) don't decode the characteristic FitnessMachine Feature : (2ACC)</title><link>https://devzone.nordicsemi.com/thread/228681?ContentTypeID=1</link><pubDate>Sat, 11 Jan 2020 18:10:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fec86688-5787-4c2c-882c-7a950c536913</guid><dc:creator>Vincent25</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I found the mistake!&lt;/p&gt;
&lt;p&gt;In fact it&amp;#39;s not a 4 bytes long but 8 bytes long!!!!&lt;/p&gt;
&lt;p&gt;it&amp;#39;s not a 32 bits /4octets but a 64bits/8octets.&lt;/p&gt;
&lt;p&gt;they should probably change de array p19/78 in the specification !!!&lt;/p&gt;
&lt;p&gt;the firts colum &amp;quot;fitness machine features&amp;quot; (be carreful with the &amp;quot;s&amp;quot;) it&amp;#39;s not the caracteristic but one part of it . Only!!!&lt;/p&gt;
&lt;p&gt;and the second part is in the second colum.&lt;/p&gt;
&lt;p&gt;So 4+4 =8 bytes!!!&lt;/p&gt;
&lt;p&gt;now it&amp;#39;s well decoded by nRFConnect&lt;/p&gt;
&lt;p&gt;Thank you!!!&lt;/p&gt;
&lt;p&gt;Vincent&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRFConnect (android) don't decode the characteristic FitnessMachine Feature : (2ACC)</title><link>https://devzone.nordicsemi.com/thread/228641?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2020 20:19:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b98100c9-2361-4ae3-8232-a898f56fe19f</guid><dc:creator>Vincent25</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;I agree with you Fitness Machine Feature (2ACC) is a field 4 bytes lenght.&lt;/p&gt;
&lt;p&gt;but this 4 bytes should be decoded as bit field. It&amp;#39;s written in the specification. The first 2 bytes are Fitness machine features (describe which features are included in the machine) and the 2 other bytes describes the target setting features (which parameters could be targetted by the client).&lt;/p&gt;
&lt;p&gt;So in my mind nRFconnect could show this differents fileds&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Vincent&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRFConnect (android) don't decode the characteristic FitnessMachine Feature : (2ACC)</title><link>https://devzone.nordicsemi.com/thread/228609?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2020 14:23:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8bb55e3-cde8-4861-83e4-6c31856031e1</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote userid="86455" url="~/f/nordic-q-a/56389/nrfconnect-android-don-t-decode-the-characteristic-fitnessmachine-feature-2acc"]I don&amp;#39;t understand why the characteristic&amp;nbsp;FitnessMachine Feature : (0x2ACC) is not decoded as a bit field by nRF Connect[/quote]
&lt;p&gt;Looking at the &lt;a href="https://www.bluetooth.org/DocMan/handlers/DownloadDoc.ashx?doc_id=423422"&gt;Fitness Machine Service Specification&lt;/a&gt;, the&amp;nbsp;Fitness Machine Feature is&amp;nbsp;32bit /4 octets. It should therefore not be decoded as a bit field.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/4265.Fitness-Machine-Feature.PNG"&gt;/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/4265.Fitness-Machine-Feature.PNG&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>