Hello,
can i get the simple bluetooth example code for nrf52.
thanks and regards
Varun.
Hello,
can i get the simple bluetooth example code for nrf52.
thanks and regards
Varun.
Unfortunately, Bluetooth is not simple.
The available examples are all here:
https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/examples_ble.html
Some getting started materials for you:
https://infocenter.nordicsemi.com/topic/struct_nrf5gs/struct/nrf5gs.html
https://devzone.nordicsemi.com/search?q=beginner%20getting%20started
hi awneil,
we are using sdk nRF5_SDK_14.2.0 in our project for nrf52, now we need to add bluetooth feature. so i started to take reference from example in ble_peripheral "ble_app_uart" from sdk nRF5_SDK_14.2.0_17b948a.
i started changes in existing project from sdk_config.h file
and added ble API files as below,
and ble softdevie files as below,
and header files path i added, used s132 ble softdevice path
after this changes if i compile, i am facing so many errors.
am i following the correct steps? or not?
and in code NRF_SD_BLE_API_VERSION macro value is less then 2, but i am using ble softdevice s132 version 5.0,
why like this?
am i following the correct steps to add ble?
thanks and regards
Varun.
we are using sdk nRF5_SDK_14.2.0
Why such an old version?
current is v17.0.2 !
am i following the correct steps to add ble?
I would strongly recommend that you start with an example project which already has BLE, and add your functionality to that.
Start with the unmodified example - to ensure that you can build & run it.
What IDE are you using?
actually it is decawave module which as nrf52 controller and dwm100 transreceiver.
code for this module is developed from sdk14.2, so we are using the same.
and IDE is segger embedded studio.
always helpful to mention these things at the start!
So don't Decawave provide some specific examples for their platform?
But, anyhow, I would still recommend that you start with a project which already has bluetooth.
Bluetooth is the most complicated thing - so it's best to start with something which already has that part right!
EDIT
For specific Decawave questions: https://decaforum.decawave.com/