5 years, 1 month ago.

Want to know if there is a simple example of Gap for the nRF52DK

Hello,

As I say 2 or 3 days ago, there is too much "deprecated" functions in the "ble API" and no recent example to refer to the last version.

Is there SIMPLE example of code who is working ? ( just an Gap Advertising with an 128bits UUID and a device name)!

Thanks for helping

Jiemde

1 Answer

5 years, 1 month ago.

Have you checked these examples? https://github.com/ARMmbed/mbed-os-example-ble

Hi Kentaro, Thanks for your reply. Have already see those examples but due to my very, very small experience in C++ this is too complicate to focus on the Advertising part of it. If you have an example with only the Advertising side, that could make my happiness. Thanks for your help.

Jiemde

posted by Jean-marie Defraine 14 Nov 2019

The examples are already very very simple. I suggest looking at BLE_LED and BLE_GAPButton examples. Compile and run it as it is to make sure it works. Then, study the codes and lean how it works.

posted by Kentaro Okuda 15 Nov 2019

Hi Kentaro, After spending a lot of hours of trying to find a solution for my simple Gap advertising with a 128bit uuid I'm very disappointed about the helping of Mbed. Also, I had loading all the examples on Github, but none are working! ( Internal error ). So please give me a working example with a 128bit uuid because none of theGithub example has this feature. Hope you understand my SOS. Best regards, Jiemde I know that I'm

posted by Jean-marie Defraine 21 Nov 2019