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
  • All your examples use LED/button interface, it was a main reason I asked you for a simpler one...

    Really, is it impossible for you to give a simple example with a minimum code (without LEDS & buttons handlers) ?

    The error 03 (internal error) is from  ble_conn_params_init(). Fortunately I do not need it, for instant...

    Could you confirm that the following code sequence is sufficient for advertising?

    The functions are from https://github.com/NordicPlayground/nrf51-ble-tutorial-advertising/blob/master/nrf52-ble-tutorial-advertising/main.c

                    ble_stack_init();                    
                    gap_params_init();                
                    gatt_init();
                    advertising_init();
                    // Start execution
                    advertising_start();

    Cordially

    Andre

  • Thank you for your simplified example... Relaxed

    I will try it

    Cordially

    Andre

    I said it too quickly, alas...

    Unfortunately I cannot run your example.

    Keil asks for software packs, even if I use the arm5_no_packs version. I cannot understand it at all...

    What have I to do in such case? What version have I to use?

    What does it mean: INSTALL missing Software Packs?

    Where to put files (what files) and where have I to set there paths?

    As you can see on screenshot, the both files are at correct place in project tree: 
    D:\Nordic_ble_app_beacon\pca10040e\s112\arm5_no_packs\RTE\Device\nRF52810_xxAA

    Obviously, the compiler does not see them...

    How to edit paths for project files? There is no such option in project items manager Frowning2

    Unfortunately, when I try to INSTALL packs as asked by Keil, the installer try to modify my default Keil configuration (not only the project).

    I do not understand it at all, because I can build and run my current project using 52810 device without any additional installs of soft packs...

    Anyway, the installer could not install packs (Keil site error when trying to download files)

    I'm really very sorry to bother you all the time, believe me...

    Simply, I am very, very frustrated, least thing takes hours, days or weeks and I have non-stop to ask questions to your development (support) team.

    Why it is impossible to get some SIMPLE and working examples????

    For me, your IDE (Keil) is too complicated and really incomprehensible, but I do not want to change it once more... Before now, I used several IDE, among others Visual Studio & Microchip IDE...

  • Hi,

    The pack installer in Keil uvision requires you to update software packs. The update should install the missing files itself once allowed. If you're using a newer version of the SDK you have the option to use SES or gcc. Visual studio, and Microchip IDE is not officially supported. Question regarding Keil uvision should be asked here

    Best regards

    Jared 

  • 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

Related