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

How to advertise with nRF52810 in order to be seen by BT4

Dear Sirs,

How to advertise with nRF52810 (peripheral mode) in order to be seen by BT4 devices (Smartphones)?

Is it necessary to make a special configuration (settings)? If yes, where can I find an example?

I try to use

with S112 softdevice
In addition, I spent hours(days) to make run a simple advertisement, without any success.
The example I use requires usage of your board with LEDs an buttons.
BTW, all your examples are very hard to understand and are very complex... Even for a simple functionality  Frowning2
On my PCB board, I have no buttons and LEDs and I cannot initialise services as you make in your example...
Could you give us a SIMPLE example, without complex event handlers, LEDS and buttons, with a minimum initialization?
I would like only be seen from a smartphone, giving only basic info as device name and product series number, nothing more...
Thank you in advance for your help
Cordially yours
Andre
Parents
  • Hi,
    You don't need any additional configurations for a BLE supported smartphone to scan for advertising peripherals. On the other hand, that means that every device which supports BLE can scan for the peripheral, not just the smartphone if whitelist and directected advertising is not used. You can use directed advertising and whitelist if you only want to advertise to a device with a specific address. 
    A good start point for developing BLE examples is our template example in the SDK. You can find it at YourSDK\examples\ble_peripheral\ble_app_template. I would also encourage you to read our tutorials on BLE, which explains how to setup advertising, services, whitelist etc. You can find them here.
    Best regards
    Jared 
  • Thank you very much for your reply.

    Unfortunately, your SDK examples are very complex and hard to understand, using event handlers, LEDS, buttons etc.

    On my PCB board I have not LEDS and buttons.

    I have already tried with your SDK example, I have even began with it, but I could not understand it.

    It is my reason to ask you a simpler one.

    It MUST work on my custom board, not on your proprietary board...

    I need a an example of advertising with a minimum initialization and without communication (no services), not depending of hardware.

    Is it possible?

    Cordially yours

    Andre

  • Concern your last post (3 hours ago)

    Dear Jared,

    Thank you for your response.

    However I cannot understand.

    I do not use Keil packs for my SDK 14.2 project...

    I simply open an SDK example, and (generally) this works.

    BTW
    Your last post has not an option to reply :-(
    How does this new site work? Sometimes the options are: reply or edit, sometimes (as your last reply now) nothing. How, for example, to close a tread?

    I understand nothing. After editing this text (as response to your previous post), the options have appeared and the text was placed on right place.

    Cordially yours

    Andre

  • "I do not use Keil packs for my SDK 14.2 project...

    I simply open an SDK example, and (generally) this works".

    The SDK examples use Keil uvision which again use Keil pack installer as it is part of the uvision IDE. Updating to SDK 15.2.0 gives you SEGGER Embedded Studio support. GCC is supported by 14.2. 

  • Thank you for answer, but I still do not understand.

    It was recommanded by Nordic to not use Keil packs since SDK 14.
    So I use only Keil IDE without packs and it works with SDK 14.2 examples.
    Only yours 1462.ble_app_beacon.zip does not work.

    If it is necessary I will install Keil packs, but it will be contrary to your recommendation...

    Cordially

    Andre

  • Hi,

    Sorry, I meant to write that SEGGER Embedded Studio is supported from SDK 14.2. You can therefore switch to that if you're not satisfied with Keil uvision. 

    Jared 

  • I really do not understand you.

    I am satisfied with Keil as IDE.

    And normally I do not need Keil packs to run SDK examples.

    It is even recommanded by Nordic, is not it?

    I would like only to understand, why it is necessary to install packs for your example.

    Cordially

    Andre

Reply Children
Related