<?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>Custom Version String in a BLE UART Peripheral</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84876/custom-version-string-in-a-ble-uart-peripheral</link><description>I have an application based on the peripheral uart sample, using NCS 1.8.0. I need to build in a version string that is queryable, so that anyone who connects to the device over Bluetooth can verify what version of custom software is running on the device</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 18 Feb 2022 11:55:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84876/custom-version-string-in-a-ble-uart-peripheral" /><item><title>RE: Custom Version String in a BLE UART Peripheral</title><link>https://devzone.nordicsemi.com/thread/353829?ContentTypeID=1</link><pubDate>Fri, 18 Feb 2022 11:55:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6563a904-bbc9-4742-abaf-6598ed48a65b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Brendan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As far as I know there isn&amp;#39;t a dedicated Bluetooth SIG&amp;#39;s characteristic for version number of the firmware.&amp;nbsp;&lt;br /&gt;So you may need to create your own proprietary service &amp;amp; characteristic for that purpose.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Another option is to add the version number into your Device Name characteristic (0x2A00) inside Gap Service (0x1800). This way you don&amp;#39;t need to define your own characteristic. But usually Device name should be represent in ASCII format, you can&amp;#39;t use it as binary.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can set name using&amp;nbsp;&lt;span&gt;bt_set_name().&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>