<?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>Cannot initialize CyclingPower service</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44725/cannot-initialize-cyclingpower-service</link><description>I have developed CyclingPower SIG service based on (a) CSCS example and on (b) old file found here, at Devzone. 
 It used to work, but then something happened and I can&amp;#39;t make it work again. I am attaching *.h and *.c files and below is my init routine</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Mar 2019 13:21:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44725/cannot-initialize-cyclingpower-service" /><item><title>RE: Cannot initialize CyclingPower service</title><link>https://devzone.nordicsemi.com/thread/176730?ContentTypeID=1</link><pubDate>Mon, 18 Mar 2019 13:21:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:358d424b-82f8-4819-a0a0-0936e64e5b05</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Unforutnately, I&amp;#39;m not sure what those statuses means. It might be better to start over as it is hard to tell why it is not working. Not sure if it will help but maybe try using nRF Connect on different device? If possible could you send your project so I can test it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot initialize CyclingPower service</title><link>https://devzone.nordicsemi.com/thread/175890?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2019 10:59:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6f6f893-1812-4227-9d67-b06257f076b6</guid><dc:creator>Toyman</dc:creator><description>&lt;p&gt;Well, it is not that simple unfortunately. I completely reverted back all (small) changes I made, but with no success.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t get any errros, both at the compile stage and in the rutime.&lt;/p&gt;
&lt;p&gt;I increased log verbosity level to 4, but no errors. At connect, I get 0x50, 0x12 and 0x52 statuses.&lt;/p&gt;
&lt;p&gt;Where can I get their meaning?&lt;/p&gt;
&lt;p&gt;I also tried to increase&amp;nbsp;&lt;span&gt;NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE to 2000, it didn&amp;#39;t help&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;Symptom I have: the service is not listed in nRF Connect after the connection. All other services are listed, with their characterics.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The service IS listed in adv packet, but thats another story.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot initialize CyclingPower service</title><link>https://devzone.nordicsemi.com/thread/175880?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2019 10:23:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:373bdf97-086a-4cf6-95c8-220a304ee9f1</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]It used to work, but then something happened[/quote]
&lt;p&gt;What&amp;nbsp;is the last thing you changed in the code?&lt;/p&gt;
&lt;p&gt;Could you debug the code and see what error code you get?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>