<?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>Advertising services</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62153/advertising-services</link><description>Hi, 
 I have to use current time service and one other customized service in my project.I am able to advertise only one service i.e customized one.can you please let me know the cause that might stop current time service from advertising?Below is the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Jun 2020 04:49:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62153/advertising-services" /><item><title>RE: Advertising services</title><link>https://devzone.nordicsemi.com/thread/256558?ContentTypeID=1</link><pubDate>Wed, 24 Jun 2020 04:49:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c9a42c1-8993-4e42-96ef-9cf3093390fe</guid><dc:creator>swathi p</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have six services in my project to send in advertising packet.As you said If not through EA, I can do it by&amp;nbsp;&lt;span&gt;advertising a vendor UUID, stop advertising, update your advertising packet with another UUID and start advertising again.But the thing is I have a need to make all the services available to the user at a time.It should be user choice to choose the service.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If I have only way to do this by stop and start advertising:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;To justify my need Can I advertise each service for every 20ms(Bluetooth Specification specifies that the advertising interval should be between 20 ms to 10.24 sec),as there are six services for every 120-140ms I will be able to advertise all the services one after the other.will it be the correct way to do?If yes,will there be issues with power consumptions?If no,suggest me the way in which I can make it possible?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;NOTE:Before starting this stop and start advertising in a loop I need to have device in conneced state.As we are starting advertising for every 20ms for each service.Will it be like we need to connect to the device for every 2ms?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Among all six let me explain about three services that I need in my project:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Two are vendor specific and one is standard service.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; 1)RTC Service&amp;nbsp; 2)Notification Service&amp;nbsp; 3)Battery Service.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I will set some value to the CC register using RTC Service.Then when counter ticks matches given CC value,We need to get notification on to the mobile.This getting notifications on to the mobile when an event generated is done by Notification Service.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Battery service is I want to make use of standard BLE service,for every 60sec/any given particular interval it should check the battery status.whenever battery is below certain percentage it should send notification to the mobile.Again here this sending notification to the mobile is done by using Notification Service.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This is how services are dependent in my project.I hope you understood my concept.Please guide me with appropriate way to implement.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Swathi P&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising services</title><link>https://devzone.nordicsemi.com/thread/256340?ContentTypeID=1</link><pubDate>Tue, 23 Jun 2020 08:33:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b7d128b-395a-4711-b67f-a39e600b03bc</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Yes, that is most likely due to the Phone not supporting AE.&lt;/p&gt;
&lt;p&gt;If you are unable to use AE, there is no way to advertise more than two vendor UUIDs simultaniously. Then you have to advertise a vendor UUID, stop advertising, update your advertising packet with another UUID and start advertising again.&lt;/p&gt;
&lt;p&gt;Br, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising services</title><link>https://devzone.nordicsemi.com/thread/256177?ContentTypeID=1</link><pubDate>Mon, 22 Jun 2020 12:24:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25aeaaef-b812-404c-9ba8-ff980624709f</guid><dc:creator>swathi p</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;After posting reply that I was unable to scan services in nRF Connect,after enabling EA.I have went through several posts related on same issue but I coudn&amp;#39;t find any appropriate answer.I read few posts saying that it is due to bluetooth version in the android may not be supporting EA.I am using OPPO A71 to test.Is it true?&lt;/p&gt;
&lt;p&gt;If yes,then please let me know the way in which I will be able to advertise and scan more than two vendor UUIDs.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Swathi P&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising services</title><link>https://devzone.nordicsemi.com/thread/256021?ContentTypeID=1</link><pubDate>Sat, 20 Jun 2020 05:11:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3042410-31f3-4ec1-a722-b37a2b3db69e</guid><dc:creator>swathi p</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have tried implementing extended advertising by adding the below statements into the code:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; ble_advertising_init_t init;&lt;/p&gt;
&lt;p&gt;init.config.ble_adv_primary_phy = BLE_GAP_PHY_1MBPS;&lt;br /&gt;init.config.ble_adv_secondary_phy = BLE_GAP_PHY_2MBPS;&lt;br /&gt;init.config.ble_adv_extended_enabled = true;&lt;/p&gt;
&lt;p&gt;But after adding those statements i.e after enabling EA I am unable to Scan on nRF Connect.?And I have seen the same with ble_app_rscs example.Please let me know the way I can be able to scan on nRF Connect.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Swathi P.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising services</title><link>https://devzone.nordicsemi.com/thread/255959?ContentTypeID=1</link><pubDate>Fri, 19 Jun 2020 12:02:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edf64a6f-5dd9-4f70-b039-8abf5b804fd0</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;You can take a look at the ble_app_rscs example. This has EA enabled by default.&lt;/p&gt;
&lt;p&gt;Br, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising services</title><link>https://devzone.nordicsemi.com/thread/255944?ContentTypeID=1</link><pubDate>Fri, 19 Jun 2020 11:04:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2bac822-6d8e-4111-a1c1-abea10fc3bc2</guid><dc:creator>swathi p</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for suggestion.I will try implementing using extended adverisement.Can you please let me know any example where this extension advertisement is used?&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Swathi P&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising services</title><link>https://devzone.nordicsemi.com/thread/255941?ContentTypeID=1</link><pubDate>Fri, 19 Jun 2020 10:38:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2c2f45d-4dc6-4b65-abe5-5ac3a1a9ef25</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;As I mentioned there are only 31 bytes available in your advertising packet. With the required headers and flags, you are left with 29 bytes of data.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The 128-bit UUID will use 16 of those bytes so there isn&amp;#39;t possible to advertise two in the same advertising packet. Even with the scan response packet, you only have room for two in total. &lt;br /&gt;One option could be to look at extended advertising. If you really need to advertise all the UUID&amp;#39;s,&amp;nbsp; EA allows you to advertise up to 255 bytes.&lt;/p&gt;
&lt;p&gt;Br, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising services</title><link>https://devzone.nordicsemi.com/thread/255705?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2020 09:21:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:759e36fd-e7b4-4022-b6a0-dfb944a97de5</guid><dc:creator>swathi p</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for your reply.As you suggested I have included one service in advertising packet and the other service in scan response packet.I am able to advertise two vendor UUID&amp;#39;s.&lt;/p&gt;
&lt;p&gt;Now,I am unable to advertise more than two vendor UUID&amp;#39;s.I want to advertise one or two Standard BLE Services along with five manufacturer specific services.&lt;/p&gt;
&lt;p&gt;I am getting an ERROR 12&amp;nbsp;&amp;nbsp;[NRF_ERROR_DATA_SIZE] from ble_advertising_init().&lt;/p&gt;
&lt;p&gt;After going through similar posts on devzone,got some suggestions to add&amp;nbsp;&amp;nbsp;uuids_more_available or&amp;nbsp;p_tx_power_level in advertising_init?what those variables exactly mean?&lt;/p&gt;
&lt;p&gt;Can you please let me know the way I can make it possible?&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Swathi P&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising services</title><link>https://devzone.nordicsemi.com/thread/254007?ContentTypeID=1</link><pubDate>Tue, 09 Jun 2020 10:32:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42675e6f-2034-473c-aa82-c65b0b064273</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Are you sure that you have space to put both services int he avertising packet? Note that you only have 31 bytes available in the advertising packet.&lt;/p&gt;
&lt;p&gt;You might want to place one of the services in the Scan response packet. The ble_app_uart example shows how this can be done.&lt;/p&gt;
&lt;p&gt;Br, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>