<?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>Add service at iot mqtt example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35983/add-service-at-iot-mqtt-example</link><description>Hi! 
 How to add (custom) service at iot mqtt example?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Jul 2018 15:39:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35983/add-service-at-iot-mqtt-example" /><item><title>RE: Add service at iot mqtt example</title><link>https://devzone.nordicsemi.com/thread/141385?ContentTypeID=1</link><pubDate>Wed, 25 Jul 2018 15:39:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02fdc997-278b-4dc7-8c4f-be31ac2d3938</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;I am afraid that we do not have a guide or example for adding a custom BLE service to the IOT examples.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can use &lt;a href="https://github.com/bjornspockeli/custom_ble_service_example"&gt;this&lt;/a&gt;&amp;nbsp;tutorial as a reference when you create your custom service and then you will have to initialize the service&amp;nbsp;ble_6lowpan_init, like we have done with the BLE ISPS Service. After you have initialized the service you will need to add the event handler to the&amp;nbsp;on_ble_evt() function in ipv6_medium_ble.c file like we have done with&amp;nbsp;ble_ipsp_evt_handler().&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I do not think it should be that much effort to get it to work.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add service at iot mqtt example</title><link>https://devzone.nordicsemi.com/thread/139597?ContentTypeID=1</link><pubDate>Tue, 10 Jul 2018 14:05:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6740939-24e0-4a23-8933-b8039c078b5d</guid><dc:creator>Amigo</dc:creator><description>&lt;p&gt;&amp;nbsp;i mean&amp;nbsp;&lt;span&gt;adding a custom BLE service to the&amp;nbsp;publisher example&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add service at iot mqtt example</title><link>https://devzone.nordicsemi.com/thread/138936?ContentTypeID=1</link><pubDate>Wed, 04 Jul 2018 11:15:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f42282fc-7ede-42ee-8b8a-657a5f5465ac</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;HI Roman,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;which MQTT example are you referring to, the Pusblisher or Subscriber example? Also, when you say &amp;quot;add custom service&amp;quot; do you mean adding another MQTT topic to publish/subscribe to ? Or do you mean adding a custom BLE service to the one of the examples?&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>