<?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 Name</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43999/advertising-name</link><description>I am trying to find an example to do a BLE pairing. This is my first BLE experience and working with nRF52832 using SDK15.2 and softdevice API 6.1 
 I am trying to do a base station keyfob connection 
 i would like to make 1 item go into pair mode and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Feb 2019 14:19:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43999/advertising-name" /><item><title>RE: Advertising Name</title><link>https://devzone.nordicsemi.com/thread/173059?ContentTypeID=1</link><pubDate>Tue, 26 Feb 2019 14:19:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8550a210-87cf-47c4-905d-d6ab5d79fb16</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;You could have the key fob set up as a server (peripheral), and what you call &amp;quot;main box&amp;quot; as a client, and send notifications between them.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising Name</title><link>https://devzone.nordicsemi.com/thread/173020?ContentTypeID=1</link><pubDate>Tue, 26 Feb 2019 12:41:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27b9b9a9-1ee2-47c7-94f1-aabc8341c41f</guid><dc:creator>dmleone</dc:creator><description>&lt;p&gt;yes. I got it running for tutorial now i am off to setting up a new project to try and get 2 boards to pair so will probably have other issues but hopefully maybe already asked. I am getting more familiar with this stuff. just 1 question. If i want to run a key fob. is best scenario using key fob as the server, the main box as a client. and is a service the way to transport data between the 2? I only know of a service so far from the tutorial i did. Is there any other means of transmitting data, besides possibly just blasting it in the advertising packet itself if it is a small enough payload.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising Name</title><link>https://devzone.nordicsemi.com/thread/173014?ContentTypeID=1</link><pubDate>Tue, 26 Feb 2019 12:35:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15f5ac75-e443-472a-a570-8b45ca145552</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
