This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Advertising Name

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 advertise OTA with a specific advertising name. I am trying to work with the ble_app_template example, but i cannot find how to change the advertising name from DfuTarg to what i want it to be.

What are the examples that are recommended to do the pairing i should review?

Also what is buttonless dfu? And if i want it to auto pair when near is that considered buttonless? endgame i would want to initiate a pairing sequence, but once paired, the paired device should remain paired and if within range, be able to communicate./ It is a key fob type situation.

Any informaiton would be helpful with this

  • Hi.

    You can correct the RAM start address by following step 7 in this tutorial.

    dmleone said:

    RAM_START=0x20004000

    RAM_SIZE=0xc000

    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 here.

    For 32 kB it has to be 0x4000 for RAM_SIZE.

    Best regards,

    Andreas

  • 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?

  • 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 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

  • Hi.

    dmleone said:
    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?

     

    Sorry, I wrote wrong, I've edited that.

    Did you get it working now? :-)

    Best regards,

    Andreas

  • 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.

Related