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
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
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
Dear Jared,
Thank you very much for your reply.
I am simply trying to strip unnecessary code.
My board works (advertises) well, and I use, of course, my custom board file, but without LEDS and GPIOS used by your examples...
I was talking about GPIO event handler, not about event handlers in general...
It seems, I have to use services_init() function before advertising, I do not understand why (I do not use any service). Otherwise I get run time error from also from advertising_init function.
Maybe I am wrong, I will check it once more...
Concerning error, I have copied all initialization functions from your example, so I do not understand the bug...
However, I have removed conn_params_init(), since I do not need the connection at this moment.
I would like simply to know, when such error occurs (if I plan to use connection in future).
Cordially yours
Andre
Hi,
Jared
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
Try this one:
Thank you for your simplified example...
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
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...
Thank you for your simplified example...
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
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