[quote user="dmleone"]i also noticed 10000 is not 64k but that seems to be the values listed in all the examples. i have the 64kB chip. I a,so used that link to do some understanding on memory spacing. what is the value i should use for max ram size if 10000 is not the correct one for this chip per examples?[/quote]
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry, I wrote wrong, I&amp;#39;ve edited that.&lt;/p&gt;
&lt;p&gt;Did you get it working now? :-)&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising Name</title><link>https://devzone.nordicsemi.com/thread/172851?ContentTypeID=1</link><pubDate>Mon, 25 Feb 2019 16:14:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c6804a8-5de5-431c-8cc5-e4f2460ded11</guid><dc:creator>dmleone</dc:creator><description>&lt;p&gt;Additional issue i had was the sdk_config file did not have correct settings. The tutorial didnt explain the need to update that. Once i updated&amp;nbsp;&lt;span&gt;NRF_SDH_BLE_VS_UUID_COUNT within the sdk, it did as expected. and increased memory. Your answer was helpful to establish memory for it. thanks&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising Name</title><link>https://devzone.nordicsemi.com/thread/172825?ContentTypeID=1</link><pubDate>Mon, 25 Feb 2019 15:04:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d81c053-6da3-443a-9be6-6ee8ee4b566a</guid><dc:creator>dmleone</dc:creator><description>&lt;p&gt;i also noticed 10000 is not 64k but that seems to be the values listed in all the examples. i have the 64kB chip. I a,so used that link to do some understanding on memory spacing. what is the value i should use for max ram size if 10000 is not the correct one for this chip per examples?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising Name</title><link>https://devzone.nordicsemi.com/thread/172818?ContentTypeID=1</link><pubDate>Mon, 25 Feb 2019 14:54:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b26a78f-51a7-4f8b-a258-dd2b124a0dc9</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;You can correct the RAM start address by following step 7 in &lt;a href="https://devzone.nordicsemi.com/tutorials/b/getting-started/posts/adjustment-of-ram-and-flash-memory"&gt;this &lt;/a&gt;tutorial.&lt;/p&gt;
[quote user="dmleone"]&lt;p&gt;&lt;/p&gt;&lt;p&gt;RAM_START=0x20004000&lt;/p&gt;&lt;p&gt;RAM_SIZE=0xc000&lt;/p&gt;&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;This might not be correct, because 0x4000 + 0xc000 = 0x10000 is 64 kB RAM, and the nRF52832 has either 64 kB or 32 kB RAM, as you can read &lt;a href="https://www.nordicsemi.com/DocLib/Content/Comp_Matrix/nRF52832/latest/COMP/nrf52832/ic_revision_overview"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For 32 kB it has to be 0x4000 for RAM_SIZE.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising Name</title><link>https://devzone.nordicsemi.com/thread/172812?ContentTypeID=1</link><pubDate>Mon, 25 Feb 2019 14:39:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f148791-1518-45cb-a301-4f1f71e80585</guid><dc:creator>dmleone</dc:creator><description>&lt;p&gt;Linker script is new to me but i figured it out within SES. i Added some more memory and assume the ram_start_addr in your example refers to the RAM start addr I set. The error i am getting during debug is when i try to do sd_ble_uuid_vs_add it return err_code = 4 which is NRF_ERROR_NO_MEM. the base RAM location from the proximity example had RAM start at 2218. I modified the RAM address to start at 4000 and changed length to c000. Is this not enough additional memory? I also added your recommended memory allocation for the vs_uuid.&lt;/p&gt;
&lt;p&gt;Also when i run it in debug mode, when i do the APP_ERROR_CHECK(err_code), it seems to lock up in the function within&amp;nbsp; app_error_weak.c at line 100 NRF_BREAKPOINT_COND.&lt;/p&gt;
&lt;p&gt;Here is my project memory information from the options within SES. I only changed the RAM_START and RAM_SIZE values.&lt;/p&gt;
&lt;p&gt;FLASH_PH_START=0x0&lt;/p&gt;
&lt;p&gt;FLASH_PH_SIZE=0x80000&lt;/p&gt;
&lt;p&gt;RAM_PH_START=0x20000000&lt;/p&gt;
&lt;p&gt;RAM_PH_SIZE=0x10000&lt;/p&gt;
&lt;p&gt;FLASH_START=0x26000&lt;/p&gt;
&lt;p&gt;FLASH_SIZE=0x5a000&lt;/p&gt;
&lt;p&gt;RAM_START=0x20004000&lt;/p&gt;
&lt;p&gt;RAM_SIZE=0xc000&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising Name</title><link>https://devzone.nordicsemi.com/thread/172604?ContentTypeID=1</link><pubDate>Sat, 23 Feb 2019 10:12:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59190324-2c1b-49f3-b549-fb2d8a42b84b</guid><dc:creator>wpaul</dc:creator><description>[quote userid="72699" url="~/f/nordic-q-a/43999/advertising-name/172577"]Is there some reason when i try and use the vendor specific base UUID it is not working?[/quote]
&lt;p&gt;There&amp;#39;s no way to answer this unless you provide more details. What does &amp;quot;not working&amp;quot; mean exactly? What erroneous behavior did you observe? Did sd_ble_uuid_vs_add() return an error? If so, what was it?&lt;/p&gt;
&lt;p&gt;In order to add a vendor-specific UUID, you need to tell the SoftDevice to reserve some storage for it first. This is done by calling sd_ble_cfg_set() with BLE_COMMON_CFG_VS_UUID, e.g.:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;ble_cfg_t cfg;
uint32_t ram_start = YOUR_RAM_START_ADDR;
int r;

memset (&amp;amp;cfg, 0, sizeof(cfg));

cfg.common_cfg.vs_uuid_cfg.vs_uuid_count = 1;

