<?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>Thingy52 CSCS shows no measurement values.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72432/thingy52-cscs-shows-no-measurement-values</link><description>So I am expanding the Thingy to have a CSCS, I have the service visible in nRF Connect with the only problem being that CSC Measurement is reporting no values (see image below). The code I use for the CSCS is just a copy paste of the example in the nRF5</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 07 Mar 2021 14:14:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72432/thingy52-cscs-shows-no-measurement-values" /><item><title>RE: Thingy52 CSCS shows no measurement values.</title><link>https://devzone.nordicsemi.com/thread/298224?ContentTypeID=1</link><pubDate>Sun, 07 Mar 2021 14:14:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c451d15-4c8d-477c-b029-bac341251327</guid><dc:creator>EpEp</dc:creator><description>&lt;p&gt;Ok I was indeed doing something stupid. I did not add the cscs&amp;#39;s ble event to the ble event dispatch.&lt;/p&gt;
&lt;p&gt;For anyone interested, on the Thingy this is located in m_ble.c. I had to add line 15:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static void ble_evt_dispatch(ble_evt_t * p_ble_evt)
{
    ble_conn_state_on_ble_evt(p_ble_evt);
    ble_conn_params_on_ble_evt(p_ble_evt);

    for (uint32_t i = 0; i &amp;lt; m_service_num; i++)
    {
        if (m_service_handles[i].ble_evt_cb != NULL)
        {
            m_service_handles[i].ble_evt_cb(p_ble_evt);
        }
    }

    //Rowing handler
    ble_cscs_on_ble_evt(&amp;amp;m_cscs, p_ble_evt);

    ble_tcs_on_ble_evt(&amp;amp;m_tcs, p_ble_evt);
#ifdef BLE_DFU_APP_SUPPORT
    ble_dfu_on_ble_evt(&amp;amp;m_dfus, p_ble_evt);
#endif // BLE_DFU_APP_SUPPORT
    on_ble_evt(p_ble_evt);
    ble_advertising_on_ble_evt(p_ble_evt);
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>