<?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>How to add a custom GATT service and characteristic to one of the mesh examples?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70058/how-to-add-a-custom-gatt-service-and-characteristic-to-one-of-the-mesh-examples</link><description>Dear BLE Experts, I&amp;#39;ve followed this tutorial to create a custom GATT service and characteristic. The tutorial seems to be based on the BLE SDK , not the MESH sdk, hence the question: What needs to be done to add a custom GATT service/characteristic to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Jan 2021 09:18:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70058/how-to-add-a-custom-gatt-service-and-characteristic-to-one-of-the-mesh-examples" /><item><title>RE: How to add a custom GATT service and characteristic to one of the mesh examples?</title><link>https://devzone.nordicsemi.com/thread/287432?ContentTypeID=1</link><pubDate>Tue, 05 Jan 2021 09:18:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa45a708-69bb-432d-8e19-4a41056a227c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi BlueMike,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Sure, it&amp;#39;s possible to add extra proprietary service/characteristic to the mesh example in mesh SDK. You just need to do it as in a normal BLE application: declare the UUID base, add the service, add characteristic etc.&amp;nbsp;&lt;br /&gt;Note that both the Mesh SDK and the nRF5 SDK running on top of the softdevice so it would use the same softdevice API to add and manage the characteristic, service etc.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There is one note though, if you use PB-GATT example, the softdevice is restarted after the device get provisioned (to update the att table) so if you add your service before it provisioned, you would need to add the service again after it&amp;#39;s provisioned. If you don&amp;#39;t plan to add the service before the device get provisioned, you can just add the service only after it&amp;#39;s provisioned and don&amp;#39;t have to worry about this.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add a custom GATT service and characteristic to one of the mesh examples?</title><link>https://devzone.nordicsemi.com/thread/287333?ContentTypeID=1</link><pubDate>Mon, 04 Jan 2021 18:06:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd336ae0-9a7a-4eba-8dff-bf8cf0838c6f</guid><dc:creator>BlueMike</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;Thanks for your help. I&amp;#39;ll have a look at the ble_app_uart_coexist example.&lt;/p&gt;
&lt;p&gt;One thing I don&amp;#39;t quite understand though: Is it necessary to move the firmware from the mesh SDK over to the nRF5 SDK in order to be able to add a custom GATT service/characteristic? &lt;/p&gt;
&lt;p&gt;Since mesh is based on BLE, one would think you can simply use the BLE features from inside the mesh SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add a custom GATT service and characteristic to one of the mesh examples?</title><link>https://devzone.nordicsemi.com/thread/287311?ContentTypeID=1</link><pubDate>Mon, 04 Jan 2021 15:56:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed38cbdd-9688-4760-8bf7-84d0b9380a35</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please have a look at the&amp;nbsp;ble_app_uart_coexist example in the NRF5 Mesh SDK v5.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The example shows an application that build for mesh but can be used inside nRF5 SDK. And it includes the NUS proprietary service and characteristic. The documentation is &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v5.0.0/md_examples_sdk_coexist_README.html?cp=7_2_3_3"&gt;here.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>