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.
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/
no, for bluetooth there is no example code from decawave, they asked to refer nrf examples.
i will try to integrate ble example with current functionality as you told.
so if there's no code from Decawave, does it matter what SDK version you use?
means you are suggesting to use latest 17.0?
ok, i will take sdk17.0 with bluetooth example and will try to take decawave changes to this.
means you are suggesting to use latest 17.0?
I'm asking you the question!
As already stated, it is generally best to start with the current version.
But then you mentioned this Decawave business, and said v14 was used.
And then you said there was no software from Decawave - so now I'm not entirely sure what your situation is.
At the end of the day, it's your project - so you must decide (or seek advice from your boss/teachers).
means you are suggesting to use latest 17.0?
I'm asking you the question!
As already stated, it is generally best to start with the current version.
But then you mentioned this Decawave business, and said v14 was used.
And then you said there was no software from Decawave - so now I'm not entirely sure what your situation is.
At the end of the day, it's your project - so you must decide (or seek advice from your boss/teachers).