r = sd_ble_cfg_set (BLE_COMMON_CFG_VS_UUID, &amp;amp;cfg, ram_start);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Note that this may also require reserving some additional RAM for SoftDevice. I don&amp;#39;t know if you&amp;#39;ve had to deal with that particular concept yet. Basically, you may need to edit the linker script for the example to change the ORIGIN address and LENGTH for the RAM region. The SoftDevice wants to use RAM starting at address 0x20000000, up to some length. Your application is allowed to use memory _after_ that. The examples are configured to allocate enough memory for what the sample features need, but if you add something else, you&amp;#39;ll need to move the ORIGIN address higher and decrease the LENGTH by the same amount.&lt;/p&gt;
&lt;p&gt;-Bill&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising Name</title><link>https://devzone.nordicsemi.com/thread/172577?ContentTypeID=1</link><pubDate>Fri, 22 Feb 2019 21:45:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56e55837-4dfa-4ded-a42f-0ada7f5845e9</guid><dc:creator>dmleone</dc:creator><description>&lt;p&gt;I have been working with this how-to&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/tutorials/b/bluetooth-low-energy/posts/ble-characteristics-a-beginners-tutorial"&gt;https://devzone.nordicsemi.com/tutorials/b/bluetooth-low-energy/posts/ble-characteristics-a-beginners-tutorial&lt;/a&gt;&amp;nbsp;and it seems to be very helpful. I made it to the last page and i have a few issue with the operation&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define BLE_UUID_OUR_BASE_UUID              {0x23, 0xD1, 0x13, 0xEF, 0x5F, 0x78, 0x23, 0x15, 0xDE, 0xEF, 0x12, 0x12, 0x00, 0x00, 0x00, 0x00} // 128-bit base UUID
#define BLE_UUID_OUR_SERVICE                0xABCD // Just a random, but recognizable value

void our_service_init(ble_os_t * p_our_service)
{

    // Declare 16 bit service and 128 bit base UUIDs and add them to BLE stack table     
    uint32_t   err_code;
    ble_uuid_t        service_uuid;
    ble_uuid128_t     base_uuid = BLE_UUID_OUR_BASE_UUID;
    service_uuid.uuid = BLE_UUID_OUR_SERVICE;
    service_uuid.type = BLE_UUID_TYPE_BLE;  // Had to add this and comment out below lines to make work
    //err_code = sd_ble_uuid_vs_add(&amp;amp;base_uuid, &amp;amp;service_uuid.type);
    //APP_ERROR_CHECK(err_code);
  
    // Add service
    
    err_code = sd_ble_gatts_service_add(BLE_GATTS_SRVC_TYPE_PRIMARY,
                                    &amp;amp;service_uuid,
                                    &amp;amp;p_our_service-&amp;gt;service_handle);
   
    APP_ERROR_CHECK(err_code);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;&lt;strong&gt;sd_ble_uuid_vs_add()&lt;/strong&gt; was not working right and when i tried to use it it would break. So i could not use vendor specific base UUID. which makes the other parts kinda of sketchy to get operating.&lt;/p&gt;
&lt;p&gt;Is there some reason when i try and use the vendor specific base UUID it is not working?&lt;/p&gt;
&lt;p&gt;Also in these turtorials there is not good example of how i can connect a second nRF52 module to this one. I am assuming something like the following:&lt;/p&gt;
&lt;p&gt;Scan for Device Name -&amp;gt; if device name &amp;quot;X&amp;quot; is found then pair -&amp;gt; after pairing, send info from A to B and then B to A&lt;/p&gt;
&lt;p&gt;This info was so far really good so far. I am hoping there is another similar tutorial on setting up pairing between 2 nRF52832 modules.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising Name</title><link>https://devzone.nordicsemi.com/thread/172400?ContentTypeID=1</link><pubDate>Fri, 22 Feb 2019 01:41:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:427178fe-d11a-4f1d-98bd-97fb06d960c9</guid><dc:creator>twihtronics</dc:creator><description>&lt;p&gt;auto connecting to a ble device is driven from the central side. advertise, connection request, connection response, connection. connection request is done by the central indicating that it would like to connection to the advertising device. but it seems like you are mixing dfu bootloader with and actual application.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;the dfu only get the ota as you stated. I would look at the proximity example to begin and then add the secure bootloader. but definitely you should focus on the ble application first and not the bootloader.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising Name</title><link>https://devzone.nordicsemi.com/thread/172399?ContentTypeID=1</link><pubDate>Fri, 22 Feb 2019 01:37:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd6afc33-c82f-495b-8bf4-5d87f9f2dbcd</guid><dc:creator>twihtronics</dc:creator><description>&lt;p&gt;Normal applications in main.c there is a #define DEVICE_NAME that you change. For the dfu application the change is in the sdk_config.h file.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1550799309464v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;the normal dfu application you have to press a button to tell the device to go into dfu mode. buttonless allows use cases that don&amp;#39;t have access to a button or need a button to trigger the dfu action.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>