<?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>Need help to read the Firmware Revision String from a peripheral on my Central</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61923/need-help-to-read-the-firmware-revision-string-from-a-peripheral-on-my-central</link><description>Hi 
 
 I just want to read the Device Information Firmware revision string from a known Peripheral on my Central. 
 
 I Use the PCA10028 with SDK 12.3 and Softdevice S130 as my central. 
 I work with the BLE_APP_HRS_C Example. 
 my Target to read from</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Jun 2020 11:58:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61923/need-help-to-read-the-firmware-revision-string-from-a-peripheral-on-my-central" /><item><title>RE: Need help to read the Firmware Revision String from a peripheral on my Central</title><link>https://devzone.nordicsemi.com/thread/253522?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2020 11:58:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4c3efcb-bffb-49b9-969a-c237e5ea6256</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Remember that centrals historically has been mobile phones. The small devices are typically the peripherals.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Markus Aerni"]There must be an example somewhere[/quote]
&lt;p&gt;&amp;nbsp;The ble_dis_c folder containing the .c/.h files that are present in the later SDKs are not present in SDK12.3.0, so I don&amp;#39;t think there are any examples on that in SDK 12.3.0, unfortunately. However there are many examples with ble_xx_c. Did you run into any issues while backporting the ble_dis_c.c/h to SDK12.3.0? It is a bit hard to tell just by looking at your code.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need help to read the Firmware Revision String from a peripheral on my Central</title><link>https://devzone.nordicsemi.com/thread/253466?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2020 09:28:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6edb32ae-9327-4d8a-ab55-98a1a116b486</guid><dc:creator>Markus Aerni</dc:creator><description>&lt;p&gt;Sorry i don&amp;rsquo;t get it&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There is a huge difference in SDK15.x to SDK12.3 in case of Soft device.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;it cannot be that I am the first to read the device information from a peripheral with SDK12.&lt;/p&gt;
&lt;p&gt;There must be an example somewhere&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My code so far:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2330.ble_5F00_dis_5F00_c.c"&gt;devzone.nordicsemi.com/.../2330.ble_5F00_dis_5F00_c.c&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3823.ble_5F00_dis_5F00_c.h"&gt;devzone.nordicsemi.com/.../3823.ble_5F00_dis_5F00_c.h&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0383.main.c"&gt;devzone.nordicsemi.com/.../0383.main.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;LG&lt;/p&gt;
&lt;p&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need help to read the Firmware Revision String from a peripheral on my Central</title><link>https://devzone.nordicsemi.com/thread/252664?ContentTypeID=1</link><pubDate>Tue, 02 Jun 2020 09:41:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75bf5c52-1c50-4413-9d28-3e36529b0069</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;sorry. I forgot that you wrote SDK12.3.0 when I investigated your question.&lt;/p&gt;
&lt;p&gt;You are correct. There is no implementation of ble_dis_c in SDK12.3.0.&lt;/p&gt;
&lt;p&gt;You can try to copy these parts from a later SDK, which contains the ble_dis_c (Device Information Service_ Central) service.&lt;/p&gt;
&lt;p&gt;Look at how the files and libraries are used in sdk_15.0.0, and see if you can backport it to SDK12.3.0. The most important part is that you need to do the service discovery for the DIS Service UUID, and then, after it is discovered (discovery complete), you need to read the FW version.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need help to read the Firmware Revision String from a peripheral on my Central</title><link>https://devzone.nordicsemi.com/thread/252506?ContentTypeID=1</link><pubDate>Sat, 30 May 2020 09:03:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:236d9fbf-1ea9-4722-ace3-d1ef9514580f</guid><dc:creator>Markus Aerni</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Sorry there is no&amp;nbsp;&lt;span&gt;\examples\ble_central\ble_app_rscs_c in the SDK 12.3&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;There is one under experimental but there i cant find a&amp;nbsp;BLE_DIS_C_FW_REV&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;can i use parts of the SDK 15.X in my SDK 12.3 projekt ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need help to read the Firmware Revision String from a peripheral on my Central</title><link>https://devzone.nordicsemi.com/thread/252420?ContentTypeID=1</link><pubDate>Fri, 29 May 2020 13:02:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac1ccc38-8fb5-4656-b986-dd23916b40ed</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I suggest you check out the example:&lt;/p&gt;
&lt;p&gt;SKD\examples\ble_central\ble_app_rscs_c, which has a central implementation of the DIS (device information service).&lt;/p&gt;
&lt;p&gt;It has support for reading out the&amp;nbsp;BLE_DIS_C_FW_REV.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>